diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
commit | c1ef065782051db96cdfd32cf55be6408c2a9d22 (patch) | |
tree | 0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/cnitem.cpp | |
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/cnitem.cpp')
-rw-r--r-- | src/cnitem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cnitem.cpp b/src/cnitem.cpp index b6d75c9..acf662c 100644 --- a/src/cnitem.cpp +++ b/src/cnitem.cpp @@ -65,8 +65,8 @@ int CNItem::rtti() const bool CNItem::preResize( TQRect sizeRect ) { - if ( (std::abs((double)sizeRect.width()) < minimumSize().width()) || - (std::abs((double)sizeRect.height()) < minimumSize().height()) ) + if ( (std::abs((double)sizeRect.width()) < tqminimumSize().width()) || + (std::abs((double)sizeRect.height()) < tqminimumSize().height()) ) return false; updateConnectorPoints(false); @@ -84,16 +84,16 @@ void CNItem::setVisible( bool yes ) { if (b_deleted) { - Item::setVisible(false); + Item::tqsetVisible(false); return; } - Item::setVisible(yes); + Item::tqsetVisible(yes); const TextMap::iterator textMapEnd = m_textMap.end(); for ( TextMap::iterator it = m_textMap.begin(); it != textMapEnd; ++it ) { - it.data()->setVisible(yes); + it.data()->tqsetVisible(yes); } const NodeMap::iterator nodeMapEnd = m_nodeMap.end(); @@ -133,8 +133,8 @@ void CNItem::updateNodeLevels() it.data().node->setLevel(l); } - const ItemList::iterator end = m_children.end(); - for ( ItemList::iterator it = m_children.begin(); it != end; ++it ) + const ItemList::iterator end = m_tqchildren.end(); + for ( ItemList::iterator it = m_tqchildren.begin(); it != end; ++it ) { if ( CNItem *cnItem = dynamic_cast<CNItem*>((Item*)*it) ) cnItem->updateNodeLevels(); |