24#ifndef DETAILLEDSTYLE_H
25#define DETAILLEDSTYLE_H
27#include <tdeabc/addressee.h>
29#include "printstyle.h"
30#include "kabentrypainter.h"
34namespace KABPrinting {
42 DetailledPrintStyle( PrintingWizard *parent, const char *name = 0 );
43 ~DetailledPrintStyle();
45 void print( const TDEABC::Addressee::List &contacts, PrintProgress* );
48 bool printEntries( const TDEABC::Addressee::List &contacts, KPrinter *printer,
49 TQPainter *painter, const TQRect &window );
50 bool printEntry( const TDEABC::Addressee &contact, const TQRect &window,
51 TQPainter *painter, int top, bool fake, TQRect *brect );
53 AppearancePage *mPageAppearance;
54 KABEntryPainter *mPainter;
55 PrintProgress *mPrintProgress;
61 DetailledPrintStyleFactory( PrintingWizard *parent, const char *name = 0 );
63 PrintStyle *create() const;
The factories are used to have all object of the respective print style created in one place.
virtual TQString description() const =0 Overload this method to provide a one-liner description for your print style.
The class PrintStyle implements the abstract interface to the PrintingWizards style objects.
|