summaryrefslogtreecommitdiffstats
path: root/karbon/core/vselection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vselection.cc')
-rw-r--r--karbon/core/vselection.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/core/vselection.cc b/karbon/core/vselection.cc
index 77809ac5..5a10373f 100644
--- a/karbon/core/vselection.cc
+++ b/karbon/core/vselection.cc
@@ -32,8 +32,8 @@
uint VSelection::m_handleNodeSize = 3;
-VSelection::VSelection( VObject* tqparent )
- : VObject( tqparent ), m_showhandle( true )
+VSelection::VSelection( VObject* parent )
+ : VObject( parent ), m_showhandle( true )
{
m_handleRect = new KoRect[ 10 ];
setStroke( VStroke( VColor( TQt::black ) ) );
@@ -90,7 +90,7 @@ VSelection::take( const KoRect& rect, bool selectObjects, bool exclusive )
if( selectObjects )
{
VSelectObjects op( m_objects, rect, false );
- if( op.visit( *static_cast<VDocument*>( tqparent() ) ) )
+ if( op.visit( *static_cast<VDocument*>( parent() ) ) )
{
selectNodes();
success = true;
@@ -123,7 +123,7 @@ VSelection::append()
clear();
VSelectObjects op( m_objects );
- op.visit( *static_cast<VDocument*>( tqparent() ) );
+ op.visit( *static_cast<VDocument*>( parent() ) );
selectNodes();
invalidateBoundingBox();
@@ -159,7 +159,7 @@ VSelection::append( const KoRect& rect, bool selectObjects, bool exclusive )
{
//m_objects.clear();
VSelectObjects op( m_objects, rect );
- if( op.visit( *static_cast<VDocument*>( tqparent() ) ) )
+ if( op.visit( *static_cast<VDocument*>( parent() ) ) )
{
selectNodes();
success = true;