summaryrefslogtreecommitdiffstats
path: root/languages/lib
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /languages/lib
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
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
Diffstat (limited to 'languages/lib')
-rw-r--r--languages/lib/debugger/debugger.cpp2
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.cpp8
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp
index 8bfebb33..5d33ee8c 100644
--- a/languages/lib/debugger/debugger.cpp
+++ b/languages/lib/debugger/debugger.cpp
@@ -50,7 +50,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool
iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint );
BPItem bpItem(fileName, lineNum);
- TQValueList<BPItem>::Iterator it = BPList.tqfind(bpItem);
+ TQValueList<BPItem>::Iterator it = BPList.find(bpItem);
if (it != BPList.end())
{
// kdDebug(9012) << "Removing BP=" << fileName << ":" << lineNum << endl;
diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp
index 43359bd1..1d9e0c01 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.cpp
+++ b/languages/lib/designer_integration/qtdesignerintegration.cpp
@@ -53,7 +53,7 @@ void QtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesi
{
kdDebug() << "QtDesignerIntegration::addFunction: form: " << formName << ", function: " << function.function << endl;
- if (!m_implementations.tqcontains(formName))
+ if (!m_implementations.contains(formName))
if (!selectImplementation(formName))
return;
@@ -139,8 +139,8 @@ void QtDesignerIntegration::openFunction(const TQString &formName, const TQStrin
kdDebug() << "QtDesignerIntegration::openFunction, formName = " << formName
<< ", functionName = " << functionName << endl;
TQString fn = functionName;
- if (fn.tqfind("(") > 0)
- fn.remove(fn.tqfind("("), fn.length());
+ if (fn.find("(") > 0)
+ fn.remove(fn.find("("), fn.length());
if (!m_implementations[formName])
return;
@@ -184,7 +184,7 @@ void QtDesignerIntegration::processImplementationName(TQString &// name
void QtDesignerIntegration::openSource(const TQString &formName)
{
- if (!m_implementations.tqcontains(formName))
+ if (!m_implementations.contains(formName))
if (!selectImplementation(formName))
return;
TQString impl = m_implementations[formName]->fileName();
diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h
index aa0c0f2f..d1f72aeb 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.h
+++ b/languages/lib/designer_integration/qtdesignerintegration.h
@@ -66,7 +66,7 @@ protected:
separate files for interface and implementation parts of a class. For example,
C++ language support plugin will do:
@code
- name.tqreplace(".h", ".cpp");
+ name.replace(".h", ".cpp");
@endcode*/
virtual void processImplementationName(TQString &name);