diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:57:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:57:14 -0600 |
commit | c1ef065782051db96cdfd32cf55be6408c2a9d22 (patch) | |
tree | 0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/item.h | |
parent | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff) | |
download | ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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 - * children with baseZ incremented by one. Reinherit this function to set + * tqchildren 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 children. + * Returns the list of tqchildren. * @param if includeGrandChildren is true then this list will also contain - * the children's children, and so on recursively, instead of just the - * immediate children. + * the tqchildren's tqchildren, and so on recursively, instead of just the + * immediate tqchildren. */ - ItemList children( bool includeGrandChildren = false ) const; + ItemList tqchildren( 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 minimumSize() const { return TQSize(0,0); } + virtual TQSize tqminimumSize() 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 children. Called + * Reinherit this function if you want to do anything with tqchildren. 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 children. Called + * Reinherit this function if you want to do anything with tqchildren. Called * after a child has been added. */ virtual void childAdded( Item * ) {}; /** - * Reinherit this function if you want to do anything with children. Called + * Reinherit this function if you want to do anything with tqchildren. 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_children; + ItemList m_tqchildren; TQGuardedPtr<ItemDocument> p_itemDocument; TQPointArray m_itemPoints; // The unorientated and unsized item points |