summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpatterntool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vpatterntool.cc')
-rw-r--r--karbon/tools/vpatterntool.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cc
index 1856672f7..d522652c7 100644
--- a/karbon/tools/vpatterntool.cc
+++ b/karbon/tools/vpatterntool.cc
@@ -300,12 +300,12 @@ VPatternTool::mouseButtonPress()
m_current = first();
// set the apropriate editing state
- if( m_origin.tqcontains( m_current ) )
+ if( m_origin.contains( m_current ) )
{
m_state = moveOrigin;
m_fixed = m_vector.center();
}
- else if( m_vector.tqcontains( m_current ) )
+ else if( m_vector.contains( m_current ) )
{
m_state = moveVector;
m_fixed = m_origin.center();
@@ -472,7 +472,7 @@ VPatternTool::setCursor() const
if( !view() ) return;
// set a different cursor if mouse is inside the handle rects
- if( m_origin.tqcontains( last() ) || m_vector.tqcontains( last() ) )
+ if( m_origin.contains( last() ) || m_vector.contains( last() ) )
view()->setCursor( TQCursor( TQt::SizeAllCursor ) );
else
view()->setCursor( TQCursor( TQt::arrowCursor ) );