From bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:48 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/cnitem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/cnitem.cpp') diff --git a/src/cnitem.cpp b/src/cnitem.cpp index acf662c..b6d75c9 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()) < tqminimumSize().width()) || - (std::abs((double)sizeRect.height()) < tqminimumSize().height()) ) + if ( (std::abs((double)sizeRect.width()) < minimumSize().width()) || + (std::abs((double)sizeRect.height()) < minimumSize().height()) ) return false; updateConnectorPoints(false); @@ -84,16 +84,16 @@ void CNItem::setVisible( bool yes ) { if (b_deleted) { - Item::tqsetVisible(false); + Item::setVisible(false); return; } - Item::tqsetVisible(yes); + Item::setVisible(yes); const TextMap::iterator textMapEnd = m_textMap.end(); for ( TextMap::iterator it = m_textMap.begin(); it != textMapEnd; ++it ) { - it.data()->tqsetVisible(yes); + it.data()->setVisible(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_tqchildren.end(); - for ( ItemList::iterator it = m_tqchildren.begin(); it != end; ++it ) + const ItemList::iterator end = m_children.end(); + for ( ItemList::iterator it = m_children.begin(); it != end; ++it ) { if ( CNItem *cnItem = dynamic_cast((Item*)*it) ) cnItem->updateNodeLevels(); -- cgit v1.2.3