diff options
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 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; |