summaryrefslogtreecommitdiffstats
path: root/parts/classview/classviewpart.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 /parts/classview/classviewpart.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 'parts/classview/classviewpart.cpp')
-rw-r--r--parts/classview/classviewpart.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp
index eceb656f..200ef9bb 100644
--- a/parts/classview/classviewpart.cpp
+++ b/parts/classview/classviewpart.cpp
@@ -72,13 +72,13 @@ class FunctionCompletion : public CustomCompleter {
TQString fScope;
int cutpos;
- if((cutpos = function.tqfind('(')) != -1) {
+ if((cutpos = function.find('(')) != -1) {
args = function.right( function.length() - cutpos );
function = function.left( cutpos );
} else {
return function;
}
- if((cutpos = function.tqfindRev(':')) != -1 || (cutpos = function.tqfindRev('.')) != -1) {
+ if((cutpos = function.findRev(':')) != -1 || (cutpos = function.findRev('.')) != -1) {
fScope = function.left( cutpos + 1 );
function = function.right( function.length() - cutpos - 1);
}
@@ -103,7 +103,7 @@ class FunctionCompletion : public CustomCompleter {
}
virtual void removeItem ( const TQString &item ) {
- FuncMap::iterator it = nameMap.tqfind( item );
+ FuncMap::iterator it = nameMap.find( item );
if( it != nameMap.end() ) {
KCompletion::removeItem( *it );
revNameMap.remove( *it );
@@ -118,7 +118,7 @@ class FunctionCompletion : public CustomCompleter {
}
virtual void postProcessMatch ( TQString *match ) const {
- FuncMap::const_iterator it = revNameMap.tqfind( *match );
+ FuncMap::const_iterator it = revNameMap.find( *match );
if( it != revNameMap.end() ) {
*match = *it;
}
@@ -261,7 +261,7 @@ void ClassViewPart::activePartChanged( KParts::Part * part)
m_activeFileName = URLUtil::canonicalPath( m_activeDocument->url().path() );
navigator->refreshNavBars(m_activeFileName);
navigator->syncFunctionNavDelayed(200);
-/* if ( languageSupport()->mimeTypes().tqfind(
+/* if ( languageSupport()->mimeTypes().find(
KMimeType::findByPath(m_activeFileName)) != languageSupport()->mimeTypes().end() )
m_activeFileName = TQString();*/
}