summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmaddcommand.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kpovmodeler/pmaddcommand.cpp
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmaddcommand.cpp')
-rw-r--r--kpovmodeler/pmaddcommand.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmaddcommand.cpp b/kpovmodeler/pmaddcommand.cpp
index 5b258312..2eb78126 100644
--- a/kpovmodeler/pmaddcommand.cpp
+++ b/kpovmodeler/pmaddcommand.cpp
@@ -26,11 +26,11 @@
#include <klocale.h>
-PMAddCommand::PMAddCommand( PMObject* obj, PMObject* tqparent, PMObject* after )
+PMAddCommand::PMAddCommand( PMObject* obj, PMObject* parent, PMObject* after )
: PMCommand( i18n( "Add New %1" ).tqarg( obj->description( ) ) )
{
m_objects.append( obj );
- m_pParent = tqparent;
+ m_pParent = parent;
m_pAfter = after;
m_executed = false;
m_firstExecution = true;
@@ -38,12 +38,12 @@ PMAddCommand::PMAddCommand( PMObject* obj, PMObject* tqparent, PMObject* after )
m_pParentChangeMemento = 0;
}
-PMAddCommand::PMAddCommand( const PMObjectList& list, PMObject* tqparent,
+PMAddCommand::PMAddCommand( const PMObjectList& list, PMObject* parent,
PMObject* after )
: PMCommand( i18n( "Add Objects" ) )
{
m_objects = list;
- m_pParent = tqparent;
+ m_pParent = parent;
m_pAfter = after;
m_executed = false;
m_firstExecution = true;
@@ -116,8 +116,8 @@ void PMAddCommand::execute( PMCommandManager* theManager )
for( ; links.current( ); ++links )
{
PMObject* l = links.current( );
- if( l->tqparent( ) )
- l->tqparent( )->takeChild( l );
+ if( l->parent( ) )
+ l->parent( )->takeChild( l );
else
m_objects.removeRef( l );
m_insertErrors.append( l );
@@ -204,8 +204,8 @@ void PMAddCommand::undo( PMCommandManager* theManager )
// signal has to be emitted before the item is removed
theManager->cmdObjectChanged( obj, PMCRemove );
- if( obj->tqparent( ) )
- obj->tqparent( )->takeChild( obj );
+ if( obj->parent( ) )
+ obj->parent( )->takeChild( obj );
}
if( m_pParentChangeMemento )