diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /blinken/src/counter.cpp | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'blinken/src/counter.cpp')
-rw-r--r-- | blinken/src/counter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/blinken/src/counter.cpp b/blinken/src/counter.cpp index 6d5ec217..93c55109 100644 --- a/blinken/src/counter.cpp +++ b/blinken/src/counter.cpp @@ -7,18 +7,18 @@ * (at your option) any later version. * ***************************************************************************/ -#include <qcolor.h> -#include <qpainter.h> +#include <tqcolor.h> +#include <tqpainter.h> #include "counter.h" #include "number.h" -void counter::paint(QPainter &p, bool drawScore, int score, bool drawTimer, const QColor &c1, const QColor &c2, const QColor &c3) +void counter::paint(TQPainter &p, bool drawScore, int score, bool drawTimer, const TQColor &c1, const TQColor &c2, const TQColor &c3) { p.save(); p.translate(45, 15); - p.setPen(QPen(Qt::black, 3)); - p.setBrush(QColor(40, 40, 40)); + p.setPen(TQPen(Qt::black, 3)); + p.setBrush(TQColor(40, 40, 40)); if (drawTimer) { p.fillRect(-44, -13, 98, 48, p.brush()); |