summaryrefslogtreecommitdiffstats
path: root/kig/modes/normal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes/normal.cpp')
-rw-r--r--kig/modes/normal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/modes/normal.cpp b/kig/modes/normal.cpp
index 9a30c213..2ca6f8b0 100644
--- a/kig/modes/normal.cpp
+++ b/kig/modes/normal.cpp
@@ -133,7 +133,7 @@ void NormalMode::dragRect( const TQPoint& p, KigWidget& w )
DragRectMode d( p, mdoc, w );
mdoc.runMode( &d );
- KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.stillPix), mdoc.document() );
+ KigPainter pter( w.screenInfo(), &w.stillPix, mdoc.document() );
if ( ! d.cancelled() )
{
@@ -174,7 +174,7 @@ void NormalMode::dragObject( const std::vector<ObjectHolder*>& oco, const TQPoin
void NormalMode::leftClickedObject( ObjectHolder* o, const TQPoint&,
KigWidget& w, bool ctrlOrShiftDown )
{
- KigPainter pter( w.screenInfo(), TQT_TQPAINTDEVICE(&w.stillPix), mdoc.document() );
+ KigPainter pter( w.screenInfo(), &w.stillPix, mdoc.document() );
if ( ! o )
{
@@ -269,7 +269,7 @@ void NormalMode::mouseMoved( const std::vector<ObjectHolder*>& os,
// statusbar text
mdoc.emitStatusBarText( stat );
- 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 = plc;