From 330c33ab6f97b279737bf9527c9add7bb1475450 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/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/documentation/plugins/chm/docchmplugin.cpp | 4 ++-- parts/documentation/plugins/devhelp/docdevhelpplugin.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'parts/documentation/plugins') diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp index fb033a7f..83263fce 100644 --- a/parts/documentation/plugins/chm/docchmplugin.cpp +++ b/parts/documentation/plugins/chm/docchmplugin.cpp @@ -144,9 +144,9 @@ static TQString decodeHTML(const TQString& s) { while(pos > -1) { TQString found = rx.cap(0); if(found != " ") { - out.tqreplace(pos, found.length(), static_cast(rx.cap(1).toInt())); + out.replace(pos, found.length(), static_cast(rx.cap(1).toInt())); }else{ - out.tqreplace(pos, found.length(), " "); + out.replace(pos, found.length(), " "); } pos = rx.search(out, pos+1); } diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp index 79106157..21e450a6 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp @@ -240,7 +240,7 @@ void DocDevHelpPlugin::scanDevHelpDir(const TQString &path) void DocDevHelpPlugin::pushToScanStack(TQValueStack &stack, const TQString &value) { - if ( (!value.isEmpty()) && (!stack.tqcontains(value)) ) + if ( (!value.isEmpty()) && (!stack.contains(value)) ) { stack << value; kdDebug() << "Devhelp scan stack: +: " << value << endl; @@ -330,7 +330,7 @@ void DocDevHelpPlugin::addTocSect(DocumentationItem *tqparent, TQDomElement chil TQString name = childEl.attribute("name"); TQString url = childEl.attribute("link"); - if (name.isEmpty() && url.tqcontains("ix")) + if (name.isEmpty() && url.contains("ix")) name = "Index"; DocumentationItem *item = new DocumentationItem( -- cgit v1.2.3