KDE PIM / Developers / API Docs / kaddressbook

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.

List of all members.

Public Member Functions

Protected Slots

Protected Member Functions

Protected Attributes


Detailed Description

The PrintingWizard combines pages common for all print styles and those provided by the respective style.


Constructor & Destructor Documentation

PrintingWizard::PrintingWizard KPrinter *  printer,
KABC::AddressBook *  ab,
const QStringList &  selection,
QWidget *  parent = 0,
const char *  name = 0
 

Construct a printing wizard.

Give the addressbook instance to print.


Member Function Documentation

void PrintingWizard::registerStyles  ) 
 

Modify this method to add a new PrintStyle.

void PrintingWizard::print  ) 
 

Perform the actual printing.

KABC::AddressBook * PrintingWizard::addressBook  ) 
 

Retrieve the document object.

KPrinter * PrintingWizard::printer  ) 
 

Retrieve the printer to be used.

void PrintingWizard::slotStyleSelected int   )  [protected, slot]
 

A print style has been selected.

The argument is the index in the cbStyle combo and in styles.

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).


The documentation for this class was generated from the following files: