summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_canvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:19:15 +0900
commitfb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch)
tree58fbd21cd52695207154b1b40d0c9d0f53db19b1 /kivio/kiviopart/kivio_canvas.cpp
parentd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff)
downloadkoffice-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 'kivio/kiviopart/kivio_canvas.cpp')
-rw-r--r--kivio/kiviopart/kivio_canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivio_canvas.cpp b/kivio/kiviopart/kivio_canvas.cpp
index e6a192fee..89695d241 100644
--- a/kivio/kiviopart/kivio_canvas.cpp
+++ b/kivio/kiviopart/kivio_canvas.cpp
@@ -331,7 +331,7 @@ void KivioCanvas::paintEvent( TQPaintEvent* ev )
// Draw content
KivioScreenPainter kpainter;
- kpainter.start(TQT_TQPAINTDEVICE(m_buffer));
+ kpainter.start(m_buffer);
kpainter.translateBy(-m_iXOffset + m_pageOffsetX, -m_iYOffset + m_pageOffsetY);
m_pDoc->paintContent(kpainter, paintRect, false, page, TQPoint(0, 0), m_pView->zoomHandler(), showConnectorTargets(), true);
kpainter.stop();
@@ -706,7 +706,7 @@ void KivioCanvas::beginUnclippedSpawnerPainter()
unclippedSpawnerPainter = new KivioScreenPainter();
// Tell it to start (allocates a Qpainter object)
- unclippedSpawnerPainter->start(TQT_TQPAINTDEVICE(this));
+ unclippedSpawnerPainter->start(this);
// Uhhhhh??
if( !unclipped )