summaryrefslogtreecommitdiffstats
path: root/kolourpaint/patches/checkerboard-faster-render.diff
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:35:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 18:07:15 +0900
commitf8a7bcd4607ef9201d346c0b7fdab69460bf5125 (patch)
treeddf60eb0b4039d467b04b36a6972510c9acf5690 /kolourpaint/patches/checkerboard-faster-render.diff
parent5b01906be78f84a3b0caa599aff14723ad356ca4 (diff)
downloadtdegraphics-f8a7bcd4607ef9201d346c0b7fdab69460bf5125.tar.gz
tdegraphics-f8a7bcd4607ef9201d346c0b7fdab69460bf5125.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f38a284617689a1364f9cbebb78cf637da0d2c9d)
Diffstat (limited to 'kolourpaint/patches/checkerboard-faster-render.diff')
-rw-r--r--kolourpaint/patches/checkerboard-faster-render.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/kolourpaint/patches/checkerboard-faster-render.diff b/kolourpaint/patches/checkerboard-faster-render.diff
index 8c9c6402..ed75fb0a 100644
--- a/kolourpaint/patches/checkerboard-faster-render.diff
+++ b/kolourpaint/patches/checkerboard-faster-render.diff
@@ -34,14 +34,14 @@ QPainter::fillRect(). QPainter::drawPixmap() seems much faster. For
+ {
+ for (int x = 0; x < rep; x++)
+ {
-+ QColor col;
++ TQColor col;
+
+ if ((parityAsInt + x + y) % 2)
+ {
+ if (!isPreview)
-+ col = QColor (213, 213, 213);
++ col = TQColor (213, 213, 213);
+ else
-+ col = QColor (224, 224, 224);
++ col = TQColor (224, 224, 224);
+ }
+ else
+ col = Qt::white;