diff options
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 02e7881..acf662c 100644 --- a/src/cnitem.cpp +++ b/src/cnitem.cpp @@ -156,7 +156,7 @@ ConnectorList CNItem::connectorList() ConnectorList::iterator end = nodeList.end(); for ( ConnectorList::iterator it = nodeList.begin(); it != end; ++it ) { - if ( *it && !list.tqcontains(*it) ) + if ( *it && !list.contains(*it) ) { list.append(*it); } @@ -165,7 +165,7 @@ ConnectorList CNItem::connectorList() end = nodeList.end(); for ( ConnectorList::iterator it = nodeList.begin(); it != end; ++it ) { - if ( *it && !list.tqcontains(*it) ) + if ( *it && !list.contains(*it) ) { list.append(*it); } @@ -286,7 +286,7 @@ Node* CNItem::createNode( double _x, double _y, int orientation, const TQString bool CNItem::removeNode( const TQString &name ) { - NodeMap::iterator it = m_nodeMap.tqfind(name); + NodeMap::iterator it = m_nodeMap.find(name); if ( it == m_nodeMap.end() ) { return false; } @@ -574,7 +574,7 @@ void CNItem::updateConnectorPoints( bool add ) Text* CNItem::addDisplayText( const TQString &id, const TQRect & pos, const TQString &display, bool internal, int flags ) { Text *text = 0l; - TextMap::iterator it = m_textMap.tqfind(id); + TextMap::iterator it = m_textMap.find(id); if ( it != m_textMap.end() ) { // kdWarning() << "CNItem::addDisplayText: removing old text"<<endl; @@ -596,7 +596,7 @@ Text* CNItem::addDisplayText( const TQString &id, const TQRect & pos, const TQSt void CNItem::setDisplayText( const TQString &id, const TQString &display ) { - TextMap::iterator it = m_textMap.tqfind(id); + TextMap::iterator it = m_textMap.find(id); if ( it == m_textMap.end() ) { kdError() << "CNItem::setDisplayText: Could not find text with id \""<<id<<"\""<<endl; @@ -609,7 +609,7 @@ void CNItem::setDisplayText( const TQString &id, const TQString &display ) void CNItem::removeDisplayText( const TQString &id ) { - TextMap::iterator it = m_textMap.tqfind(id); + TextMap::iterator it = m_textMap.find(id); if ( it == m_textMap.end() ) { // kdError() << "CNItem::removeDisplayText: Could not find text with id \""<<id<<"\""<<endl; @@ -623,7 +623,7 @@ void CNItem::removeDisplayText( const TQString &id ) TQString CNItem::nodeId( const TQString &internalNodeId ) { - NodeMap::iterator it = m_nodeMap.tqfind(internalNodeId); + NodeMap::iterator it = m_nodeMap.find(internalNodeId); if ( it == m_nodeMap.end() ) return ""; else return it.data().id; } |