summaryrefslogtreecommitdiffstats
path: root/src/commands/notation/RespellCommand.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/commands/notation/RespellCommand.cpp
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/commands/notation/RespellCommand.cpp')
-rw-r--r--src/commands/notation/RespellCommand.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/commands/notation/RespellCommand.cpp b/src/commands/notation/RespellCommand.cpp
index 6264a0e..81e635f 100644
--- a/src/commands/notation/RespellCommand.cpp
+++ b/src/commands/notation/RespellCommand.cpp
@@ -38,7 +38,7 @@ namespace Rosegarden
using namespace BaseProperties;
using namespace Accidentals;
-QString
+TQString
RespellCommand::getGlobalName(Type type, Accidental accidental)
{
switch (type) {
@@ -47,17 +47,17 @@ RespellCommand::getGlobalName(Type type, Accidental accidental)
TQString s(i18n("Respell with %1"));
//!!! should be in notationstrings:
if (accidental == DoubleSharp) {
- s = s.arg(i18n("Do&uble Sharp"));
+ s = s.tqarg(i18n("Do&uble Sharp"));
} else if (accidental == Sharp) {
- s = s.arg(i18n("&Sharp"));
+ s = s.tqarg(i18n("&Sharp"));
} else if (accidental == Flat) {
- s = s.arg(i18n("&Flat"));
+ s = s.tqarg(i18n("&Flat"));
} else if (accidental == DoubleFlat) {
- s = s.arg(i18n("Dou&ble Flat"));
+ s = s.tqarg(i18n("Dou&ble Flat"));
} else if (accidental == Natural) {
- s = s.arg(i18n("&Natural"));
+ s = s.tqarg(i18n("&Natural"));
} else {
- s = s.arg(i18n("N&one"));
+ s = s.tqarg(i18n("N&one"));
}
return s;
}