summaryrefslogtreecommitdiffstats
path: root/src/cnitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cnitem.cpp')
-rw-r--r--src/cnitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cnitem.cpp b/src/cnitem.cpp
index acf662c..91a7e88 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();