32 #ifndef KPIM_CSSHELPER_H 33 #define KPIM_CSSHELPER_H 37 #include <tqpaintdevicemetrics.h> 49 CSSHelper( const TQPaintDeviceMetrics &pdm ); 53 TQString htmlHead( bool fixedFont = false ) const; 56 TQString cssDefinitions( bool fixedFont = false ) const; 60 TQString quoteFontTag( int level ) const; 63 TQString nonQuotedFontTag() const; 65 TQFont bodyFont( bool fixedFont = false, bool printing = false ) const; 67 void setBodyFont( const TQFont& font ); 68 void setPrintFont( const TQFont& font ); 70 TQColor pgpWarnColor() const; 75 void recalculatePGPColors(); 78 TQFont mBodyFont, mPrintFont, mFixedFont, mFixedPrintFont; 80 TQColor mQuoteColor[3]; 81 bool mRecycleQuoteColors; 82 bool mBackingPixmapOn; 84 TQString mBackingPixmapStr; 85 TQColor mForegroundColor, mLinkColor, mVisitedLinkColor, mBackgroundColor; 87 TQColor cPgpOk1F, cPgpOk1H, cPgpOk1B, 88 cPgpOk0F, cPgpOk0H, cPgpOk0B, 89 cPgpWarnF, cPgpWarnH, cPgpWarnB, 90 cPgpErrF, cPgpErrH, cPgpErrB, 91 cPgpEncrF, cPgpEncrH, cPgpEncrB; 96 int fontSize( bool fixed, bool print = false ) const; 98 TQString printCssDefinitions( bool fixed ) const; 100 TQString screenCssDefinitions( const CSSHelper * helper, bool fixed ) const; 102 TQString commonCssDefinitions() const; 105 const TQPaintDeviceMetrics mMetrics; 111 #endif // KPIM_CSSHELPER_H TDEPIM classes for drag and drop of mails.
|