KABPrinting::PrintingWizard Class Reference
The PrintingWizard combines pages common for all print styles and those provided by the respective style. More...
#include <printingwizard.h>
Inherits KWizard.
Public Member Functions
- PrintingWizard (KPrinter *printer, KABC::AddressBook *ab, const QStringList &selection, QWidget *parent=0, const char *name=0)
- void registerStyles ()
- void print ()
- KABC::AddressBook * addressBook ()
- KPrinter * printer ()
Protected Slots
- void slotStyleSelected (int)
Protected Member Functions
- void accept ()
Protected Attributes
- QPtrList< PrintStyleFactory > mStyleFactories
- QPtrList< PrintStyle > mStyleList
- Filter::List mFilters
- KPrinter * mPrinter
- KABC::AddressBook * mAddressBook
- QStringList 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.
Constructor & Destructor Documentation
|
Construct a printing wizard. Give the addressbook instance to print. |
Member Function Documentation
|
Modify this method to add a new PrintStyle.
|
|
Perform the actual printing.
|
|
Retrieve the document object.
|
|
Retrieve the printer to be used.
|
|
A print style has been selected. The argument is the index in the cbStyle combo and in styles. |
|
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). |
The documentation for this class was generated from the following files:
- printingwizard.h
- printingwizard.cpp