From 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 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/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcron/kttask.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcron/kttask.cpp') 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); -- cgit v1.2.1