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/svnfrontend/commandexec.cpp | |
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/svnfrontend/commandexec.cpp')
-rw-r--r-- | src/svnfrontend/commandexec.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/svnfrontend/commandexec.cpp b/src/svnfrontend/commandexec.cpp index daeab29..d255794 100644 --- a/src/svnfrontend/commandexec.cpp +++ b/src/svnfrontend/commandexec.cpp @@ -226,13 +226,13 @@ int CommandExec::exec() tmpurl = helpers::KTranslateUrl::translateSystemUrl(m_pCPart->args->url(j).prettyURL()); query = tmpurl.query(); q = m_pCPart->args->url(j).queryItems(); - if (q.tqfind("rev")!=q.end()) { + if (q.find("rev")!=q.end()) { v = q["rev"]; } else { v = ""; } tmpurl.setProtocol(svn::Url::transformProtokoll(tmpurl.protocol())); - if (tmpurl.protocol().tqfind("ssh")!=-1) { + if (tmpurl.protocol().find("ssh")!=-1) { SshAgent ag; // this class itself checks if done before ag.addSshIdentities(); @@ -410,7 +410,7 @@ void CommandExec::slotCmd_blame() void CommandExec::slotCmd_cat() { - if (m_pCPart->extraRevisions.tqfind(0)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(0)!=m_pCPart->extraRevisions.end()) { m_pCPart->rev_set=true; m_pCPart->start=m_pCPart->extraRevisions[0]; } else { @@ -423,7 +423,7 @@ void CommandExec::slotCmd_cat() void CommandExec::slotCmd_get() { - if (m_pCPart->extraRevisions.tqfind(0)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(0)!=m_pCPart->extraRevisions.end()) { m_pCPart->rev_set=true; m_pCPart->start=m_pCPart->extraRevisions[0]; } else { @@ -454,12 +454,12 @@ void CommandExec::slotCmd_diff() } else { svn::Revision r1 = svn::Revision::HEAD; svn::Revision r2 = svn::Revision::HEAD; - if (m_pCPart->extraRevisions.tqfind(0)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(0)!=m_pCPart->extraRevisions.end()) { r1 = m_pCPart->extraRevisions[0]; } else if (!svn::Url::isValid(m_pCPart->url[0])) { r1 = svn::Revision::WORKING; } - if (m_pCPart->extraRevisions.tqfind(1)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(1)!=m_pCPart->extraRevisions.end()) { r2 = m_pCPart->extraRevisions[1]; } else if (!svn::Url::isValid(m_pCPart->url[1])) { r2 = svn::Revision::WORKING; @@ -470,7 +470,7 @@ void CommandExec::slotCmd_diff() void CommandExec::slotCmd_info() { - if (m_pCPart->extraRevisions.tqfind(0)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(0)!=m_pCPart->extraRevisions.end()) { m_pCPart->rev_set=true; m_pCPart->start=m_pCPart->extraRevisions[0]; } @@ -520,7 +520,7 @@ void CommandExec::slotCmd_copy() } else { target = m_pCPart->url[1]; } - if (m_pCPart->extraRevisions.tqfind(0)!=m_pCPart->extraRevisions.end()) { + if (m_pCPart->extraRevisions.find(0)!=m_pCPart->extraRevisions.end()) { m_pCPart->rev_set=true; m_pCPart->start=m_pCPart->extraRevisions[0]; } else { @@ -629,7 +629,7 @@ void CommandExec::slotCmd_switch() clientException(i18n("May only switch one url at time!")); return; } - if (m_pCPart->baseUrls.tqfind(0)==m_pCPart->baseUrls.end()) { + if (m_pCPart->baseUrls.find(0)==m_pCPart->baseUrls.end()) { clientException(i18n("Switch only on working copies!")); return; } |