From 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 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/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/messages/annotationoutput.cpp | 20 ++++++++++---------- quanta/messages/messageitem.cpp | 6 +++--- quanta/messages/messageoutput.cpp | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'quanta/messages') diff --git a/quanta/messages/annotationoutput.cpp b/quanta/messages/annotationoutput.cpp index 0bca2cf2..57a8e84c 100644 --- a/quanta/messages/annotationoutput.cpp +++ b/quanta/messages/annotationoutput.cpp @@ -85,7 +85,7 @@ void AnnotationOutput::insertAnnotation(uint line, const TQString& fileName, con { line++; TQString s = i18n("Line %1: %2").tqarg(line).tqarg(annotation.first); - s.tqreplace('\n', ' '); + s.replace('\n', ' '); m_currentFileAnnotations->showMessage(line, 1, fileName, s); } @@ -148,13 +148,13 @@ void AnnotationOutput::readAnnotations() KURL u = baseURL; QuantaCommon::setUrl(u, fileName); u = QExtFileInfo::toAbsolute(u, baseURL); - if (Project::ref()->tqcontains(u)) + if (Project::ref()->contains(u)) { bool ok; int line = el.attribute("line").toInt(&ok, 10); TQString text = el.attribute("text"); TQString receiver = el.attribute("receiver"); - text.tqreplace('\n',' '); + text.replace('\n',' '); TQString lineText = TQString("%1").tqarg(line); if (lineText.length() < 20) { @@ -170,12 +170,12 @@ void AnnotationOutput::readAnnotations() m_fileNames[fileIt] = u.url(); } KListViewItem *it = new KListViewItem(fileIt, fileIt, text, lineText); - if (openedItems.tqcontains(fileName)) + if (openedItems.contains(fileName)) fileIt->setOpen(true); m_fileNames[it] = u.url(); m_lines[it] = line; - if (!yourself.isEmpty() && (receiver == yourself || roles.tqcontains(receiver))) + if (!yourself.isEmpty() && (receiver == yourself || roles.contains(receiver))) { m_yourAnnotationsNum++; KListViewItem *fileIt = m_yourFileItems[fileName]; @@ -186,7 +186,7 @@ void AnnotationOutput::readAnnotations() m_yourFileNames[fileIt] = u.url(); } KListViewItem *it = new KListViewItem(fileIt, fileIt, text, lineText); - if (yourOpenedItems.tqcontains(fileName)) + if (yourOpenedItems.contains(fileName)) fileIt->setOpen(true); m_yourFileNames[it] = u.url(); m_yourLines[it] = line; @@ -234,7 +234,7 @@ void AnnotationOutput::writeAnnotations(const TQString &fileName, const TQMapsetLine(line); -- cgit v1.2.1