#include <printingwizard.h>
Inherits KWizard.
Public Member Functions | |
PrintingWizard (KPrinter *printer, TDEABC::AddressBook *ab, const TQStringList &selection, TQWidget *parent=0, const char *name=0) | |
void | registerStyles () |
void | print () |
TDEABC::AddressBook * | addressBook () |
KPrinter * | printer () |
Protected Slots | |
void | slotStyleSelected (int) |
Protected Member Functions | |
void | accept () |
Protected Attributes | |
TQPtrList< PrintStyleFactory > | mStyleFactories |
TQPtrList< PrintStyle > | mStyleList |
Filter::List | mFilters |
KPrinter * | mPrinter |
TDEABC::AddressBook * | mAddressBook |
TQStringList | mSelection |
PrintStyle * | mStyle |
StylePage * | mStylePage |
SelectionPage * | mSelectionPage |
Detailed Description
The PrintingWizard combines pages common for all print styles and those provided by the respective style.
Definition at line 50 of file printingwizard.h.
Constructor & Destructor Documentation
◆ PrintingWizard()
PrintingWizard::PrintingWizard | ( | KPrinter * | printer, |
TDEABC::AddressBook * | ab, | ||
const TQStringList & | selection, | ||
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Construct a printing wizard.
Give the addressbook instance to print.
Definition at line 55 of file printingwizard.cpp.
Member Function Documentation
◆ accept()
|
protected |
Overloaded accept slot.
This is used to do the actual printing without having the wizard disappearing before. What happens is actually up to the print style, since it does the printing. It could display a progress window, for example (hint, hint).
Definition at line 91 of file printingwizard.cpp.
◆ addressBook()
TDEABC::AddressBook * PrintingWizard::addressBook | ( | ) |
Retrieve the document object.
Definition at line 140 of file printingwizard.cpp.
◆ print()
void PrintingWizard::print | ( | ) |
Perform the actual printing.
Definition at line 150 of file printingwizard.cpp.
◆ printer()
KPrinter * PrintingWizard::printer | ( | ) |
Retrieve the printer to be used.
Definition at line 145 of file printingwizard.cpp.
◆ registerStyles()
void PrintingWizard::registerStyles | ( | ) |
Modify this method to add a new PrintStyle.
Definition at line 97 of file printingwizard.cpp.
◆ slotStyleSelected
|
protectedslot |
A print style has been selected.
The argument is the index in the cbStyle combo and in styles.
Definition at line 107 of file printingwizard.cpp.
The documentation for this class was generated from the following files: