summaryrefslogtreecommitdiffstats
path: root/kscd/ledlamp.cpp
diff options
context:
space:
mode:
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)
{