diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 80ee419f074dc252449791628d4584b5c0ea0c9b (patch) | |
tree | fba229106f296da317a8f925f32d76841386c026 /src/document/MultiViewCommandHistory.cpp | |
parent | bb426283a6b45a18f99a8be445438e8f4deeea55 (diff) | |
download | rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.tar.gz rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/document/MultiViewCommandHistory.cpp')
-rw-r--r-- | src/document/MultiViewCommandHistory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document/MultiViewCommandHistory.cpp b/src/document/MultiViewCommandHistory.cpp index 04f1aa4..0cc94b2 100644 --- a/src/document/MultiViewCommandHistory.cpp +++ b/src/document/MultiViewCommandHistory.cpp @@ -322,8 +322,8 @@ MultiViewCommandHistory::updateButton(bool undo, } else { action->setEnabled(true); TQString commandName = stack.top()->name(); - commandName.tqreplace(TQRegExp("&"), ""); - commandName.tqreplace(TQRegExp("\\.\\.\\.$"), ""); + commandName.replace(TQRegExp("&"), ""); + commandName.replace(TQRegExp("\\.\\.\\.$"), ""); if (undo) text = i18n("Und&o %1").tqarg(commandName); else @@ -364,8 +364,8 @@ MultiViewCommandHistory::updateMenu(bool undo, stack.pop(); TQString commandName = command->name(); - commandName.tqreplace(TQRegExp("&"), ""); - commandName.tqreplace(TQRegExp("\\.\\.\\.$"), ""); + commandName.replace(TQRegExp("&"), ""); + commandName.replace(TQRegExp("\\.\\.\\.$"), ""); TQString text; if (undo) |