summaryrefslogtreecommitdiffstats
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp6
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());