diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (patch) | |
tree | 8a1d1e893a80df8ad5233802c2b0e39220b86168 /kcron/kttask.cpp | |
parent | 441266d591a9064dd619da0e1bd49b871d6a9c70 (diff) | |
download | tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.tar.gz tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcron/kttask.cpp')
-rw-r--r-- | kcron/kttask.cpp | 8 |
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); |