summaryrefslogtreecommitdiffstats
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/item.h b/src/item.h
index af438f7..56cf426 100644
--- a/src/item.h
+++ b/src/item.h
@@ -130,7 +130,7 @@ public:
bool isRaised() const { return m_bIsRaised; }
/**
* Sets this item to the given baseZ level, and calls this function for the
- * tqchildren with baseZ incremented by one. Reinherit this function to set
+ * children with baseZ incremented by one. Reinherit this function to set
* the Z of attached stuff (such as nodes).
*/
virtual void updateZ( int baseZ );
@@ -143,12 +143,12 @@ public:
*/
void addChild( Item *child );
/**
- * Returns the list of tqchildren.
+ * Returns the list of children.
* @param if includeGrandChildren is true then this list will also contain
- * the tqchildren's tqchildren, and so on recursively, instead of just the
- * immediate tqchildren.
+ * the children's children, and so on recursively, instead of just the
+ * immediate children.
*/
- ItemList tqchildren( bool includeGrandChildren = false ) const;
+ ItemList children( bool includeGrandChildren = false ) const;
/**
* Returns whether we have the given child as either a direct child, or as
* either a direct or indirect child
@@ -259,17 +259,17 @@ protected slots:
protected:
/**
- * Reinherit this function if you want to do anything with tqchildren. Called
+ * Reinherit this function if you want to do anything with children. Called
* after the parent is changed, with the old parent and the new parent.
*/
virtual void reparented( Item */*oldParent*/, Item */*newParent*/ ) {};
/**
- * Reinherit this function if you want to do anything with tqchildren. Called
+ * Reinherit this function if you want to do anything with children. Called
* after a child has been added.
*/
virtual void childAdded( Item * ) {};
/**
- * Reinherit this function if you want to do anything with tqchildren. Called
+ * Reinherit this function if you want to do anything with children. Called
* after a child has been removed.
*/
virtual void childRemoved( Item * ) {};
@@ -290,7 +290,7 @@ protected:
TQString m_name, m_desc; // Name and description
TQString m_type;
GuardedItem p_parentItem; // If attached to a parent item
- ItemList m_tqchildren;
+ ItemList m_children;
TQGuardedPtr<ItemDocument> p_itemDocument;
TQPointArray m_itemPoints; // The unorientated and unsized item points