summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vselectnodestool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vselectnodestool.cc')
-rw-r--r--karbon/tools/vselectnodestool.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/karbon/tools/vselectnodestool.cc b/karbon/tools/vselectnodestool.cc
index 4d1511ce..747357de 100644
--- a/karbon/tools/vselectnodestool.cc
+++ b/karbon/tools/vselectnodestool.cc
@@ -63,7 +63,7 @@ VSelectNodesTool::activate()
view()->part()->document().selection()->setSelectObjects( false );
// deselect all nodes
view()->part()->document().selection()->selectNodes( false );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
VTool::activate();
}
@@ -141,7 +141,7 @@ VSelectNodesTool::mouseButtonPress()
recalc();
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
view()->part()->document().selection()->setState( VObject::selected );
VSelection* selection = view()->part()->document().selection();
@@ -228,7 +228,7 @@ VSelectNodesTool::rightMouseButtonPress()
recalc();
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
view()->part()->document().selection()->setState( VObject::selected );
draw();
@@ -259,7 +259,7 @@ VSelectNodesTool::keyReleased( TQt::Key key )
}
if( view() )
- view()->tqrepaintAll( selection->boundingBox() );
+ view()->repaintAll( selection->boundingBox() );
return true;
}
@@ -280,7 +280,7 @@ VSelectNodesTool::mouseButtonRelease()
selection->append( selrect.normalize(), false, true );
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
@@ -297,7 +297,7 @@ VSelectNodesTool::rightMouseButtonRelease()
selection->take( selrect.normalize(), false, false );
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
@@ -368,7 +368,7 @@ VSelectNodesTool::mouseDragRelease()
false, false );
}
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
}
@@ -381,7 +381,7 @@ VSelectNodesTool::cancel()
{
draw();
m_state = normal;
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}