kaddressbook
mikesstyle.cpp
Go to the documentation of this file.
73 const QString pageBreak = ( ( counter % 2 ) ? QLatin1String("page-break-after: always;" ): QString() );
75 content += QLatin1String(" <table style=\"border-width: 0px; ") + pageBreak + QLatin1String("\" width=\"100%\">\n");
QString description() const
Overload this method to provide a one-liner description for your print style.
Definition: mikesstyle.cpp:153
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
Definition: printingwizard.h:55
Definition: mikesstyle.h:36
void setPreferredSortOptions(ContactFields::Field, Qt::SortOrder sortOrder=Qt::AscendingOrder)
Sets the preferred sort options for this printing style.
Definition: printstyle.cpp:112
void print(const KABC::Addressee::List &, PrintProgress *)
This method must be reimplemented to actually print something.
Definition: mikesstyle.cpp:124
bool setPreview(const QString &fileName)
Loads the preview image from the kaddressbook data directory.
Definition: printstyle.cpp:56
MikesStyleFactory(PrintingWizard *parent)
Definition: mikesstyle.cpp:143
The abstract interface to the PrintingWizards style objects.
Definition: printstyle.h:67
static QString contactsToHtml(const KABC::Addressee::List &contacts)
Definition: mikesstyle.cpp:42
Definition: contactfields.h:36
static QString label(Field field)
Returns the i18n label for the field.
Definition: contactfields.cpp:25
PrintingWizard * wizard() const
Returns the printing wizard that is responsible for this style.
Definition: printstyle.cpp:75
static QString value(Field field, const KABC::Addressee &contact)
Returns the value for the field of the contact.
Definition: contactfields.cpp:480
This defines a simple widget to display print progress information.
Definition: printprogress.h:41
The factories are used to have all object of the respective print style created in one place...
Definition: printstyle.h:171
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.