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/moving.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/moving.cpp')
-rw-r--r-- | kig/modes/moving.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/modes/moving.cpp b/kig/modes/moving.cpp index 593c7077..d7d07e89 100644 --- a/kig/modes/moving.cpp +++ b/kig/modes/moving.cpp @@ -55,13 +55,13 @@ void MovingModeBase::initScreen( const std::vector<ObjectCalcer*>& in ) std::inserter( notmovingobjs, notmovingobjs.begin() ) ); mview.clearStillPix(); - KigPainter p( mview.screenInfo(), TQT_TQPAINTDEVICE(&mview.stillPix), mdoc.document() ); + KigPainter p( mview.screenInfo(), &mview.stillPix, mdoc.document() ); p.drawGrid( mdoc.document().coordinateSystem(), mdoc.document().grid(), mdoc.document().axes() ); p.drawObjects( notmovingobjs.begin(), notmovingobjs.end(), false ); mview.updateCurPix(); - KigPainter p2( mview.screenInfo(), TQT_TQPAINTDEVICE(&mview.curPix), mdoc.document() ); + KigPainter p2( mview.screenInfo(), &mview.curPix, mdoc.document() ); p2.drawObjects( drawableset.begin(), drawableset.end(), true ); } @@ -91,7 +91,7 @@ void MovingModeBase::mouseMoved( TQMouseEvent* e, KigWidget* v ) for ( std::vector<ObjectCalcer*>::iterator i = mcalcable.begin(); i != mcalcable.end(); ++i ) ( *i )->calc( mdoc.document() ); - KigPainter p( v->screenInfo(), TQT_TQPAINTDEVICE(&v->curPix), mdoc.document() ); + KigPainter p( v->screenInfo(), &v->curPix, mdoc.document() ); // TODO: only draw the explicitly moving objects as selected, the // other ones as deselected.. Needs some support from the // subclasses.. |