summaryrefslogtreecommitdiffstats
path: root/src/dolphinview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:36 -0600
commit59d9dbf810de71334e1173fa7dda59209c10032c (patch)
tree9091f90565a6b444b49d6624fb9a833930b818fc /src/dolphinview.cpp
parent6f9ad886fd16b883bed1f6fa731bd709de0afb9c (diff)
downloaddolphin-59d9dbf810de71334e1173fa7dda59209c10032c.tar.gz
dolphin-59d9dbf810de71334e1173fa7dda59209c10032c.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r--src/dolphinview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 647b6fa..7f561a8 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -20,7 +20,7 @@
#include "dolphinview.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <kurl.h>
#include <klocale.h>
#include <kio/netaccess.h>
@@ -248,7 +248,7 @@ void DolphinView::renameSelectedItems()
if (destExists) {
delete progressIndicator;
progressIndicator = 0;
- view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).").tqarg(name),
+ view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).").arg(name),
DolphinStatusBar::Error);
break;
}
@@ -575,14 +575,14 @@ void DolphinView::rename(const KURL& source, const TQString& newName)
}
if (ok) {
- m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.").tqarg(source.fileName(), dest.fileName()),
+ m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.").arg(source.fileName(), dest.fileName()),
DolphinStatusBar::OperationCompleted);
DolphinCommand command(DolphinCommand::Rename, source, dest);
UndoManager::instance().addCommand(command);
}
else {
- m_statusBar->setMessage(i18n("Renaming of file '%1' to '%2' failed.").tqarg(source.fileName(), dest.fileName()),
+ m_statusBar->setMessage(i18n("Renaming of file '%1' to '%2' failed.").arg(source.fileName(), dest.fileName()),
DolphinStatusBar::Error);
reload();
}
@@ -930,7 +930,7 @@ void DolphinView::startDirLister(const KURL& url, bool reload)
m_statusBar->setMessage(i18n("The location is empty."), DolphinStatusBar::Error);
}
else {
- m_statusBar->setMessage(i18n("The location '%1' is invalid.").tqarg(location),
+ m_statusBar->setMessage(i18n("The location '%1' is invalid.").arg(location),
DolphinStatusBar::Error);
}
return;
@@ -993,7 +993,7 @@ TQString DolphinView::selectionStatusBarText() const
if (fileCount > 0) {
const TQString sizeText(KIO::convertSize(byteSize));
- text += i18n("1 File selected (%1)", "%n Files selected (%1)", fileCount).tqarg(sizeText);
+ text += i18n("1 File selected (%1)", "%n Files selected (%1)", fileCount).arg(sizeText);
}
return text;