diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmcompositeobject.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmcompositeobject.h')
-rw-r--r-- | kpovmodeler/pmcompositeobject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmcompositeobject.h b/kpovmodeler/pmcompositeobject.h index 350180db..0d7ae6df 100644 --- a/kpovmodeler/pmcompositeobject.h +++ b/kpovmodeler/pmcompositeobject.h @@ -44,12 +44,12 @@ public: */ PMCompositeObject( const PMCompositeObject& o ); /** - * Deletes the object and all children. + * Deletes the object and all tqchildren. */ virtual ~PMCompositeObject( ); /** */ - virtual PMMetaObject* metaObject( ) const; + virtual PMMetaObject* tqmetaObject( ) const; /** */ virtual void cleanUp( ) const; @@ -65,13 +65,13 @@ public: * Returns a pointer to the child object at position index, * or null if the index is out of range. */ - virtual PMObject* childAt( uint index ) const; + virtual PMObject* tqchildAt( uint index ) const; /** * Returns true if the object contains the child object o */ virtual bool containsChild( PMObject* o ) const - { return ( ( PMObject* )this == o->parent( ) ); } + { return ( ( PMObject* )this == o->tqparent( ) ); } /** * Returns the index of the object or -1 if not found */ @@ -96,7 +96,7 @@ public: */ virtual bool appendChild( PMObject* ); /** - * Returns the number of children. + * Returns the number of tqchildren. */ virtual int countChildren( ) const; /** @@ -135,7 +135,7 @@ public: protected: /** * Adds num to the number of selected objects in this object and all - * parent objects. num can be negative. + * tqparent objects. num can be negative. */ virtual void adjustSelectedChildren( int num ); |