diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmobject.h | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pmobject.h')
-rw-r--r-- | kpovmodeler/pmobject.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmobject.h b/kpovmodeler/pmobject.h index 3f454ab5..3bffb7d3 100644 --- a/kpovmodeler/pmobject.h +++ b/kpovmodeler/pmobject.h @@ -54,7 +54,7 @@ typedef TQPtrListIterator<PMObject> PMObjectListIterator; * Used pattern: Composite * * All list/child functionality is disabled in this class. Objects that - * can have children has to be inherited from @ref PMCompositeObject. + * can have tqchildren has to be inherited from @ref PMCompositeObject. */ class PMObject { @@ -69,7 +69,7 @@ public: */ PMObject( const PMObject& o ); /** - * Deletes the object and all children. + * Deletes the object and all tqchildren. */ virtual ~PMObject( ); @@ -85,7 +85,7 @@ public: /** * Returns the meta object for the class */ - virtual PMMetaObject* metaObject( ) const; + virtual PMMetaObject* tqmetaObject( ) const; /** * Returns true if the object is of type t or inherits the object @@ -157,7 +157,7 @@ public: int canInsert( const TQStringList& classes, const PMObject* after ) const; /** - * Returns true if an insert or remove operation of children will + * Returns true if an insert or remove operation of tqchildren will * change data inside this class */ virtual bool dataChangeOnInsertRemove( ) const { return false; } @@ -174,7 +174,7 @@ public: * Returns a pointer to the child object at position index, * or null if the index is out of range. */ - virtual PMObject* childAt( uint ) const { return 0; } + virtual PMObject* tqchildAt( uint ) const { return 0; } /** * Returns the next sibling of that item */ @@ -219,7 +219,7 @@ public: return false; } /** - * Returns the number of children. 0 in this class + * Returns the number of tqchildren. 0 in this class */ virtual int countChildren( ) const { return 0; } /** @@ -235,12 +235,12 @@ public: /** * Called when a child was removed. For classes that have to be informed - * when children are removed + * when tqchildren are removed */ virtual void childRemoved( PMObject* ) { }; /** * Called when a child was added. For classes that have to be informed - * when children are added + * when tqchildren are added */ virtual void childAdded( PMObject* ) { }; @@ -302,7 +302,7 @@ public: * not only this object. * * If you leave the list empty, only this object was changed. - * If you add children or other objects to the list, add this object + * If you add tqchildren or other objects to the list, add this object * to the list, too, if it was changed! * * IMPORTANT: When you change additional objects, make sure that @@ -402,7 +402,7 @@ public: */ bool isReadOnly( ) const; /** - * Makes this object read only, if yes == true. All children will + * Makes this object read only, if yes == true. All tqchildren will * be read only, too */ void setReadOnly( bool yes = true ) { m_readOnly = yes; } @@ -495,7 +495,7 @@ private: */ bool m_selected; /** - * true if this object is read only. All children will be read only, too + * true if this object is read only. All tqchildren will be read only, too */ bool m_readOnly; /** |