summaryrefslogtreecommitdiffstats
path: root/kscd/ledlamp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kscd/ledlamp.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscd/ledlamp.cpp')
-rw-r--r--kscd/ledlamp.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kscd/ledlamp.cpp b/kscd/ledlamp.cpp
index bfaa5c4e..96675921 100644
--- a/kscd/ledlamp.cpp
+++ b/kscd/ledlamp.cpp
@@ -19,14 +19,14 @@
#include <stdio.h>
-#include <qpainter.h>
-#include <qbrush.h>
-#include <qpen.h>
-#include <qcolor.h>
+#include <tqpainter.h>
+#include <tqbrush.h>
+#include <tqpen.h>
+#include <tqcolor.h>
#include "ledlamp.h"
#include "ledlamp.moc"
-LedLamp::LedLamp(QWidget *parent, Type t) : QFrame(parent),
+LedLamp::LedLamp(TQWidget *parent, Type t) : TQFrame(parent),
w( 10 ), h( 7 ), dx( 4 )
{
// Make sure we're in a sane state
@@ -39,15 +39,15 @@ LedLamp::LedLamp(QWidget *parent, Type t) : QFrame(parent),
} // LedLamp
void
-LedLamp::drawContents(QPainter *painter)
+LedLamp::drawContents(TQPainter *painter)
{
- QBrush lightBrush(this->foregroundColor());
- QBrush darkBrush(this->backgroundColor());
+ TQBrush lightBrush(this->foregroundColor());
+ TQBrush darkBrush(this->backgroundColor());
- QPen darkPen(this->backgroundColor(),1);
- QPen lightPen(this->foregroundColor(), 1);
+ TQPen darkPen(this->backgroundColor(),1);
+ TQPen lightPen(this->foregroundColor(), 1);
switch(s)
{