kaddressbook
KABPrinting::PrintStyleFactory Class Reference
#include <printstyle.h>
Inheritance diagram for KABPrinting::PrintStyleFactory:

Detailed Description
The factories are used to have all object of the respective print style created in one place.This will maybe be changed to a template because of its simple nature :-)
Definition at line 154 of file printstyle.h.
Public Member Functions | |
| virtual PrintStyle * | create () const =0 |
| virtual QString | description () const =0 |
| PrintStyleFactory (PrintingWizard *parent, const char *name=0) | |
| virtual | ~PrintStyleFactory () |
Protected Attributes | |
| const char * | mName |
| PrintingWizard * | mParent |
Constructor & Destructor Documentation
| PrintStyleFactory::PrintStyleFactory | ( | PrintingWizard * | parent, | |
| const char * | name = 0 | |||
| ) | [explicit] |
Definition at line 127 of file printstyle.cpp.
| PrintStyleFactory::~PrintStyleFactory | ( | ) | [virtual] |
Definition at line 132 of file printstyle.cpp.
Member Function Documentation
| virtual PrintStyle* KABPrinting::PrintStyleFactory::create | ( | ) | const [pure virtual] |
| virtual QString KABPrinting::PrintStyleFactory::description | ( | ) | const [pure virtual] |
Overload this method to provide a one-liner description for your print style.
Implemented in KABPrinting::DetailledPrintStyleFactory, KABPrinting::MikesStyleFactory, and KABPrinting::RingBinderPrintStyleFactory.
Member Data Documentation
const char* KABPrinting::PrintStyleFactory::mName [protected] |
Definition at line 170 of file printstyle.h.
PrintingWizard* KABPrinting::PrintStyleFactory::mParent [protected] |
Definition at line 169 of file printstyle.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference