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/kgradienttest.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/kgradienttest.cpp')
-rw-r--r-- | kdeui/tests/kgradienttest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeui/tests/kgradienttest.cpp b/kdeui/tests/kgradienttest.cpp index 9fad0bb46..6942ca55d 100644 --- a/kdeui/tests/kgradienttest.cpp +++ b/kdeui/tests/kgradienttest.cpp @@ -1,24 +1,24 @@ #include "kgradienttest.h" #include <kapplication.h> #include <kpixmapeffect.h> -#include <qpainter.h> -#include <qdatetime.h> -#include <qstring.h> +#include <tqpainter.h> +#include <tqdatetime.h> +#include <tqstring.h> int cols = 3, rows = 3; // how many -void KGradientWidget::paintEvent(QPaintEvent */*ev*/) +void KGradientWidget::paintEvent(TQPaintEvent */*ev*/) { - QTime time; + TQTime time; int it, ft; - QString say; + TQString say; - QColor ca = Qt::black, cb = Qt::blue; + TQColor ca = Qt::black, cb = Qt::blue; int x = 0, y = 0; pix.resize(width()/cols, height()/rows); - QPainter p(this); + TQPainter p(this); p.setPen(Qt::white); // draw once, so that the benchmarking be fair :-) |