diff options
Diffstat (limited to 'kcron/ktview.cpp')
-rw-r--r-- | kcron/ktview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcron/ktview.cpp b/kcron/ktview.cpp index 5819104..50a562c 100644 --- a/kcron/ktview.cpp +++ b/kcron/ktview.cpp @@ -427,10 +427,10 @@ TQString KTView::absolute() const { TQString fullCommand = TQString::fromLocal8Bit(currentCTTask->command.c_str()); TQString command(fullCommand); - int pos(command.tqfind(" ")); + int pos(command.find(" ")); if (pos > 0) command = command.left(pos); - if (command.tqfind("/") == 0) + if (command.find("/") == 0) return fullCommand; TQString path = TQString::fromLocal8Bit(currentCTCron->path().c_str()); @@ -439,7 +439,7 @@ TQString KTView::absolute() const TQString prefix; TQString full; - while ((end = path.tqfind(":", begin)) > 0) + while ((end = path.find(":", begin)) > 0) { prefix = path.mid(begin, begin + end) + "/"; full = prefix + command; |