summaryrefslogtreecommitdiffstats
path: root/src/cnitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/cnitem.cpp
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz
ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip
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
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 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;
}