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

okular

  • sources
  • kde-4.12
  • kdegraphics
  • okular
  • core
pagesize.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef _OKULAR_PAGESIZE_H_
11 #define _OKULAR_PAGESIZE_H_
12 
13 #include <QtCore/QList>
14 #include <QtCore/QSharedDataPointer>
15 #include <QtCore/QString>
16 
17 #include "okular_export.h"
18 
19 namespace Okular {
20 
21 class PageSizePrivate;
22 
26 class OKULAR_EXPORT PageSize
27 {
28  public:
29  typedef QList<PageSize> List;
30 
35  PageSize();
40  PageSize( double width, double height, const QString &name );
44  PageSize( const PageSize &pageSize );
45  ~PageSize();
46 
50  double width() const;
54  double height() const;
58  QString name() const;
59 
63  bool isNull() const;
64 
65  PageSize& operator=( const PageSize &pageSize );
66 
70  bool operator==( const PageSize &pageSize ) const;
71 
72  bool operator!=( const PageSize &pageSize ) const;
73 
74  private:
76  friend class PageSizePrivate;
78  QSharedDataPointer<PageSizePrivate> d;
79 };
80 
81 }
82 
83 #endif
Okular::PageSize::List
QList< PageSize > List
Definition: pagesize.h:29
okular_export.h
Okular::PageSize
A small class that represents the size of a page.
Definition: pagesize.h:26
OKULAR_EXPORT
#define OKULAR_EXPORT
Definition: okular_export.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal