summaryrefslogtreecommitdiffstats
path: root/libkdepim/csshelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/csshelper.h')
-rw-r--r--libkdepim/csshelper.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/libkdepim/csshelper.h b/libkdepim/csshelper.h
index 93b8fc8d8..87455cd13 100644
--- a/libkdepim/csshelper.h
+++ b/libkdepim/csshelper.h
@@ -32,9 +32,9 @@
#ifndef KPIM_CSSHELPER_H
#define KPIM_CSSHELPER_H
-#include <qcolor.h>
-#include <qfont.h>
-#include <qpaintdevicemetrics.h>
+#include <tqcolor.h>
+#include <tqfont.h>
+#include <tqpaintdevicemetrics.h>
class QString;
@@ -46,26 +46,26 @@ class CSSHelper {
default values.
Sub-Classes should put their config loading here.
*/
- CSSHelper( const QPaintDeviceMetrics &pdm );
+ CSSHelper( const TQPaintDeviceMetrics &pdm );
/** @return HTML head including style sheet definitions and the
&gt;body&lt; tag */
- QString htmlHead( bool fixedFont = false ) const;
+ TQString htmlHead( bool fixedFont = false ) const;
/** @return The collected CSS definitions as a string */
- QString cssDefinitions( bool fixedFont = false ) const;
+ TQString cssDefinitions( bool fixedFont = false ) const;
/** @return a &lt;div&gt; start tag with embedded style
information suitable for quoted text with quote level @p level */
- QString quoteFontTag( int level ) const;
+ TQString quoteFontTag( int level ) const;
/** @return a &lt;div&gt; start tag with embedded style
information suitable for non-quoted text */
- QString nonQuotedFontTag() const;
+ TQString nonQuotedFontTag() const;
- QFont bodyFont( bool fixedFont = false, bool printing = false ) const;
+ TQFont bodyFont( bool fixedFont = false, bool printing = false ) const;
- void setBodyFont( const QFont& font );
- void setPrintFont( const QFont& font );
+ void setBodyFont( const TQFont& font );
+ void setPrintFont( const TQFont& font );
protected:
/** Recalculate PGP frame and body colors (should be called after changing
@@ -73,34 +73,34 @@ class CSSHelper {
void recalculatePGPColors();
protected:
- QFont mBodyFont, mPrintFont, mFixedFont, mFixedPrintFont;
- QFont mQuoteFont[3];
- QColor mQuoteColor[3];
+ TQFont mBodyFont, mPrintFont, mFixedFont, mFixedPrintFont;
+ TQFont mQuoteFont[3];
+ TQColor mQuoteColor[3];
bool mRecycleQuoteColors;
bool mBackingPixmapOn;
bool mShrinkQuotes;
- QString mBackingPixmapStr;
- QColor mForegroundColor, mLinkColor, mVisitedLinkColor, mBackgroundColor;
+ TQString mBackingPixmapStr;
+ TQColor mForegroundColor, mLinkColor, mVisitedLinkColor, mBackgroundColor;
// colors for PGP (Frame, Header, Body)
- QColor cPgpOk1F, cPgpOk1H, cPgpOk1B,
+ TQColor cPgpOk1F, cPgpOk1H, cPgpOk1B,
cPgpOk0F, cPgpOk0H, cPgpOk0B,
cPgpWarnF, cPgpWarnH, cPgpWarnB,
cPgpErrF, cPgpErrH, cPgpErrB,
cPgpEncrF, cPgpEncrH, cPgpEncrB;
// color of frame of warning preceding the source of HTML messages
- QColor cHtmlWarning;
+ TQColor cHtmlWarning;
private:
int fontSize( bool fixed, bool print = false ) const;
// returns CSS rules specific to the print media type
- QString printCssDefinitions( bool fixed ) const;
+ TQString printCssDefinitions( bool fixed ) const;
// returns CSS rules specific to the screen media type
- QString screenCssDefinitions( const CSSHelper * helper, bool fixed ) const;
+ TQString screenCssDefinitions( const CSSHelper * helper, bool fixed ) const;
// returns CSS rules common to both screen and print media types
- QString commonCssDefinitions() const;
+ TQString commonCssDefinitions() const;
private:
- const QPaintDeviceMetrics mMetrics;
+ const TQPaintDeviceMetrics mMetrics;
};