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

QPageSize::PageSizeId KReportPageSize::defaultSize ( )
Returns
the default format (based on the default printer)

Definition at line 94 of file KReportPageSize.cpp.

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

Definition at line 85 of file KReportPageSize.cpp.

QStringList KReportPageSize::pageFormatNames ( )
Returns
list of translated names of all the available formats

Definition at line 76 of file KReportPageSize.cpp.

QPageSize::PageSizeId KReportPageSize::pageSize ( const QString key)
Returns
the page size Id for the given key

Definition at line 114 of file KReportPageSize.cpp.

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-2020 The KDE developers.
Generated on Wed Sep 23 2020 23:07:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.