From 0813b39aed2cf4c84157a22c4c9594336d93d412 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/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cervisia/diffview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cervisia/diffview.cpp') 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; -- cgit v1.2.1