summaryrefslogtreecommitdiffstats
path: root/twin/clients/modernsystem/modernsys.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-08-05 15:50:55 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 14:04:38 +0900
commit7c193f33d78ab79d2811a60c5190abdc1fa95c03 (patch)
treef15093c66ef5e1802772891b74ee7f9c3479e54a /twin/clients/modernsystem/modernsys.cpp
parent8a662b46fa97c2686b639ed9429e1850dcb91c9c (diff)
downloadtdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.tar.gz
tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.zip
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
Diffstat (limited to 'twin/clients/modernsystem/modernsys.cpp')
-rw-r--r--twin/clients/modernsystem/modernsys.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/clients/modernsystem/modernsys.cpp b/twin/clients/modernsystem/modernsys.cpp
index f2d31ed11..94615b190 100644
--- a/twin/clients/modernsystem/modernsys.cpp
+++ b/twin/clients/modernsystem/modernsys.cpp
@@ -185,9 +185,9 @@ static void create_pixmaps()
if(tqGray(btnColor.background().rgb()) < 150)
- buttonFg = new TQColor(Qt::white);
+ buttonFg = new TQColor(TQt::white);
else
- buttonFg = new TQColor(Qt::black);
+ buttonFg = new TQColor(TQt::black);
delete lcDark1;
delete lcDark2;
@@ -342,7 +342,7 @@ void ModernButton::setBitmap(const unsigned char *bitmap)
deco = TQBitmap(8, 8, bitmap, true);
else {
deco = TQBitmap(8,8);
- deco.fill(Qt::color0);
+ deco.fill(TQt::color0);
}
deco.setMask(deco);
}
@@ -631,7 +631,7 @@ void ModernSys::paintEvent( TQPaintEvent* )
p.drawLine(width()-hw, height()-hs-1, width()-4, height()-hs-1);
p.drawLine(width()-hs-1, height()-hw, width()-hs-1, height()-4);
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
p.drawRect(0, 0, w, h);
// handle outline
@@ -640,7 +640,7 @@ void ModernSys::paintEvent( TQPaintEvent* )
p.drawLine(width()-hs, height()-2, width()-2, height()-2);
p.drawLine(width()-hs, height()-hw, width()-hs, height()-2);
} else {
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
p.drawRect(0, 0, w, h);
}
}