summaryrefslogtreecommitdiffstats
path: root/src/document/MultiViewCommandHistory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/document/MultiViewCommandHistory.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/document/MultiViewCommandHistory.cpp')
-rw-r--r--src/document/MultiViewCommandHistory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document/MultiViewCommandHistory.cpp b/src/document/MultiViewCommandHistory.cpp
index a987f0f..7e529fb 100644
--- a/src/document/MultiViewCommandHistory.cpp
+++ b/src/document/MultiViewCommandHistory.cpp
@@ -325,9 +325,9 @@ MultiViewCommandHistory::updateButton(bool undo,
commandName.replace(TQRegExp("&"), "");
commandName.replace(TQRegExp("\\.\\.\\.$"), "");
if (undo)
- text = i18n("Und&o %1").tqarg(commandName);
+ text = i18n("Und&o %1").arg(commandName);
else
- text = i18n("Re&do %1").tqarg(commandName);
+ text = i18n("Re&do %1").arg(commandName);
action->setText(text);
}
}
@@ -369,9 +369,9 @@ MultiViewCommandHistory::updateMenu(bool undo,
TQString text;
if (undo)
- text = i18n("Und&o %1").tqarg(commandName);
+ text = i18n("Und&o %1").arg(commandName);
else
- text = i18n("Re&do %1").tqarg(commandName);
+ text = i18n("Re&do %1").arg(commandName);
menu->insertItem(text, j++);
}