kaddressbook
grantleeprintstyle.cpp
Go to the documentation of this file.
72 GrantleeStyleFactory::GrantleeStyleFactory( const QString &name,const QString &themePath, PrintingWizard *parent )
GrantleeStyleFactory(const QString &name, const QString &themePath, PrintingWizard *parent)
Definition: grantleeprintstyle.cpp:72
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
Definition: printingwizard.h:55
QString fileName() const
bool exists() const
void setPreferredSortOptions(ContactFields::Field, Qt::SortOrder sortOrder=Qt::AscendingOrder)
Sets the preferred sort options for this printing style.
Definition: printstyle.cpp:112
QChar separator()
GrantleePrintStyle(const QString &themePath, PrintingWizard *parent)
Definition: grantleeprintstyle.cpp:38
bool setPreview(const QString &fileName)
Loads the preview image from the kaddressbook data directory.
Definition: printstyle.cpp:56
The abstract interface to the PrintingWizards style objects.
Definition: printstyle.h:67
Definition: contactfields.h:36
PrintStyle * create() const
Definition: grantleeprintstyle.cpp:79
PrintingWizard * wizard() const
Returns the printing wizard that is responsible for this style.
Definition: printstyle.cpp:75
QString description() const
Overload this method to provide a one-liner description for your print style.
Definition: grantleeprintstyle.cpp:84
void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, Unit unit)
void print(const KABC::Addressee::List &, PrintProgress *)
This method must be reimplemented to actually print something.
Definition: grantleeprintstyle.cpp:53
This defines a simple widget to display print progress information.
Definition: printprogress.h:41
QString contactsToHtml(const KABC::Addressee::List &contacts)
Definition: grantleeprint.cpp:64
void setHtml(const QString &html)
The factories are used to have all object of the respective print style created in one place...
Definition: printstyle.h:171
~GrantleePrintStyle()
Definition: grantleeprintstyle.cpp:49
void print(QPrinter *printer) const
Definition: grantleeprint.h:31
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.