From b651b3b01b24418d0e6387870d9758a61d7bd9ff Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:35:26 -0600 Subject: Remove additional unneeded tq method conversions --- src/undomanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/undomanager.cpp') diff --git a/src/undomanager.cpp b/src/undomanager.cpp index 21b3364..0f4ac43 100644 --- a/src/undomanager.cpp +++ b/src/undomanager.cpp @@ -84,7 +84,7 @@ void UndoManager::addCommand(const DolphinCommand& command) } emit undoAvailable(true); - emit undoTextChanged(i18n("Undo: %1").tqarg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1").arg(commandText(command))); // prevent an endless growing of the Undo history if (m_historyIndex > 10000) { @@ -132,12 +132,12 @@ void UndoManager::undo() emit undoTextChanged(i18n("Undo")); } else { - emit undoTextChanged(i18n("Undo: %1").tqarg(commandText(m_history[m_historyIndex]))); + emit undoTextChanged(i18n("Undo: %1").arg(commandText(m_history[m_historyIndex]))); } if (m_historyIndex < static_cast(m_history.count()) - 1) { emit redoAvailable(true); - emit redoTextChanged(i18n("Redo: %1").tqarg(commandText(command))); + emit redoTextChanged(i18n("Redo: %1").arg(commandText(command))); } else { emit redoAvailable(false); @@ -244,11 +244,11 @@ void UndoManager::redo() emit redoTextChanged(i18n("Redo")); } else { - emit redoTextChanged(i18n("Redo: %1").tqarg(commandText(m_history[m_historyIndex + 1]))); + emit redoTextChanged(i18n("Redo: %1").arg(commandText(m_history[m_historyIndex + 1]))); } emit undoAvailable(true); - emit undoTextChanged(i18n("Undo: %1").tqarg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1").arg(commandText(command))); Dolphin& dolphin = Dolphin::mainWin(); -- cgit v1.2.1