diff options
Diffstat (limited to 'karbon/tools')
-rw-r--r-- | karbon/tools/vgradienttool.cc | 8 | ||||
-rw-r--r-- | karbon/tools/vpatterntool.cc | 8 | ||||
-rw-r--r-- | karbon/tools/vrotatetool.cc | 2 | ||||
-rw-r--r-- | karbon/tools/vselectnodestool.cc | 16 | ||||
-rw-r--r-- | karbon/tools/vselecttool.cc | 16 | ||||
-rw-r--r-- | karbon/tools/vsheartool.cc | 2 | ||||
-rw-r--r-- | karbon/tools/vtexttool.cc | 12 |
7 files changed, 32 insertions, 32 deletions
diff --git a/karbon/tools/vgradienttool.cc b/karbon/tools/vgradienttool.cc index 9c7274ea..7254e835 100644 --- a/karbon/tools/vgradienttool.cc +++ b/karbon/tools/vgradienttool.cc @@ -78,7 +78,7 @@ VGradientTool::activate() connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) ); connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) ); } - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } @@ -97,7 +97,7 @@ VGradientTool::deactivate() disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) ); disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) ); } - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } @@ -511,7 +511,7 @@ VGradientTool::keyReleased( TQt::Key key ) } if( view() ) - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); return true; } @@ -520,7 +520,7 @@ void VGradientTool::targetChanged() { if( view() ) - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } #include "vgradienttool.moc" diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cc index 01dfc460..1856672f 100644 --- a/karbon/tools/vpatterntool.cc +++ b/karbon/tools/vpatterntool.cc @@ -153,7 +153,7 @@ VPatternTool::activate() connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) ); connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) ); } - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } @@ -172,7 +172,7 @@ VPatternTool::deactivate() disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) ); disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) ); } - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } @@ -494,7 +494,7 @@ VPatternTool::keyReleased( TQt::Key key ) } if( view() ) - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); return true; } @@ -503,7 +503,7 @@ void VPatternTool::targetChanged() { if( view() ) - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } #include "vpatterntool.moc" diff --git a/karbon/tools/vrotatetool.cc b/karbon/tools/vrotatetool.cc index cc0a8c73..5f39a293 100644 --- a/karbon/tools/vrotatetool.cc +++ b/karbon/tools/vrotatetool.cc @@ -117,7 +117,7 @@ VRotateTool::cancel() if ( isDragging() ) { draw(); - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } 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() ); } } diff --git a/karbon/tools/vselecttool.cc b/karbon/tools/vselecttool.cc index 0609d772..751c0ebe 100644 --- a/karbon/tools/vselecttool.cc +++ b/karbon/tools/vselecttool.cc @@ -91,7 +91,7 @@ VSelectTool::activate() view()->part()->document().selection()->setSelectObjects(); view()->part()->document().selection()->setState( VObject::selected ); view()->part()->document().selection()->selectNodes(); - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); updateStatusBar(); } @@ -190,7 +190,7 @@ VSelectTool::mouseButtonPress() // undraw selection bounding box view()->part()->document().selection()->setState( VObject::edit ); - view()->tqrepaintAll( rect ); + view()->repaintAll( rect ); view()->part()->document().selection()->setState( VObject::selected ); draw(); @@ -208,7 +208,7 @@ VSelectTool::rightMouseButtonPress() // undraw selection bounding box 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(); @@ -238,7 +238,7 @@ VSelectTool::rightMouseButtonRelease() if( selector.visit( view()->part()->document() ) ) view()->part()->document().selection()->take( *newSelection.last() ); - view()->part()->tqrepaintAllViews( view()->part()->document().selection()->boundingBox() ); + view()->part()->repaintAllViews( view()->part()->document().selection()->boundingBox() ); view()->selectionChanged(); updateStatusBar(); @@ -300,7 +300,7 @@ VSelectTool::mouseButtonRelease() view()->part()->document().selection()->append( newSelection.last() ); } - view()->part()->tqrepaintAllViews( view()->part()->document().selection()->boundingBox() ); + view()->part()->repaintAllViews( view()->part()->document().selection()->boundingBox() ); view()->selectionChanged(); updateStatusBar(); @@ -322,7 +322,7 @@ VSelectTool::mouseDragRelease() view()->part()->document().selection()->append( selRect ); else view()->part()->document().selection()->take( selRect ); - view()->part()->tqrepaintAllViews( selRect ); + view()->part()->repaintAllViews( selRect ); } else if( m_state == moving ) { @@ -399,7 +399,7 @@ VSelectTool::keyReleased( TQt::Key key ) } if( view() ) - view()->tqrepaintAll( selection->boundingBox() ); + view()->repaintAll( selection->boundingBox() ); return true; } @@ -476,7 +476,7 @@ VSelectTool::cancel() { draw(); m_state = normal; - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } diff --git a/karbon/tools/vsheartool.cc b/karbon/tools/vsheartool.cc index 59315cd8..19e11161 100644 --- a/karbon/tools/vsheartool.cc +++ b/karbon/tools/vsheartool.cc @@ -136,7 +136,7 @@ VShearTool::cancel() if ( isDragging() ) { draw(); - view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); + view()->repaintAll( view()->part()->document().selection()->boundingBox() ); } } diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc index ace6c8ce..fda8e9fe 100644 --- a/karbon/tools/vtexttool.cc +++ b/karbon/tools/vtexttool.cc @@ -657,7 +657,7 @@ void VTextTool::drawEditedText() { if( m_editedText ) - view()->tqrepaintAll( m_editedText->boundingBox() ); + view()->repaintAll( m_editedText->boundingBox() ); } void @@ -795,10 +795,10 @@ VTextTool::textChanged() { // hide the original text if we are changing it m_text->setState( VObject::hidden ); - view()->tqrepaintAll( m_text->boundingBox() ); + view()->repaintAll( m_text->boundingBox() ); } else - view()->tqrepaintAll( m_editedText->boundingBox() ); + view()->repaintAll( m_editedText->boundingBox() ); m_editedText->setText( m_optionsWidget->text() ); m_editedText->setFont( m_optionsWidget->font() ); @@ -853,7 +853,7 @@ VTextTool::accept() } view()->part()->addCommand( cmd, true ); - view()->part()->tqrepaintAllViews(); + view()->part()->repaintAllViews(); m_creating = false; } @@ -864,7 +864,7 @@ VTextTool::cancel() { // show original text if we canceled changing it m_text->setState( VObject::selected ); - view()->tqrepaintAll( m_text->boundingBox() ); + view()->repaintAll( m_text->boundingBox() ); } else drawPathCreation(); @@ -881,7 +881,7 @@ VTextTool::editBasePath() view()->part()->document().selection()->clear(); view()->part()->document().selection()->append( &m_editedText->basePath() ); - view()->part()->tqrepaintAllViews(); + view()->part()->repaintAllViews(); } void |