30 #include "printstyle.h" 36 class MikesStyle : public PrintStyle 42 MikesStyle( PrintingWizard *parent, const char *name ); 45 void print( const TDEABC::Addressee::List&, PrintProgress* ); 48 void doPaint( TQPainter &painter, const TDEABC::Addressee &addr, int maxHeight, 49 const TQFont &font, const TQFont &bFont ); 50 int calcHeight( const TDEABC::Addressee &addr, const TQFont &font, const TQFont &bFont); 51 void paintTagLine( TQPainter &p, const TQFont &font); 52 TQString trimString( const TQString &text, int width, TQFontMetrics &fm); 55 class MikesStyleFactory : public PrintStyleFactory 58 MikesStyleFactory( PrintingWizard *parent, const char *name = 0 ); 60 PrintStyle *create() const; 61 TQString description() const;
|