From e05894553004a47b1e2f276bedcf5963b57a3932 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- 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 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"<