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/svnlogdlgimp.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/svnlogdlgimp.cpp')
-rw-r--r-- | src/svnfrontend/svnlogdlgimp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnfrontend/svnlogdlgimp.cpp b/src/svnfrontend/svnlogdlgimp.cpp index 3dbfd35..d3dbb2d 100644 --- a/src/svnfrontend/svnlogdlgimp.cpp +++ b/src/svnfrontend/svnlogdlgimp.cpp @@ -301,7 +301,7 @@ void SvnLogDlgImp::dispLog(const svn::SharedPointer<svn::LogEntriesMap>&_log) // YES! I'd checked it: this is much faster than getting list of keys // and iterating over that list! for (long c=max;c>-1;--c) { - if (!itemMap.tqcontains(c)) { + if (!itemMap.contains(c)) { continue; } if (itemMap[c]->realName().isEmpty()) { @@ -319,7 +319,7 @@ TQString SvnLogDlgImp::genReplace(const TQString&r1match) TQString res(""); if (_r2.pattern().length()<1) { res = _bugurl; - res.tqreplace("%BUGID%",_r1.cap(1)); + res.replace("%BUGID%",_r1.cap(1)); res = anf+res+mid+r1match+end; return res; } @@ -331,7 +331,7 @@ TQString SvnLogDlgImp::genReplace(const TQString&r1match) while (pos > -1) { oldpos = pos+count; - pos = r1match.tqfind(_r2,pos+count); + pos = r1match.find(_r2,pos+count); if (pos==-1) { break; } @@ -339,7 +339,7 @@ TQString SvnLogDlgImp::genReplace(const TQString&r1match) res+=r1match.mid(oldpos,pos-oldpos); TQString sub = r1match.mid(pos,count); TQString _url = _bugurl; - _url.tqreplace("%BUGID%",sub); + _url.replace("%BUGID%",sub); res+=anf+_url+mid+sub+end; } res+=r1match.mid(oldpos); @@ -366,7 +366,7 @@ void SvnLogDlgImp::replaceBugids(TQString&msg) kdDebug()<<TQString(_r1.cap(1)) << endl; TQString rep = genReplace(s1); kdDebug()<<"Replace with "<<rep << endl; - msg = msg.tqreplace(pos,count,rep); + msg = msg.replace(pos,count,rep); pos = _r1.search(msg,pos+rep.length()); count = _r1.matchedLength(); @@ -516,7 +516,7 @@ void SvnLogDlgImp::slotDispSelected() bool SvnLogDlgImp::getSingleLog(svn::LogEntry&t,const svn::Revision&r,const TQString&what,const svn::Revision&peg,TQString&root) { root = _base; - if (m_Entries->tqfind(r.revnum()) == m_Entries->end()) + if (m_Entries->find(r.revnum()) == m_Entries->end()) { return m_Actions->getSingleLog(t,r,what,peg,root); } |