diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2023-08-05 15:50:55 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 14:01:03 +0900 |
commit | 83e74d1e550db6a814ec252968b601f6a9b14f9b (patch) | |
tree | f5b58985811f820f89cdb2564711ce04a744af37 /twin/clients/modernsystem | |
parent | 42f97b681bd0a2bab49875cbcae5cacef4dfa7c2 (diff) | |
download | tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.tar.gz tdebase-83e74d1e550db6a814ec252968b601f6a9b14f9b.zip |
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin/clients/modernsystem')
-rw-r--r-- | twin/clients/modernsystem/config/config.cpp | 2 | ||||
-rw-r--r-- | twin/clients/modernsystem/modernsys.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/twin/clients/modernsystem/config/config.cpp b/twin/clients/modernsystem/config/config.cpp index 18d6870f7..4512203c4 100644 --- a/twin/clients/modernsystem/config/config.cpp +++ b/twin/clients/modernsystem/config/config.cpp @@ -47,7 +47,7 @@ ModernSysConfig::ModernSysConfig(TDEConfig* conf, TQWidget* parent) : TQObject(p connect(cbShowHandle, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectionChanged())); sliderBox = new TQVBox(handleBox); - handleSizeSlider = new TQSlider(0, 4, 1, 0, Qt::Horizontal, sliderBox); + handleSizeSlider = new TQSlider(0, 4, 1, 0, TQt::Horizontal, sliderBox); TQWhatsThis::add(handleSizeSlider, i18n("Here you can change the size of the resize handle.")); handleSizeSlider->setTickInterval(1); 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); } } |