From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/tests/kcolortest.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdeui/tests/kcolortest.cpp') 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 #include #include -#include +#include 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(); -- cgit v1.2.1