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/renamedialog.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/renamedialog.cpp')
-rw-r--r-- | src/renamedialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renamedialog.cpp b/src/renamedialog.cpp index 5724112..abd3057 100644 --- a/src/renamedialog.cpp +++ b/src/renamedialog.cpp @@ -49,7 +49,7 @@ RenameDialog::RenameDialog(const KURL::List& items) : // case, add this postfix to the name suggestion. postfix.insert(0, '.'); for (int i = 1; i < itemCount; ++i) { - if (!items[i].prettyURL().tqcontains(postfix)) { + if (!items[i].prettyURL().contains(postfix)) { // at least one item does not have the same postfix postfix.truncate(0); break; @@ -79,7 +79,7 @@ RenameDialog::~RenameDialog() void RenameDialog::slotOk() { m_newName = m_lineEdit->text(); - if (m_newName.tqcontains('#') != 1) { + if (m_newName.contains('#') != 1) { m_newName.truncate(0); } |