diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:48:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:40:38 +0900 |
commit | c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf (patch) | |
tree | b3315369fc4a83faa3679957c98da185b285baa3 /kig/modes/macro.cpp | |
parent | c407c4552feb9568ca2aef8c42288e30b7d0f034 (diff) | |
download | tdeedu-c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf.tar.gz tdeedu-c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f08f58fdc18573fbdf637e872a0a4646be58628c)
Diffstat (limited to 'kig/modes/macro.cpp')
-rw-r--r-- | kig/modes/macro.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/modes/macro.cpp b/kig/modes/macro.cpp index 8fe16b4d..35315b26 100644 --- a/kig/modes/macro.cpp +++ b/kig/modes/macro.cpp @@ -167,7 +167,7 @@ void DefineMacroMode::dragRect( const TQPoint& p, KigWidget& w ) std::vector<ObjectHolder*>* objs = mwizard->currentPage() == mwizard->mpgiven ? &mgiven : &mfinal; DragRectMode dm( p, mdoc, w ); mdoc.runMode( &dm ); - KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.stillPix), mdoc.document() ); + KigPainter pter( w.screenInfo(), &w.stillPix, mdoc.document() ); if ( ! dm.cancelled() ) { std::vector<ObjectHolder*> ret = dm.ret(); @@ -196,7 +196,7 @@ void DefineMacroMode::leftClickedObject( ObjectHolder* o, const TQPoint&, if ( isselected ) objs->erase( iter ); else objs->push_back( o ); - KigPainter p( w.screenInfo(), TQT_TQPAINTDEVICE(&w.stillPix), mdoc.document() ); + KigPainter p( w.screenInfo(), &w.stillPix, mdoc.document() ); p.drawObject( o, !isselected ); w.updateCurPix( p.overlay() ); w.updateWidget(); @@ -224,7 +224,7 @@ void DefineMacroMode::mouseMoved( const std::vector<ObjectHolder*>& os, const TQ // statusbar text mdoc.emitStatusBarText( selectstat ); - KigPainter p( w.screenInfo(), TQT_TQPAINTDEVICE(&w.curPix), mdoc.document() ); + KigPainter p( w.screenInfo(), &w.curPix, mdoc.document() ); // set the text next to the arrow cursor TQPoint point = pt; |