diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/misc/helper.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/misc/helper.h')
-rw-r--r-- | khtml/misc/helper.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/khtml/misc/helper.h b/khtml/misc/helper.h index 984ddfc11..4e5b0d7e8 100644 --- a/khtml/misc/helper.h +++ b/khtml/misc/helper.h @@ -22,10 +22,10 @@ #ifndef html_helper_h #define html_helper_h -#include <qcolor.h> +#include <tqcolor.h> class QPainter; -#include <qfontmetrics.h> -#include <qfont.h> +#include <tqfontmetrics.h> +#include <tqfont.h> @@ -35,11 +35,11 @@ namespace khtml const QRgb transparentColor = 0x00000000; const QRgb invertedColor = 0x00000002; - extern QPainter *printpainter; - void setPrintPainter( QPainter *printer ); + extern TQPainter *printpainter; + void setPrintPainter( TQPainter *printer ); - bool hasSufficientContrast(const QColor &c1, const QColor &c2); - QColor retrieveBackgroundColor(const RenderObject *obj); + bool hasSufficientContrast(const TQColor &c1, const TQColor &c2); + TQColor retrieveBackgroundColor(const RenderObject *obj); QRgb qRgbaFromHsla(double h, double s, double l, double a); //enumerator for findSelectionNode |