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 | 10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9 (patch) | |
tree | 9abdedb1613b67baf902467e11607d95e5e86c6c /src/dolphinview.cpp | |
parent | 7b65a26139363081928049b6613475488a057011 (diff) | |
download | dolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.tar.gz dolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r-- | src/dolphinview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 3c476bf..845cc32 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -224,7 +224,7 @@ void DolphinView::renameSelectedItems() UndoManager& undoMan = UndoManager::instance(); undoMan.beginMacro(); - assert(newName.tqcontains('#')); + assert(newName.contains('#')); const int urlsCount = urls.count(); ProgressIndicator* progressIndicator = @@ -233,12 +233,12 @@ void DolphinView::renameSelectedItems() urlsCount); // iterate through all selected items and rename them... - const int replaceIndex = newName.tqfind('#'); + const int replaceIndex = newName.find('#'); assert(replaceIndex >= 0); for (int i = 0; i < urlsCount; ++i) { const KURL& source = urls[i]; TQString name(newName); - name.tqreplace(replaceIndex, 1, renameIndexPresentation(i + 1, urlsCount)); + name.replace(replaceIndex, 1, renameIndexPresentation(i + 1, urlsCount)); if (source.fileName() != name) { KURL dest(source.upURL()); |