summaryrefslogtreecommitdiffstats
path: root/src/notefactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit33f08e93132a53bf14f41f5f1e567eeea832b336 (patch)
treef71204bc1c7d41a0545805a1276c5af43e1c3094 /src/notefactory.cpp
parent14284db4dfa93999d6227344141e8663d9fcf7f9 (diff)
downloadbasket-33f08e93132a53bf14f41f5f1e567eeea832b336.tar.gz
basket-33f08e93132a53bf14f41f5f1e567eeea832b336.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r--src/notefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp
index 4d1c5a3..6e57377 100644
--- a/src/notefactory.cpp
+++ b/src/notefactory.cpp
@@ -922,7 +922,7 @@ TQString NoteFactory::iconForCommand(const TQString &command)
// 1. Use first word as icon (typically the program without argument)
icon = TQStringList::split(' ', command).first();
// 2. If the command is a full path, take only the program file name
- icon = icon.mid(icon.tqfindRev('/') + 1); // strip path if given [But it doesn't care of such
+ icon = icon.mid(icon.findRev('/') + 1); // strip path if given [But it doesn't care of such
// "myprogram /my/path/argument" -> return "argument". Would
// must first strip first word and then strip path... Useful ??
// 3. Use characters before any '-' (e.g. use "gimp" icon if run command is "gimp-1.3")