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/graphtree/revgraphview.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/graphtree/revgraphview.cpp')
-rw-r--r-- | src/svnfrontend/graphtree/revgraphview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/svnfrontend/graphtree/revgraphview.cpp b/src/svnfrontend/graphtree/revgraphview.cpp index 8d2c126..c5214db 100644 --- a/src/svnfrontend/graphtree/revgraphview.cpp +++ b/src/svnfrontend/graphtree/revgraphview.cpp @@ -172,7 +172,7 @@ void RevGraphView::dotExit(KProcess*p) if (p!=renderProcess)return; // remove line breaks when lines to long TQRegExp endslash("\\\\\\n"); - dotOutput.tqreplace(endslash,""); + dotOutput.replace(endslash,""); double scale = 1.0, scaleX = 1.0, scaleY = 1.0; double dotWidth, dotHeight; TQTextStream* dotStream; @@ -275,11 +275,11 @@ void RevGraphView::dotExit(KProcess*p) int indexHead = -1; TQMap<TQString,GraphTreeLabel*>::Iterator it; - it = m_NodeList.tqfind(node2Name); + it = m_NodeList.find(node2Name); if (it!=m_NodeList.end()) { it.data()->setSource(node1Name); } - it = m_NodeList.tqfind(node1Name); + it = m_NodeList.find(node1Name); if (it!=m_NodeList.end()) { GraphTreeLabel*tlab = it.data(); if (tlab) { @@ -342,7 +342,7 @@ bool RevGraphView::isStart(const TQString&nodeName)const { bool res = false; trevTree::ConstIterator it; - it = m_Tree.tqfind(nodeName); + it = m_Tree.find(nodeName); if (it==m_Tree.end()) { return res; } @@ -357,7 +357,7 @@ bool RevGraphView::isStart(const TQString&nodeName)const char RevGraphView::getAction(const TQString&nodeName)const { trevTree::ConstIterator it; - it = m_Tree.tqfind(nodeName); + it = m_Tree.find(nodeName); if (it==m_Tree.end()) { return (char)0; } @@ -367,7 +367,7 @@ char RevGraphView::getAction(const TQString&nodeName)const TQColor RevGraphView::getBgColor(const TQString&nodeName)const { trevTree::ConstIterator it; - it = m_Tree.tqfind(nodeName); + it = m_Tree.find(nodeName); TQColor res = TQt::white; if (it==m_Tree.end()) { return res; @@ -400,12 +400,12 @@ TQColor RevGraphView::getBgColor(const TQString&nodeName)const const TQString&RevGraphView::getLabelstring(const TQString&nodeName) { TQMap<TQString,TQString>::ConstIterator nIt; - nIt = m_LabelMap.tqfind(nodeName); + nIt = m_LabelMap.find(nodeName); if (nIt!=m_LabelMap.end()) { return nIt.data(); } trevTree::ConstIterator it1; - it1 = m_Tree.tqfind(nodeName); + it1 = m_Tree.find(nodeName); if (it1==m_Tree.end()) { return m_LabelMap[""]; } @@ -514,7 +514,7 @@ TQString RevGraphView::toolTip(const TQString&_nodename,bool full)const { TQString res = TQString(); trevTree::ConstIterator it; - it = m_Tree.tqfind(_nodename); + it = m_Tree.find(_nodename); if (it==m_Tree.end()) { return res; } @@ -895,7 +895,7 @@ void RevGraphView::makeCat(GraphTreeLabel*_l) return; } TQString n1 = _l->nodename(); - trevTree::ConstIterator it = m_Tree.tqfind(n1); + trevTree::ConstIterator it = m_Tree.find(n1); if (it==m_Tree.end()) { return; } @@ -917,14 +917,14 @@ void RevGraphView::makeDiff(const TQString&n1,const TQString&n2) { if (n1.isEmpty()||n2.isEmpty()) return; trevTree::ConstIterator it; - it = m_Tree.tqfind(n2); + it = m_Tree.find(n2); if (it==m_Tree.end()) { return; } svn::Revision sr(it.data().rev); TQString sp = _basePath+it.data().name; - it = m_Tree.tqfind(n1); + it = m_Tree.find(n1); if (it==m_Tree.end()) { return; } |