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

okular

Okular::PageSize

Okular::PageSize Class Reference

#include <pagesize.h>

List of all members.


Detailed Description

A small class that represents the size of a page.

Definition at line 26 of file pagesize.h.


Public Types

typedef QList< PageSize > List

Public Member Functions

 PageSize ()
 PageSize (double width, double height, const QString &name)
 PageSize (const PageSize &pageSize)
 ~PageSize ()
double width () const
double height () const
QString name () const
bool isNull () const
PageSize & operator= (const PageSize &pageSize)
bool operator== (const PageSize &pageSize) const
bool operator!= (const PageSize &pageSize) const

Member Typedef Documentation

typedef QList<PageSize> Okular::PageSize::List

Definition at line 29 of file pagesize.h.


Constructor & Destructor Documentation

PageSize::PageSize (  ) 

Construct a null page size.

See also:
isNull()

Definition at line 37 of file pagesize.cpp.

PageSize::PageSize ( double  width,
double  height,
const QString &  name 
)

Construct a page size with the specified width and height, having the ID name.

Definition at line 41 of file pagesize.cpp.

PageSize::PageSize ( const PageSize &  pageSize  ) 

Copy constructor.

Definition at line 49 of file pagesize.cpp.

PageSize::~PageSize (  ) 

Definition at line 54 of file pagesize.cpp.


Member Function Documentation

double PageSize::width (  )  const

Returns the width of the page size.

Definition at line 58 of file pagesize.cpp.

double PageSize::height (  )  const

Returns the height of the page size.

Definition at line 66 of file pagesize.cpp.

QString PageSize::name (  )  const

Returns the ID of the page size.

Definition at line 74 of file pagesize.cpp.

bool PageSize::isNull (  )  const

Whether the page size is null.

Definition at line 82 of file pagesize.cpp.

PageSize & PageSize::operator= ( const PageSize &  pageSize  ) 

Definition at line 108 of file pagesize.cpp.

bool PageSize::operator== ( const PageSize &  pageSize  )  const

Comparison operator.

Definition at line 90 of file pagesize.cpp.

bool PageSize::operator!= ( const PageSize &  pageSize  )  const

Definition at line 103 of file pagesize.cpp.


The documentation for this class was generated from the following files:
  • pagesize.h
  • pagesize.cpp

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