summaryrefslogtreecommitdiffstats
path: root/src/item.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:48 -0600
commitbab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (patch)
treeebcbd8371d791d7419485d11deec88587c36aa7e /src/item.h
parent393fa51a38771670ecb265a99ab592e03f4ecc5c (diff)
downloadktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.tar.gz
ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/item.h b/src/item.h
index 9710d93..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
@@ -173,7 +173,7 @@ public:
* Reinherit this function if you want to determine what the minimum size is
* that this item can be resized to.
*/
- virtual TQSize tqminimumSize() const { return TQSize(0,0); }
+ virtual TQSize minimumSize() const { return TQSize(0,0); }
int offsetX() const { return m_sizeRect.x(); }
int offsetY() const { return m_sizeRect.y(); }
int width() const { return m_sizeRect.width(); }
@@ -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