diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:43 -0600 |
commit | b45817ccac7985d286c754b95f40eda5e105efda (patch) | |
tree | 428da987d342b841c1b05adb50cfc12b45b40a14 /src/dolphinview.cpp | |
parent | 59d9dbf810de71334e1173fa7dda59209c10032c (diff) | |
download | dolphin-b45817ccac7985d286c754b95f40eda5e105efda.tar.gz dolphin-b45817ccac7985d286c754b95f40eda5e105efda.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 59d9dbf810de71334e1173fa7dda59209c10032c.
Diffstat (limited to 'src/dolphinview.cpp')
-rw-r--r-- | src/dolphinview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 7f561a8..647b6fa 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -20,7 +20,7 @@ #include "dolphinview.h" -#include <layout.h> +#include <tqlayout.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).").arg(name), + view->statusBar()->setMessage(i18n("Renaming failed (item '%1' already exists).").tqarg(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'.").arg(source.fileName(), dest.fileName()), + m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.").tqarg(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.").arg(source.fileName(), dest.fileName()), + m_statusBar->setMessage(i18n("Renaming of file '%1' to '%2' failed.").tqarg(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.").arg(location), + m_statusBar->setMessage(i18n("The location '%1' is invalid.").tqarg(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).arg(sizeText); + text += i18n("1 File selected (%1)", "%n Files selected (%1)", fileCount).tqarg(sizeText); } return text; |