Okular::PageSize

Search for usage in LXR

Okular::PageSize Class Reference

#include <pagesize.h>

Public Types

typedef QList< PageSizeList
 

Public Member Functions

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

Detailed Description

A small class that represents the size of a page.

Definition at line 23 of file pagesize.h.

Member Typedef Documentation

◆ List

Definition at line 26 of file pagesize.h.

Constructor & Destructor Documentation

◆ PageSize() [1/3]

PageSize::PageSize ( )

Construct a null page size.

See also
isNull()

Definition at line 31 of file pagesize.cpp.

◆ PageSize() [2/3]

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 35 of file pagesize.cpp.

◆ PageSize() [3/3]

PageSize::PageSize ( const PageSize & pageSize)

Copy constructor.

Definition at line 43 of file pagesize.cpp.

◆ ~PageSize()

PageSize::~PageSize ( )

Definition at line 48 of file pagesize.cpp.

Member Function Documentation

◆ height()

double PageSize::height ( ) const

Returns the height of the page size.

Definition at line 61 of file pagesize.cpp.

◆ isNull()

bool PageSize::isNull ( ) const

Whether the page size is null.

Definition at line 79 of file pagesize.cpp.

◆ name()

QString PageSize::name ( ) const

Returns the ID of the page size.

Definition at line 70 of file pagesize.cpp.

◆ operator!=()

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

Definition at line 103 of file pagesize.cpp.

◆ operator=()

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

Definition at line 108 of file pagesize.cpp.

◆ operator==()

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

Comparison operator.

Definition at line 88 of file pagesize.cpp.

◆ width()

double PageSize::width ( ) const

Returns the width of the page size.

Definition at line 52 of file pagesize.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.