diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:35:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:35:44 +0900 |
commit | f38a284617689a1364f9cbebb78cf637da0d2c9d (patch) | |
tree | 351e3011b85ccb5a5aa863e6f6ac8fb0f2cb38fd /kolourpaint/patches/checkerboard-faster-render.diff | |
parent | fb2267e3bd060fc0f3a0f567a37213d904feacbc (diff) | |
download | tdegraphics-f38a284617689a1364f9cbebb78cf637da0d2c9d.tar.gz tdegraphics-f38a284617689a1364f9cbebb78cf637da0d2c9d.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kolourpaint/patches/checkerboard-faster-render.diff')
-rw-r--r-- | kolourpaint/patches/checkerboard-faster-render.diff | 6 |
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; |