summaryrefslogtreecommitdiffstats
path: root/src/dolphin.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
commit10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9 (patch)
tree9abdedb1613b67baf902467e11607d95e5e86c6c /src/dolphin.cpp
parent7b65a26139363081928049b6613475488a057011 (diff)
downloaddolphin-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/dolphin.cpp')
-rw-r--r--src/dolphin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp
index 0fbba54..61f6c11 100644
--- a/src/dolphin.cpp
+++ b/src/dolphin.cpp
@@ -452,17 +452,17 @@ void Dolphin::createFile()
// Get the source path of the template which should be copied.
// The source path is part of the URL entry of the desktop file.
- const int pos = entry.templatePath.tqfindRev('/');
+ const int pos = entry.templatePath.findRev('/');
TQString sourcePath(entry.templatePath.left(pos + 1));
sourcePath += KDesktopFile(entry.templatePath, true).readPathEntry("URL");
TQString name(i18n(entry.name.ascii()));
// Most entry names end with "..." (e. g. "HTML File..."), which is ok for
// menus but no good choice for a new file name -> remove the dots...
- name.tqreplace("...", TQString());
+ name.replace("...", TQString());
// add the file extension to the name
- name.append(sourcePath.right(sourcePath.length() - sourcePath.tqfindRev('.')));
+ name.append(sourcePath.right(sourcePath.length() - sourcePath.findRev('.')));
// Check whether a file with the current name already exists. If yes suggest automatically
// a unique file name (e. g. "HTML File" will be replaced by "HTML File_1").
@@ -931,7 +931,7 @@ void Dolphin::openTerminal()
void Dolphin::findFile()
{
- KRun::run("ktqfind", m_activeView->url());
+ KRun::run("kfind", m_activeView->url());
}
void Dolphin::compareFiles()
@@ -1032,7 +1032,7 @@ void Dolphin::addUndoOperation(KIO::Job* job)
const KURL::List::Iterator sourceEnd = sourceURLs.end();
while (sourceIt != sourceEnd) {
- TQMap<TQString, TQString>::ConstIterator metaIt = metaData.tqfind("trashURL-" + (*sourceIt).path());
+ TQMap<TQString, TQString>::ConstIterator metaIt = metaData.find("trashURL-" + (*sourceIt).path());
if (metaIt != metaData.end()) {
newSourceURLs.append(KURL(metaIt.data()));
}
@@ -1330,7 +1330,7 @@ void Dolphin::setupActions()
KAction* findFileAction = new KAction(i18n("Find File..."), "Ctrl+F",
TQT_TQOBJECT(this), TQT_SLOT(findFile()),
actionCollection(), "find_file");
- findFileAction->setIcon("filetqfind");
+ findFileAction->setIcon("filefind");
new KToggleAction(i18n("Show Filter Bar"), "filter", "/",
TQT_TQOBJECT(this), TQT_SLOT(showFilterBar()),