• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

pagesize.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by Pino Toscano <pino@kde.org>                     *
00003  *                                                                         *
00004  *   This program is free software; you can redistribute it and/or modify  *
00005  *   it under the terms of the GNU General Public License as published by  *
00006  *   the Free Software Foundation; either version 2 of the License, or     *
00007  *   (at your option) any later version.                                   *
00008  ***************************************************************************/
00009 
00010 #ifndef _OKULAR_PAGESIZE_H_
00011 #define _OKULAR_PAGESIZE_H_
00012 
00013 #include <QtCore/QList>
00014 #include <QtCore/QSharedDataPointer>
00015 #include <QtCore/QString>
00016 
00017 #include <okular/core/okular_export.h>
00018 
00019 namespace Okular {
00020 
00021 class PageSizePrivate;
00022 
00026 class OKULAR_EXPORT PageSize
00027 {
00028     public:
00029         typedef QList<PageSize> List;
00030 
00035         PageSize();
00040         PageSize( double width, double height, const QString &name );
00044         PageSize( const PageSize &pageSize );
00045         ~PageSize();
00046 
00050         double width() const;
00054         double height() const;
00058         QString name() const;
00059 
00063         bool isNull() const;
00064 
00065         PageSize& operator=( const PageSize &pageSize );
00066 
00070         bool operator==( const PageSize &pageSize ) const;
00071 
00072         bool operator!=( const PageSize &pageSize ) const;
00073 
00074     private:
00076         friend class PageSizePrivate;
00078         QSharedDataPointer<PageSizePrivate> d;
00079 };
00080 
00081 }
00082 
00083 #endif

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal