kaddressbook
printingwizard.cpp
Go to the documentation of this file.
137 const QString themeInfoFile = dirIt.filePath() + QDir::separator() + QLatin1String("theme.desktop");
int printingStyle() const
Returns the index of the selected style.
Definition: printingwizard.cpp:208
Definition: stylepage.h:37
QList< PrintStyle * > mStyleList
Definition: printingwizard.h:115
void setDefaultAddressBook(const Akonadi::Collection &addressBook)
Sets the default addressbook.
Definition: contactselectionwidget.cpp:67
virtual PrintStyle * create() const =0
void setDefaultAddressBook(const Akonadi::Collection &addressBook)
Sets the default addressbook of the contact selection.
Definition: printingwizard.cpp:108
KABC::Addressee::List selectedContacts() const
Returns the list of selected contacts.
Definition: contactselectionwidget.cpp:72
Definition: contactsorter.h:26
virtual QString description() const =0
Overload this method to provide a one-liner description for your print style.
Qt::SortOrder preferredSortOrder() const
Returns the preferred order that shall be used for sorting.
Definition: printstyle.cpp:123
QList< PrintStyleFactory * > mStyleFactories
Definition: printingwizard.h:114
void setMessageText(const QString &message)
Sets the message text.
Definition: contactselectionwidget.cpp:62
A widget to select a group of contacts.
Definition: contactselectionwidget.h:42
void hidePages()
Hides all style specific pages in the printing wizard.
Definition: printstyle.cpp:105
Definition: mikesstyle.h:47
virtual void print(const KABC::Addressee::List &contacts, PrintProgress *progress)=0
This method must be reimplemented to actually print something.
ContactSelectionWidget * mSelectionPage
Definition: printingwizard.h:121
void setSortField(ContactFields::Field field)
Set the sort criterion field.
Definition: stylepage.cpp:82
void sort(QList< KABC::Addressee > &contacts) const
Definition: contactsorter.cpp:85
ContactFields::Field sortField() const
Returns the sort criterion field.
Definition: stylepage.cpp:96
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
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
PrintingWizard(QPrinter *printer, QItemSelectionModel *selectionModel, QWidget *parent=0)
Creates a new printing wizard.
Definition: printingwizard.cpp:55
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-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.