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 | 0813b39aed2cf4c84157a22c4c9594336d93d412 (patch) | |
tree | 0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /cervisia/diffview.cpp | |
parent | 35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff) | |
download | tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/diffview.cpp')
-rw-r--r-- | cervisia/diffview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cervisia/diffview.cpp b/cervisia/diffview.cpp index 43cf0b1b..7c77ec6e 100644 --- a/cervisia/diffview.cpp +++ b/cervisia/diffview.cpp @@ -173,8 +173,8 @@ void DiffView::addLine(const TQString &line, DiffType type, int no) // For some fonts, e.g. "Clean", is fm.maxWidth() greater than // fmbold.maxWidth(). TQString copy(line); - const int numTabs = copy.tqcontains('\t', false); - copy.tqreplace( TQRegExp("\t"), ""); + const int numTabs = copy.contains('\t', false); + copy.replace( TQRegExp("\t"), ""); const int tabSize = m_tabWidth * TQMAX(fm.maxWidth(), fmbold.maxWidth()); const int copyWidth = TQMAX(fm.width(copy), fmbold.width(copy)); @@ -211,7 +211,7 @@ int DiffView::findLine(int lineno) int offset; DiffViewItem tmp; tmp.no = lineno; - if ( (offset = items.tqfind(&tmp)) == -1) + if ( (offset = items.find(&tmp)) == -1) { kdDebug(8050) << "Internal Error: Line " << lineno << " not found" << endl; return -1; |