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 | 93f9fda465964160b66d9252d2cf9b4c284eab50 (patch) | |
tree | 51575108fadbf39900f2168fc504ad66b59906c3 /src/ksvnwidgets | |
parent | 4be907152dfb5461311d9db1d63120c28a0bad0a (diff) | |
download | tdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.tar.gz tdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/ksvnwidgets')
-rw-r--r-- | src/ksvnwidgets/diffbrowser.cpp | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/logmsg_impl.cpp | 2 | ||||
-rw-r--r-- | src/ksvnwidgets/pwstorage.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ksvnwidgets/diffbrowser.cpp b/src/ksvnwidgets/diffbrowser.cpp index b52db10..08bf89f 100644 --- a/src/ksvnwidgets/diffbrowser.cpp +++ b/src/ksvnwidgets/diffbrowser.cpp @@ -163,7 +163,7 @@ void DiffBrowser::doSearch(const TQString&to_find_string,bool case_sensitive,boo col = col+1; } while (1) { - bool result = tqfind(to_find_string,case_sensitive,false, + bool result = find(to_find_string,case_sensitive,false, (!back),&line,&col); if (result) { diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp index 972512b..fb053c6 100644 --- a/src/ksvnwidgets/logmsg_impl.cpp +++ b/src/ksvnwidgets/logmsg_impl.cpp @@ -261,7 +261,7 @@ void Logmsg_impl::saveHistory(bool canceld) /// @todo make static threadsafe if (!canceld) { TQValueList<TQString>::iterator it; - if ( (it=sLogHistory.tqfind(m_LogEdit->text()))!=sLogHistory.end()) { + if ( (it=sLogHistory.find(m_LogEdit->text()))!=sLogHistory.end()) { sLogHistory.erase(it); } sLogHistory.push_front(m_LogEdit->text()); diff --git a/src/ksvnwidgets/pwstorage.cpp b/src/ksvnwidgets/pwstorage.cpp index 492e6f6..604b60f 100644 --- a/src/ksvnwidgets/pwstorage.cpp +++ b/src/ksvnwidgets/pwstorage.cpp @@ -152,7 +152,7 @@ bool PwStorage::getLogin(const TQString&realm,TQString&user,TQString&pw) } TQMap<TQString,TQString> content; int j = mData->getWallet()->readMap(realm,content); - if (j!=0||content.tqfind("user")==content.end()) { + if (j!=0||content.find("user")==content.end()) { return true; } user = content["user"]; @@ -163,7 +163,7 @@ bool PwStorage::getLogin(const TQString&realm,TQString&user,TQString&pw) bool PwStorage::getCachedLogin(const TQString&realm,TQString&user,TQString&pw) { TQMutexLocker lc(mData->getCacheMutex()); - PwStorageData::cache_type::ConstIterator it = mData->getLoginCache()->tqfind(realm); + PwStorageData::cache_type::ConstIterator it = mData->getLoginCache()->find(realm); if (it!=mData->getLoginCache()->end()) { user=(*it).first; pw = (*it).second; |