21 bool operator==(
const PageSizePrivate &rhs)
const
23 return m_width == rhs.m_width && m_height == rhs.m_height && m_name == rhs.m_name;
36 : d(new PageSizePrivate)
85 return d->m_width == 0 && d->m_height == 0 && d->m_name.isEmpty();
100 return *d == *pageSize.d;
103bool PageSize::operator!=(
const PageSize &pageSize)
const
110 if (
this == &pageSize) {
A small class that represents the size of a page.
double width() const
Returns the width of the page size.
QString name() const
Returns the ID of the page size.
double height() const
Returns the height of the page size.
bool isNull() const
Whether the page size is null.
PageSize()
Construct a null page size.
bool operator==(const PageSize &pageSize) const
Comparison operator.
KREPORT_EXPORT QPageSize::PageSizeId pageSize(const QString &key)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.