diff options
author | Mavridis Philippe <[email protected]> | 2023-08-05 15:50:55 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-12 14:04:38 +0900 |
commit | 7c193f33d78ab79d2811a60c5190abdc1fa95c03 (patch) | |
tree | f15093c66ef5e1802772891b74ee7f9c3479e54a /twin/clients/redmond/redmond.cpp | |
parent | 8a662b46fa97c2686b639ed9429e1850dcb91c9c (diff) | |
download | tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.tar.gz tdebase-7c193f33d78ab79d2811a60c5190abdc1fa95c03.zip |
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
Diffstat (limited to 'twin/clients/redmond/redmond.cpp')
-rw-r--r-- | twin/clients/redmond/redmond.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/clients/redmond/redmond.cpp b/twin/clients/redmond/redmond.cpp index c59cd48d1..6deddeaee 100644 --- a/twin/clients/redmond/redmond.cpp +++ b/twin/clients/redmond/redmond.cpp @@ -210,9 +210,9 @@ static void create_pixmaps () // Make sure button pixmaps contrast with the current colour scheme. if (tqGray(options()->color(KDecoration::ColorButtonBg, true).rgb()) > 127) - btnForeground = new TQColor(Qt::black); + btnForeground = new TQColor(TQt::black); else - btnForeground = new TQColor(Qt::white); + btnForeground = new TQColor(TQt::white); } void delete_pixmaps() @@ -283,7 +283,7 @@ void RedmondButton::setBitmap(const unsigned char *bitmap) deco = TQBitmap(10, 10, bitmap, true); else { deco = TQBitmap(10,10); - deco.fill(Qt::color0); + deco.fill(TQt::color0); } deco.setMask(deco); } @@ -556,7 +556,7 @@ void RedmondDeco::paintEvent( TQPaintEvent* ) TQImage image = KImageEffect::gradient(titleBuffer->size(), c1, c2, KImageEffect::HorizontalGradient); - titleBuffer->convertFromImage(image, Qt::OrderedDither); + titleBuffer->convertFromImage(image, TQt::OrderedDither); } TQPainter p2( titleBuffer, this ); |