diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:48:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:58:00 +0900 |
commit | c9e40417ac00954826c50f8f6579639255c46476 (patch) | |
tree | 09214c65532ed685a0f1ead2dbb36da3536a9986 /kolourpaint/pixmapfx | |
parent | 1fe6cb7fd446f44bb4d5d6074708c066eb1620b2 (diff) | |
download | tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.tar.gz tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3849f5c32c10eba032a6738fd47331c0fa6afe1c)
Diffstat (limited to 'kolourpaint/pixmapfx')
-rw-r--r-- | kolourpaint/pixmapfx/kppixmapfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kolourpaint/pixmapfx/kppixmapfx.cpp b/kolourpaint/pixmapfx/kppixmapfx.cpp index ac5fca44..cbc69b1d 100644 --- a/kolourpaint/pixmapfx/kppixmapfx.cpp +++ b/kolourpaint/pixmapfx/kppixmapfx.cpp @@ -694,9 +694,9 @@ void kpPixmapFX::setPixmapAt (TQPixmap *destPixmapPtr, const TQRect &destRect, 0, 0, destRect.width (), destRect.height ()); #else - bitBlt (TQT_TQPAINTDEVICE(destPixmapPtr), + bitBlt (destPixmapPtr, destRect.x (), destRect.y (), - TQT_TQPAINTDEVICE(const_cast<TQPixmap*>(&srcPixmap)), + const_cast<TQPixmap*>(&srcPixmap), 0, 0, destRect.width (), destRect.height (), TQt::CopyROP, @@ -705,9 +705,9 @@ void kpPixmapFX::setPixmapAt (TQPixmap *destPixmapPtr, const TQRect &destRect, if (srcPixmap.mask ()) { TQBitmap mask = getNonNullMask (*destPixmapPtr); - bitBlt (TQT_TQPAINTDEVICE(&mask), + bitBlt (&mask, destRect.x (), destRect.y (), - TQT_TQPAINTDEVICE(const_cast<TQBitmap*>(srcPixmap.mask ())), + const_cast<TQBitmap*>(srcPixmap.mask ()), 0, 0, destRect.width (), destRect.height (), TQt::CopyROP, |