diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-04 14:19:15 +0900 |
commit | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch) | |
tree | 58fbd21cd52695207154b1b40d0c9d0f53db19b1 /kexi/kexiutils/utils.cpp | |
parent | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff) | |
download | koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/kexiutils/utils.cpp')
-rw-r--r-- | kexi/kexiutils/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index 4a0d5489..9d794242 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -300,7 +300,7 @@ void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect, } pixmapBuffer.convertFromImage(img); if (!fast) { - p2.begin(TQT_TQPAINTDEVICE(&pixmapBuffer), p.device()); + p2.begin(&pixmapBuffer, p.device()); } else target->drawPixmap(pos, pixmapBuffer); @@ -308,7 +308,7 @@ void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect, else { if (!fast) { pixmapBuffer.resize(rect.size()-TQSize(lineWidth, lineWidth)); - p2.begin(TQT_TQPAINTDEVICE(&pixmapBuffer), p.device()); + p2.begin(&pixmapBuffer, p.device()); p2.drawPixmap(TQRect(rect.x(), rect.y(), w, h), pixmap); } else |