summaryrefslogtreecommitdiffstats
path: root/src/cnitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cnitem.cpp')
-rw-r--r--src/cnitem.cpp14
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();