summaryrefslogtreecommitdiffstats
path: root/kig/modes/construct_mode.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 22:54:07 +0900
commitf08f58fdc18573fbdf637e872a0a4646be58628c (patch)
tree32f6f2b36cfb27b11ed74eafef1933fc3fddf3bd /kig/modes/construct_mode.cpp
parent82c5609d05e453863a10f1d77a925dc1c7abdd31 (diff)
downloadtdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.tar.gz
tdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kig/modes/construct_mode.cpp')
-rw-r--r--kig/modes/construct_mode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/modes/construct_mode.cpp b/kig/modes/construct_mode.cpp
index 02bb98fc..cc07c78a 100644
--- a/kig/modes/construct_mode.cpp
+++ b/kig/modes/construct_mode.cpp
@@ -182,7 +182,7 @@ void BaseConstructMode::mouseMoved( const std::vector<ObjectHolder*>& os, const
mdoc.emitStatusBarText( selectStatement( getCalcers( mparents ), w ) );
w.updateCurPix();
- KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.curPix), mdoc.document() );
+ KigPainter pter( w.screenInfo(), &w.curPix, mdoc.document() );
Coordinate ncoord = w.fromScreen( p );
if ( shiftpressed )
@@ -330,7 +330,7 @@ void PointConstructMode::mouseMoved(
bool shiftpressed )
{
w.updateCurPix();
- KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.curPix), mdoc.document() );
+ KigPainter pter( w.screenInfo(), &w.curPix, mdoc.document() );
Coordinate ncoord = w.fromScreen( p );
if ( shiftpressed )
@@ -529,7 +529,7 @@ void TestConstructMode::mouseMoved( const std::vector<ObjectHolder*>& os, const
w.setCursor( KCursor::blankCursor() );
w.updateCurPix();
- KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.curPix), mdoc.document() );
+ KigPainter pter( w.screenInfo(), &w.curPix, mdoc.document() );
TQPoint qloc = p + TQPoint( -40, 0 );
Coordinate loc = w.fromScreen( qloc );