KABPrinting::PrintingWizardImpl Class Reference
The PrintingWizard combines pages common for all print styles and those provided by the respective style. More...
#include <printingwizard.h>
Inheritance diagram for KABPrinting::PrintingWizardImpl:

Public Member Functions | |
PrintingWizardImpl (KPrinter *printer, KABC::AddressBook *doc, const QStringList &selection, QWidget *parent=0, const char *name=0) | |
Construct a printing wizard. | |
void | registerStyles () |
Modify this method to add a new PrintStyle. | |
void | print () |
Perform the actual printing. | |
KABC::AddressBook * | document () |
Retrieve the document object. | |
KPrinter * | printer () |
Retrieve the printer to be used. | |
Protected Slots | |
void | slotStyleSelected (int) |
A print style has been selected. | |
Protected Member Functions | |
void | accept () |
Overloaded accept slot. | |
Protected Attributes | |
QPtrList< PrintStyleFactory > | styleFactories |
QPtrList< PrintStyle > | mStyleList |
PrintStyle * | style |
BasicPage * | mBasicPage |
The general page. | |
QVBoxLayout * | pageLayout |
Detailed Description
The PrintingWizard combines pages common for all print styles and those provided by the respective style.
Definition at line 39 of file printingwizard.h.
Constructor & Destructor Documentation
|
Construct a printing wizard. Give the document (addressbook instance) to print. Definition at line 39 of file printingwizard.cpp. References mBasicPage, registerStyles(), and slotStyleSelected(). |
Member Function Documentation
|
Modify this method to add a new PrintStyle.
Implements KABPrinting::PrintingWizard. Definition at line 70 of file printingwizard.cpp. References QPtrList< PrintStyleFactory >::append(), QPtrList< PrintStyleFactory >::at(), QPtrList< PrintStyleFactory >::count(), and mBasicPage. Referenced by PrintingWizardImpl(). |
|
Perform the actual printing.
Implements KABPrinting::PrintingWizard. Definition at line 123 of file printingwizard.cpp. References document(), mBasicPage, and KABPrinting::PrintStyle::print(). Referenced by accept(). |
|
Retrieve the document object.
Implements KABPrinting::PrintingWizard. Definition at line 113 of file printingwizard.cpp. Referenced by print(). |
|
Retrieve the printer to be used.
Implements KABPrinting::PrintingWizard. Definition at line 118 of file printingwizard.cpp. |
|
A print style has been selected. The argument is the index in the cbStyle combo and in styles. Definition at line 82 of file printingwizard.cpp. References QPtrList< PrintStyleFactory >::at(), QPtrList< PrintStyle >::at(), QPtrList< PrintStyleFactory >::count(), KABPrinting::PrintStyleFactory::create(), KABPrinting::PrintStyleFactory::description(), KABPrinting::PrintStyle::hidePages(), QPtrList< PrintStyle >::insert(), QPixmap::isNull(), mBasicPage, KABPrinting::PrintStyle::preview(), and KABPrinting::PrintStyle::showPages(). Referenced by PrintingWizardImpl(). |
|
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 64 of file printingwizard.cpp. References print(). |
Member Data Documentation
|
The general page.
Definition at line 70 of file printingwizard.h. Referenced by print(), PrintingWizardImpl(), registerStyles(), and slotStyleSelected(). |
The documentation for this class was generated from the following files: