diff options
Diffstat (limited to 'src/dolphin.cpp')
-rw-r--r-- | src/dolphin.cpp | 12 |
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()), |