printstyle.h
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:152
virtual TQString description() const =0
Overload this method to provide a one-liner description for your print style.
The class PrintStyle implements the abstract interface to the PrintingWizards style objects.
Definition: printstyle.h:61
bool setPreview(const TQString &fileName)
Load the preview image from the kaddressbook data directory.
Definition: printstyle.cpp:54
TDEABC::Field * preferredSortField()
Returns the preferred sort criterion field.
Definition: printstyle.cpp:111
void addPage(TQWidget *page, const TQString &title)
Add additional page to the wizard e.g.
Definition: printstyle.cpp:77
const TQPixmap & preview()
Reimplement this method to provide a preview of what will be printed.
Definition: printstyle.cpp:44
virtual void print(const TDEABC::Addressee::List &contacts, PrintProgress *)=0
Reimplement this method to actually print.
void setPreferredSortOptions(TDEABC::Field *field, bool ascending=true)
Set preferred sort options for this printing style.
Definition: printstyle.cpp:105
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
Definition: printingwizard.h:51