summaryrefslogtreecommitdiffstats
path: root/languages/cpp/addattributedialog.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
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /languages/cpp/addattributedialog.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/addattributedialog.cpp')
-rw-r--r--languages/cpp/addattributedialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp
index 70dd27b3..84929a22 100644
--- a/languages/cpp/addattributedialog.cpp
+++ b/languages/cpp/addattributedialog.cpp
@@ -102,7 +102,7 @@ void AddAttributeDialog::accept()
TQString access = accessID( *it );
TQPair<int, int> varEndPoint = tqMakePair( varEndLine, varEndColumn );
- if ( !points.tqcontains( access ) || points[ access ] < varEndPoint )
+ if ( !points.contains( access ) || points[ access ] < varEndPoint )
{
accessList.remove( access );
accessList.push_back( access ); // move 'access' at the end of the list
@@ -132,7 +132,7 @@ void AddAttributeDialog::accept()
TQString str = variableDeclaration( currentItem );
TQPair<int, int> pt;
- if ( points.tqcontains( *it ) )
+ if ( points.contains( *it ) )
{
pt = points[ *it ];
}
@@ -144,7 +144,7 @@ void AddAttributeDialog::accept()
}
editIface->insertText( pt.first + insertedLine + 1, 0 /*pt.second*/, str );
- insertedLine += str.tqcontains( TQChar( '\n' ) );
+ insertedLine += str.contains( TQChar( '\n' ) );
}
}
@@ -236,7 +236,7 @@ TQStringList AddAttributeDialog::newAccessList( const TQStringList& accessList )
item = item->nextSibling();
TQString access = currentItem->text( 0 );
- if ( !( accessList.tqcontains( access ) || newAccessList.tqcontains( access ) ) )
+ if ( !( accessList.contains( access ) || newAccessList.contains( access ) ) )
newAccessList.push_back( access );
}