summaryrefslogtreecommitdiffstats
path: root/tdefx/kdrawutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdefx/kdrawutil.cpp')
-rw-r--r--tdefx/kdrawutil.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdefx/kdrawutil.cpp b/tdefx/kdrawutil.cpp
index 0610865cb..de5946087 100644
--- a/tdefx/kdrawutil.cpp
+++ b/tdefx/kdrawutil.cpp
@@ -27,13 +27,13 @@ TDEFX_EXPORT void kDrawNextButton(TQPainter *p, int x, int y, int w, int h,
int y2 = y+h-1;
p->fillRect(x+1, y+1, w-2, h-2,
fill ? *fill : g.brush(TQColorGroup::Button));
- p->setPen(sunken ? Qt::black : g.light());
+ p->setPen(sunken ? TQt::black : g.light());
p->drawLine(x, y, x2-1, y);
p->drawLine(x, y, x, y2-1);
p->setPen(sunken ? g.midlight() : g.mid());
p->drawLine(x+1, y2-1, x2-1, y2-1);
p->drawLine(x2-1, y+1, x2-1, y2-1);
- p->setPen(sunken ? g.light() : Qt::black);
+ p->setPen(sunken ? g.light() : TQt::black);
p->drawLine(x, y2, x2, y2);
p->drawLine(x2, y, x2, y2);
p->setPen(oldPen);
@@ -161,10 +161,10 @@ TDEFX_EXPORT void kDrawRoundMask(TQPainter *p, int x, int y, int w, int h, bool
3,1,3,2,3,3,3,4,3,0,4,1,4,2,4,3,4,4,4 };
if(clear)
- p->fillRect(x, y, w, h, TQBrush(Qt::color0, Qt::SolidPattern));
+ p->fillRect(x, y, w, h, TQBrush(TQt::color0, TQt::SolidPattern));
- TQBrush fillBrush(Qt::color1, Qt::SolidPattern);
- p->setPen(Qt::color1);
+ TQBrush fillBrush(TQt::color1, TQt::SolidPattern);
+ p->setPen(TQt::color1);
if(w > 16 && h > 16){
int x2 = x+w-1;
int y2 = y+h-1;
@@ -223,7 +223,7 @@ TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int
blackColor, whiteColor};
TQColor colors[]={g.light(), g.mid(), g.midlight(), g.dark(),
- Qt::black, Qt::white};
+ TQt::black, TQt::white};
int i;
for(i=0; i < 6; ++i){
@@ -246,7 +246,7 @@ TDEFX_EXPORT void kColorBitmaps(TQPainter *p, const TQColorGroup &g, int x, int
blackColor, whiteColor};
TQColor colors[]={g.light(), g.mid(), g.midlight(), g.dark(),
- Qt::black, Qt::white};
+ TQt::black, TQt::white};
int i;
TQBitmap b;