From 330c33ab6f97b279737bf9527c9add7bb1475450 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/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- vcs/perforce/commitdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcs/perforce/commitdlg.cpp') diff --git a/vcs/perforce/commitdlg.cpp b/vcs/perforce/commitdlg.cpp index 2f119ed2..6bb3c08d 100644 --- a/vcs/perforce/commitdlg.cpp +++ b/vcs/perforce/commitdlg.cpp @@ -112,7 +112,7 @@ void CommitDialog::getFilesFinished( const TQString& out, const TQString& /* err { TQStringList lst = TQStringList::split( TQChar('\n'), out ); for ( TQStringList::ConstIterator it = lst.begin(); it != lst.end(); ++it ) { - int pos = (*it).tqfind( TQChar('#') ); + int pos = (*it).find( TQChar('#') ); if ( pos > 1 && (*it).startsWith( "//" ) ) { filesBox->insertItem( (*it).left( pos ) ); } @@ -129,7 +129,7 @@ TQString CommitDialog::changeList() const "tqStatus: new\n" "Description:\n "; - lst += logMessage().tqreplace(TQRegExp("\n"), "\n ") + "\n\n"; + lst += logMessage().replace(TQRegExp("\n"), "\n ") + "\n\n"; lst += "Files:\n"; -- cgit v1.2.3