• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

KABPrinting::PrintingWizard

KABPrinting::PrintingWizard Class Reference

#include <printingwizard.h>

Inheritance diagram for KABPrinting::PrintingWizard:

Inheritance graph
[legend]

List of all members.


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

Retrieve the document object.

Definition at line 134 of file printingwizard.cpp.

void PrintingWizard::print (  ) 

Perform the actual printing.

Definition at line 144 of file printingwizard.cpp.

QPrinter * PrintingWizard::printer (  ) 

Retrieve the printer to be used.

Definition at line 139 of file printingwizard.cpp.

void PrintingWizard::registerStyles (  ) 

Modify this method to add a new PrintStyle.

Definition at line 91 of file printingwizard.cpp.

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.

QList<PrintStyleFactory*> KABPrinting::PrintingWizard::mStyleFactories [protected]

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:
  • printingwizard.h
  • printingwizard.cpp

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal