diff options
author | Mavridis Philippe <[email protected]> | 2023-08-05 15:50:55 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-12 14:01:03 +0900 |
commit | 83e74d1e550db6a814ec252968b601f6a9b14f9b (patch) | |
tree | f5b58985811f820f89cdb2564711ce04a744af37 /twin/clients/modernsystem/modernsys.cpp | |
parent | 42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff) | |
download | tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip |
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'twin/clients/modernsystem/modernsys.cpp')
-rw-r--r-- | twin/clients/modernsystem/modernsys.cpp | 10 |
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); } } |