From d98fea1f859d23e1b1220a65d7a8eda3b757fd08 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/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/common/nokde/nokde_kcmdlineargs.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/common/nokde') diff --git a/src/common/nokde/nokde_kcmdlineargs.cpp b/src/common/nokde/nokde_kcmdlineargs.cpp index f06f20e..e73de61 100644 --- a/src/common/nokde/nokde_kcmdlineargs.cpp +++ b/src/common/nokde/nokde_kcmdlineargs.cpp @@ -409,7 +409,7 @@ findOption(const KCmdLineOptions *options, TQCString &opt, return result+0; TQCString nextOption = options->name; # if [[[TQT_VERSION IS DEPRECATED]]]<0x040000 - int p = nextOption.tqfind(' '); + int p = nextOption.find(' '); #else int p = TQString(nextOption).indexOf(' '); #endif @@ -450,7 +450,7 @@ KCmdLineArgs::findOption(const char *_opt, TQCString opt, int &i, bool _enabled, const char *def; TQCString argument; # if [[[TQT_VERSION IS DEPRECATED]]]<0x040000 - int j = opt.tqfind('='); + int j = opt.find('='); #else int j = TQString(opt).indexOf('='); #endif @@ -1107,9 +1107,9 @@ KCmdLineArgs::setOption(const TQCString &opt, bool enabled) } if (enabled) - parsedOptionList->tqreplace( opt, new TQCString("t") ); + parsedOptionList->replace( opt, new TQCString("t") ); else - parsedOptionList->tqreplace( opt, new TQCString("f") ); + parsedOptionList->replace( opt, new TQCString("f") ); } void @@ -1145,7 +1145,7 @@ KCmdLineArgs::getOption(const char *_opt) const TQCString *value = 0; if (parsedOptionList) { - value = parsedOptionList->tqfind(_opt); + value = parsedOptionList->find(_opt); } if (value) @@ -1225,7 +1225,7 @@ KCmdLineArgs::isSet(const char *_opt) const TQCString *value = 0; if (parsedOptionList) { - value = parsedOptionList->tqfind(opt); + value = parsedOptionList->find(opt); } if (value) -- cgit v1.2.1