From 93f9fda465964160b66d9252d2cf9b4c284eab50 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/applications/kdesvn@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/svnfrontend/commandexec.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/svnfrontend/commandexec.cpp') 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; } -- cgit v1.2.1