diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:57:27 +0900 |
commit | 3849f5c32c10eba032a6738fd47331c0fa6afe1c (patch) | |
tree | 07e4f6637c48685d71eab82a57954de5e0bf3fef /kolourpaint/pixmapfx | |
parent | 32a0eae8ca2e0fc901a389ac35eb788344d75275 (diff) | |
download | tdegraphics-3849f5c32c10eba032a6738fd47331c0fa6afe1c.tar.gz tdegraphics-3849f5c32c10eba032a6738fd47331c0fa6afe1c.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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, |