24 #ifndef DETAILLEDSTYLE_H
25 #define DETAILLEDSTYLE_H
27 #include <tdeabc/addressee.h>
29 #include "printstyle.h"
30 #include "kabentrypainter.h"
34 namespace KABPrinting {
36 class DetailledPrintStyle : public PrintStyle
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;
58 class DetailledPrintStyleFactory : public PrintStyleFactory
61 DetailledPrintStyleFactory( PrintingWizard *parent, const char *name = 0 );
63 PrintStyle *create() const;
64 TQString description() const;
|