From 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 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/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kconfig_compiler/kconfig_compiler.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kdecore/kconfig_compiler') diff --git a/kdecore/kconfig_compiler/kconfig_compiler.cpp b/kdecore/kconfig_compiler/kconfig_compiler.cpp index fd2cbc405..10c91834c 100644 --- a/kdecore/kconfig_compiler/kconfig_compiler.cpp +++ b/kdecore/kconfig_compiler/kconfig_compiler.cpp @@ -284,7 +284,7 @@ static TQString dumpNode(const TQDomNode &node) static TQString filenameOnly(TQString path) { - int i = path.tqfindRev('/'); + int i = path.findRev('/'); if (i >= 0) return path.mid(i+1); return path; @@ -480,13 +480,13 @@ CfgEntry *parseEntry( const TQString &group, const TQDomElement &element ) if ( nameIsEmpty ) { name = key; - name.tqreplace( " ", TQString() ); - } else if ( name.tqcontains( ' ' ) ) { + name.replace( " ", TQString() ); + } else if ( name.contains( ' ' ) ) { kdWarning()<<"Entry '"< elements can't contain speces!"<param()+")"; - if (result.tqcontains(needle)) + if (result.contains(needle)) { TQString tmp; if (e->paramType() == "Enum") @@ -796,7 +796,7 @@ TQString paramString(const TQString &group, const TQValueList ¶meters for (TQValueList::ConstIterator it = parameters.begin(); it != parameters.end(); ++it) { - if (paramString.tqcontains("$("+(*it).name+")")) + if (paramString.contains("$("+(*it).name+")")) { TQString tmp; tmp.sprintf("%%%d", i++); @@ -1249,7 +1249,7 @@ int main( int argc, char **argv ) TQString t = e->type(); // Manipulator - if (allMutators || mutators.tqcontains(n)) + if (allMutators || mutators.contains(n)) { h << " /**" << endl; h << " Set " << e->label() << endl; @@ -1642,7 +1642,7 @@ int main( int argc, char **argv ) TQString t = e->type(); // Manipulator - if (allMutators || mutators.tqcontains(n)) + if (allMutators || mutators.contains(n)) { cpp << "void " << setFunction(n, className) << "( "; if (!e->param().isEmpty()) -- cgit v1.2.1