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 /kdeui/tests/kcolortest.cpp | |
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 'kdeui/tests/kcolortest.cpp')
-rw-r--r-- | kdeui/tests/kcolortest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeui/tests/kcolortest.cpp b/kdeui/tests/kcolortest.cpp index c4dd5892b..d4a5c2625 100644 --- a/kdeui/tests/kcolortest.cpp +++ b/kdeui/tests/kcolortest.cpp @@ -3,25 +3,25 @@ #include <kapplication.h> #include <kimageeffect.h> #include <stdio.h> -#include <qdatetime.h> +#include <tqdatetime.h> bool fullscreen = false, oldway = false, intvsfade = false; int max = 20; // how many steps -KColorWidget::KColorWidget(QWidget *parent, const char *name) - : QWidget(parent, name) +KColorWidget::KColorWidget(TQWidget *parent, const char *name) + : TQWidget(parent, name) { if (fullscreen || intvsfade) { - QPixmap shot = QPixmap::grabWindow(QApplication::desktop()->winId()); + TQPixmap shot = TQPixmap::grabWindow(TQApplication::desktop()->winId()); original = shot.convertToImage(); } else - original = QImage("testimage.png"); + original = TQImage("testimage.png"); resize(original.width(), original.height()); } -void KColorWidget::paintEvent(QPaintEvent *) +void KColorWidget::paintEvent(TQPaintEvent *) { if(!pixmap.isNull()) bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(), @@ -33,7 +33,7 @@ void KColorWidget::doIntensityLoop() int count; int start, stop; - QTime t; + TQTime t; t.start(); |