From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- karbon/commands/vungroupcmd.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'karbon/commands/vungroupcmd.cc') diff --git a/karbon/commands/vungroupcmd.cc b/karbon/commands/vungroupcmd.cc index 314a873e..5f238898 100644 --- a/karbon/commands/vungroupcmd.cc +++ b/karbon/commands/vungroupcmd.cc @@ -53,19 +53,19 @@ VUnGroupCmd::execute() document()->selection()->append( itr.current() ); } - VGroup* parent; - if( ( parent = dynamic_cast( m_group->parent() ) ) ) + VGroup* tqparent; + if( ( tqparent = dynamic_cast( m_group->tqparent() ) ) ) { - // unregister from parent: - parent->take( *m_group ); + // unregister from tqparent: + tqparent->take( *m_group ); - // inform all objects in this group about their new parent + // inform all objects in this group about their new tqparent VObjectListIterator itr = m_group->objects(); for ( ; itr.current() ; ++itr ) { - itr.current()->invalidateBoundingBox(); - parent->append( itr.current() ); + itr.current()->tqinvalidateBoundingBox(); + tqparent->append( itr.current() ); } m_group->clear(); -- cgit v1.2.1