diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /languages/cpp/addmethoddialog.cpp | |
parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
download | tdevelop-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/addmethoddialog.cpp')
-rw-r--r-- | languages/cpp/addmethoddialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/addmethoddialog.cpp b/languages/cpp/addmethoddialog.cpp index 71f03b5d..80397074 100644 --- a/languages/cpp/addmethoddialog.cpp +++ b/languages/cpp/addmethoddialog.cpp @@ -75,7 +75,7 @@ AddMethodDialog::AddMethodDialog( CppSupportPart* cppSupport, ClassDom klass, while ( it != m.end() ) { TQString ext = TQFileInfo( it.key() ).extension(); - if ( !headers.tqcontains( ext ) ) + if ( !headers.contains( ext ) ) sourceFile->insertItem( it.key() ); ++it; } @@ -168,7 +168,7 @@ void AddMethodDialog::accept() TQString access = accessID( *it ); TQPair<int, int> funEndPoint = tqMakePair( funEndLine, funEndColumn ); - if ( !points.tqcontains( access ) || points[ access ] < funEndPoint ) + if ( !points.contains( access ) || points[ access ] < funEndPoint ) { accessList.remove( access ); accessList.push_back( access ); // move 'access' at the end of the list @@ -199,7 +199,7 @@ void AddMethodDialog::accept() TQString str = isInline ? functionDefinition( currentItem ) : functionDeclaration( currentItem ); TQPair<int, int> pt; - if ( points.tqcontains( *it ) ) + if ( points.contains( *it ) ) { pt = points[ *it ]; } @@ -211,7 +211,7 @@ void AddMethodDialog::accept() } editIface->insertText( pt.first + insertedLine + 1, 0 /*pt.second*/, str ); - insertedLine += str.tqcontains( TQChar( '\n' ) ); + insertedLine += str.contains( TQChar( '\n' ) ); } } @@ -408,7 +408,7 @@ TQStringList AddMethodDialog::newAccessList( const TQStringList& accessList ) co item = item->nextSibling(); TQString access = currentItem->text( 1 ); - if ( !( accessList.tqcontains( access ) || newAccessList.tqcontains( access ) ) ) + if ( !( accessList.contains( access ) || newAccessList.contains( access ) ) ) newAccessList.push_back( access ); } |