KReportPageSize
KReportPageSize Namespace Reference
Functions | |
KREPORT_EXPORT QPageSize::PageSizeId | defaultSize () |
KREPORT_EXPORT QStringList | pageFormatKeys () |
KREPORT_EXPORT QStringList | pageFormatNames () |
KREPORT_EXPORT QPageSize::PageSizeId | pageSize (const QString &key) |
KREPORT_EXPORT QString | pageSizeKey (QPageSize::PageSizeId id) |
Detailed Description
Handle the page sizes we support in reports.
A group of helper functions and definitions of the page sizes we support in KReport.
We don't support all the sizes supported by Qt, so here we provide a list of supported sizes and translatable descriptions, with helper functions to switch between QString and QPageSizeId
Function Documentation
◆ defaultSize()
QPageSize::PageSizeId KReportPageSize::defaultSize | ( | ) |
- Returns
- the default format (based on the default printer)
Definition at line 94 of file KReportPageSize.cpp.
◆ pageFormatKeys()
QStringList KReportPageSize::pageFormatKeys | ( | ) |
- Returns
- list of non-translated names of all the available formats
Definition at line 85 of file KReportPageSize.cpp.
◆ pageFormatNames()
QStringList KReportPageSize::pageFormatNames | ( | ) |
- Returns
- list of translated names of all the available formats
Definition at line 76 of file KReportPageSize.cpp.
◆ pageSize()
QPageSize::PageSizeId KReportPageSize::pageSize | ( | const QString & | key | ) |
- Returns
- the page size Id for the given key
Definition at line 114 of file KReportPageSize.cpp.
◆ pageSizeKey()
QString KReportPageSize::pageSizeKey | ( | QPageSize::PageSizeId | id | ) |
- Returns
- the page size string for the given Id
Definition at line 104 of file KReportPageSize.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.