kaddressbook

KABPrinting::PrintStyleFactory Class Referenceabstract

#include <printstyle.h>

Inherited by KABPrinting::DetailledPrintStyleFactory, and KABPrinting::MikesStyleFactory.

Public Member Functions

 PrintStyleFactory (PrintingWizard *parent, const char *name=0)
 
virtual PrintStylecreate () const =0
 
virtual TQString description () const =0
 

Protected Attributes

PrintingWizardmParent
 
const char * mName
 

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 151 of file printstyle.h.

Constructor & Destructor Documentation

◆ PrintStyleFactory()

PrintStyleFactory::PrintStyleFactory ( PrintingWizard parent,
const char *  name = 0 
)

Definition at line 121 of file printstyle.cpp.

◆ ~PrintStyleFactory()

PrintStyleFactory::~PrintStyleFactory ( )
virtual

Definition at line 126 of file printstyle.cpp.

Member Function Documentation

◆ description()

virtual TQString KABPrinting::PrintStyleFactory::description ( ) const
pure virtual

Overload this method to provide a one-liner description for your print style.

Member Data Documentation

◆ mName

const char* KABPrinting::PrintStyleFactory::mName
protected

Definition at line 167 of file printstyle.h.

◆ mParent

PrintingWizard* KABPrinting::PrintStyleFactory::mParent
protected

Definition at line 166 of file printstyle.h.


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