kaddressbook
printstyle.cpp
Go to the documentation of this file.
60 const QString path = KStandardDirs::locate( "data", QLatin1String("kaddressbook/printing/") + fileName );
PrintStyleFactory(PrintingWizard *parent)
Definition: printstyle.cpp:128
virtual ~PrintStyleFactory()
Definition: printstyle.cpp:133
iterator insert(const Key &key, const T &value)
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
Definition: printingwizard.h:55
void setPreferredSortOptions(ContactFields::Field, Qt::SortOrder sortOrder=Qt::AscendingOrder)
Sets the preferred sort options for this printing style.
Definition: printstyle.cpp:112
void addPage(QWidget *page, const QString &title)
Adds an additional page to the printing wizard, e.g.
Definition: printstyle.cpp:80
int indexOf(const T &value, int from) const
bool setPreview(const QString &fileName)
Loads the preview image from the kaddressbook data directory.
Definition: printstyle.cpp:56
Qt::SortOrder preferredSortOrder() const
Returns the preferred order that shall be used for sorting.
Definition: printstyle.cpp:123
void append(const T &value)
void hidePages()
Hides all style specific pages in the printing wizard.
Definition: printstyle.cpp:105
bool isEmpty() const
bool load(const QString &fileName, const char *format, QFlags< Qt::ImageConversionFlag > flags)
PrintingWizard * wizard() const
Returns the printing wizard that is responsible for this style.
Definition: printstyle.cpp:75
const QPixmap & preview() const
This method should be reimplemented to provide a preview of what the printed page will look like...
Definition: printstyle.cpp:46
Field
Describes the standard fields that are available for every contact.
Definition: contactfields.h:33
Definition: contactfields.h:38
ContactFields::Field preferredSortField() const
Returns the preferred contact field that shall be used for sorting.
Definition: printstyle.cpp:118
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.