summaryrefslogtreecommitdiffstats
path: root/kcron/kttask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcron/kttask.cpp')
-rw-r--r--kcron/kttask.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcron/kttask.cpp b/kcron/kttask.cpp
index 46ec77c..99e9608 100644
--- a/kcron/kttask.cpp
+++ b/kcron/kttask.cpp
@@ -421,10 +421,10 @@ void KTTask::slotCommandChanged()
/*
TQString qs(leCommand->text());
- int beginPos(qs.tqfindRev("/", qs.length()) + 1);
+ int beginPos(qs.findRev("/", qs.length()) + 1);
if (beginPos < 0) beginPos = 0;
- int endPos(qs.tqfindRev(" ", qs.length()));
+ int endPos(qs.findRev(" ", qs.length()));
if (endPos < 0) endPos = qs.length();
TQString iconName(qs.mid(beginPos, endPos-beginPos) + ".xpm");
@@ -609,9 +609,9 @@ void KTTask::slotOK()
// absolute path
TQString qs(leCommand->text());
- if (qs.tqfind("/") == 0)
+ if (qs.find("/") == 0)
{
- int spacePos(qs.tqfind(" "));
+ int spacePos(qs.find(" "));
if (spacePos < 0) spacePos = qs.length();
TQString programName(qs.left(spacePos));
TQFileInfo file(programName);