kaddressbook
KABPrinting::PrintingWizard Class Reference
#include <printingwizard.h>

Detailed Description
The PrintingWizard combines pages common for all print styles and those provided by the respective style.Definition at line 49 of file printingwizard.h.
Public Member Functions | |
| KABC::AddressBook * | addressBook () |
| void | print () |
| QPrinter * | printer () |
| PrintingWizard (QPrinter *printer, KABC::AddressBook *ab, const QStringList &selection, QWidget *parent=0) | |
| void | registerStyles () |
| ~PrintingWizard () | |
Protected Slots | |
| void | slotStyleSelected (int) |
Protected Member Functions | |
| void | accept () |
Protected Attributes | |
| KABC::AddressBook * | mAddressBook |
| Filter::List | mFilters |
| QPrinter * | mPrinter |
| QStringList | mSelection |
| SelectionPage * | mSelectionPage |
| PrintStyle * | mStyle |
| QList< PrintStyleFactory * > | mStyleFactories |
| QList< PrintStyle * > | mStyleList |
| StylePage * | mStylePage |
Constructor & Destructor Documentation
| PrintingWizard::PrintingWizard | ( | QPrinter * | printer, | |
| KABC::AddressBook * | ab, | |||
| const QStringList & | selection, | |||
| QWidget * | parent = 0 | |||
| ) |
Construct a printing wizard.
Give the addressbook instance to print.
Definition at line 49 of file printingwizard.cpp.
| PrintingWizard::~PrintingWizard | ( | ) |
Definition at line 81 of file printingwizard.cpp.
Member Function Documentation
| void PrintingWizard::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 85 of file printingwizard.cpp.
| KABC::AddressBook * PrintingWizard::addressBook | ( | ) |
| void PrintingWizard::print | ( | ) |
| QPrinter * PrintingWizard::printer | ( | ) |
| void PrintingWizard::registerStyles | ( | ) |
| void PrintingWizard::slotStyleSelected | ( | int | index | ) | [protected, slot] |
A print style has been selected.
The argument is the index in the cbStyle combo and in styles.
Definition at line 102 of file printingwizard.cpp.
Member Data Documentation
KABC::AddressBook* KABPrinting::PrintingWizard::mAddressBook [protected] |
Definition at line 95 of file printingwizard.h.
Filter::List KABPrinting::PrintingWizard::mFilters [protected] |
Definition at line 93 of file printingwizard.h.
QPrinter* KABPrinting::PrintingWizard::mPrinter [protected] |
Definition at line 94 of file printingwizard.h.
QStringList KABPrinting::PrintingWizard::mSelection [protected] |
Definition at line 96 of file printingwizard.h.
SelectionPage* KABPrinting::PrintingWizard::mSelectionPage [protected] |
Definition at line 100 of file printingwizard.h.
PrintStyle* KABPrinting::PrintingWizard::mStyle [protected] |
Definition at line 97 of file printingwizard.h.
Definition at line 91 of file printingwizard.h.
QList<PrintStyle*> KABPrinting::PrintingWizard::mStyleList [protected] |
Definition at line 92 of file printingwizard.h.
StylePage* KABPrinting::PrintingWizard::mStylePage [protected] |
Definition at line 99 of file printingwizard.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference