summaryrefslogtreecommitdiffstats
path: root/tdestyles/keramik/pixmaploader.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdestyles/keramik/pixmaploader.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdestyles/keramik/pixmaploader.cpp')
-rw-r--r--tdestyles/keramik/pixmaploader.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdestyles/keramik/pixmaploader.cpp b/tdestyles/keramik/pixmaploader.cpp
index 73d7eb8d9..b506f9300 100644
--- a/tdestyles/keramik/pixmaploader.cpp
+++ b/tdestyles/keramik/pixmaploader.cpp
@@ -316,7 +316,7 @@ void TilePainter::draw( TQPainter *p, int x, int y, int width, int height, const
{
if (mode == PaintTrivialMask)
{
- p->fillRect(x, y, width, height, Qt::color1);
+ p->fillRect(x, y, width, height, TQt::color1);
return;
}
@@ -425,12 +425,12 @@ void TilePainter::draw( TQPainter *p, int x, int y, int width, int height, const
const TQBitmap* mask = scale( col, row, w, h, color, bg, disabled, false ).mask();
if (mask)
{
- p->setBackgroundColor(Qt::color0);
- p->setPen(Qt::color1);
+ p->setBackgroundColor(TQt::color0);
+ p->setPen(TQt::color1);
p->drawTiledPixmap( xpos, ypos, realW, realH, *mask);
}
else
- p->fillRect ( xpos, ypos, realW, realH, Qt::color1);
+ p->fillRect ( xpos, ypos, realW, realH, TQt::color1);
}
}
else
@@ -445,12 +445,12 @@ void TilePainter::draw( TQPainter *p, int x, int y, int width, int height, const
const TQBitmap* mask = tile( col, row, color, bg, disabled, false ).mask();
if (mask)
{
- p->setBackgroundColor(Qt::color0);
- p->setPen(Qt::color1);
+ p->setBackgroundColor(TQt::color0);
+ p->setPen(TQt::color1);
p->drawTiledPixmap( xpos, ypos, realW, realH, *mask);
}
else
- p->fillRect ( xpos, ypos, realW, realH, Qt::color1);
+ p->fillRect ( xpos, ypos, realW, realH, TQt::color1);
}
}