25 #ifndef PRINTINGWIZARD_H
26 #define PRINTINGWIZARD_H
28 #include <tqptrlist.h>
29 #include <tqstringlist.h>
33 #include "common/filter.h"
34 #include "tdeabc/addressbook.h"
35 #include "printstyle.h"
37 #include "selectionpage.h"
38 #include "stylepage.h"
44 namespace KABPrinting {
60 TDEABC::AddressBook* ab,
61 const TQStringList& selection,
62 TQWidget *parent = 0, const char *name = 0 );
93 TQPtrList<PrintStyleFactory> mStyleFactories;
94 TQPtrList<PrintStyle> mStyleList;
95 Filter::List mFilters;
97 TDEABC::AddressBook *mAddressBook;
98 TQStringList mSelection;
101 StylePage *mStylePage;
102 SelectionPage *mSelectionPage;
The class PrintStyle implements the abstract interface to the PrintingWizards style objects.
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
TDEABC::AddressBook * addressBook() Retrieve the document object.
void print() Perform the actual printing.
void accept() Overloaded accept slot.
void registerStyles() Modify this method to add a new PrintStyle.
KPrinter * printer() Retrieve the printer to be used.
PrintingWizard(KPrinter *printer, TDEABC::AddressBook *ab, const TQStringList &selection, TQWidget *parent=0, const char *name=0) Construct a printing wizard.
void slotStyleSelected(int) A print style has been selected.
|