summaryrefslogtreecommitdiffstats
path: root/tdefx/kdrawutil.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdefx/kdrawutil.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;