summaryrefslogtreecommitdiffstats
path: root/src/common/nokde/nokde_kcmdlineargs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/nokde/nokde_kcmdlineargs.cpp')
-rw-r--r--src/common/nokde/nokde_kcmdlineargs.cpp12
1 files changed, 6 insertions, 6 deletions
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)