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/undomanager.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/undomanager.cpp')
-rw-r--r-- | src/undomanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/undomanager.cpp b/src/undomanager.cpp index 0f4ac43..21b3364 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").arg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1").tqarg(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").arg(commandText(m_history[m_historyIndex]))); + emit undoTextChanged(i18n("Undo: %1").tqarg(commandText(m_history[m_historyIndex]))); } if (m_historyIndex < static_cast<int>(m_history.count()) - 1) { emit redoAvailable(true); - emit redoTextChanged(i18n("Redo: %1").arg(commandText(command))); + emit redoTextChanged(i18n("Redo: %1").tqarg(commandText(command))); } else { emit redoAvailable(false); @@ -244,11 +244,11 @@ void UndoManager::redo() emit redoTextChanged(i18n("Redo")); } else { - emit redoTextChanged(i18n("Redo: %1").arg(commandText(m_history[m_historyIndex + 1]))); + emit redoTextChanged(i18n("Redo: %1").tqarg(commandText(m_history[m_historyIndex + 1]))); } emit undoAvailable(true); - emit undoTextChanged(i18n("Undo: %1").arg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1").tqarg(commandText(command))); Dolphin& dolphin = Dolphin::mainWin(); |