KReportPageSize Namespace Reference


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 ( )
the default format (based on the default printer)

Definition at line 94 of file KReportPageSize.cpp.

◆ pageFormatKeys()

QStringList KReportPageSize::pageFormatKeys ( )
list of non-translated names of all the available formats

Definition at line 85 of file KReportPageSize.cpp.

◆ pageFormatNames()

QStringList KReportPageSize::pageFormatNames ( )
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)
the page size Id for the given key

Definition at line 114 of file KReportPageSize.cpp.

◆ pageSizeKey()

QString KReportPageSize::pageSizeKey ( QPageSize::PageSizeId id)
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 Fri Jun 14 2024 11:56:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.