diff options
Diffstat (limited to 'karbon/tools/vselecttool.cc')
-rw-r--r-- | karbon/tools/vselecttool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/tools/vselecttool.cc b/karbon/tools/vselecttool.cc index 751c0ebe..e29e1afb 100644 --- a/karbon/tools/vselecttool.cc +++ b/karbon/tools/vselecttool.cc @@ -183,7 +183,7 @@ VSelectTool::mouseButtonPress() if( m_activeNode != node_none ) m_state = scaling; - else if( rect.tqcontains( m_current ) && m_state == normal ) + else if( rect.contains( m_current ) && m_state == normal ) m_state = moving; recalc(); @@ -274,7 +274,7 @@ VSelectTool::mouseButtonRelease() VObjectListIterator it( newSelection ); for( ; it.current(); ++it ) { - if( oldSelection.tqcontains( it.current() ) ) + if( oldSelection.contains( it.current() ) ) lastMatched = it.current(); } @@ -282,7 +282,7 @@ VSelectTool::mouseButtonRelease() // - none is selected // - the stack's bottom object was the last selected object if( lastMatched && lastMatched != newSelection.first() ) - view()->part()->document().selection()->append( newSelection.at( newSelection.tqfind( lastMatched )-1 ) ); + view()->part()->document().selection()->append( newSelection.at( newSelection.find( lastMatched )-1 ) ); else view()->part()->document().selection()->append( newSelection.last() ); } |