diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdestyles/keramik/pixmaploader.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdestyles/keramik/pixmaploader.cpp')
-rw-r--r-- | tdestyles/keramik/pixmaploader.cpp | 14 |
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); } } |