summaryrefslogtreecommitdiffstats
path: root/src/commands/notation
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:40:46 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:40:46 -0600
commit97f1c43c867725d49f3943a68ef08d7e71767e99 (patch)
treeece35be847c1fcc581a6db7b3d9fc6aa497590af /src/commands/notation
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/commands/notation')
-rw-r--r--src/commands/notation/AddFingeringMarkCommand.cpp2
-rw-r--r--src/commands/notation/AddIndicationCommand.cpp2
-rw-r--r--src/commands/notation/AddMarkCommand.cpp4
-rw-r--r--src/commands/notation/ClefInsertionCommand.cpp2
-rw-r--r--src/commands/notation/KeyInsertionCommand.h2
-rw-r--r--src/commands/notation/MultiKeyInsertionCommand.h2
-rw-r--r--src/commands/notation/RespellCommand.cpp12
7 files changed, 13 insertions, 13 deletions
diff --git a/src/commands/notation/AddFingeringMarkCommand.cpp b/src/commands/notation/AddFingeringMarkCommand.cpp
index 4715951..2a6a310 100644
--- a/src/commands/notation/AddFingeringMarkCommand.cpp
+++ b/src/commands/notation/AddFingeringMarkCommand.cpp
@@ -46,7 +46,7 @@ AddFingeringMarkCommand::getGlobalName(TQString fingering)
else if (fingering == "0")
return i18n("Add Fingering &0 (Thumb)");
else
- return i18n("Add Fingering &%1").tqarg(fingering);
+ return i18n("Add Fingering &%1").arg(fingering);
}
void
diff --git a/src/commands/notation/AddIndicationCommand.cpp b/src/commands/notation/AddIndicationCommand.cpp
index fd24930..e6b4493 100644
--- a/src/commands/notation/AddIndicationCommand.cpp
+++ b/src/commands/notation/AddIndicationCommand.cpp
@@ -164,7 +164,7 @@ AddIndicationCommand::getGlobalName(std::string indicationType)
return i18n("Add &Glissando");
}
- TQString n = i18n("Add &%1%2").tqarg((char)toupper(indicationType[0])).tqarg(strtoqstr(indicationType.substr(1)));
+ TQString n = i18n("Add &%1%2").arg((char)toupper(indicationType[0])).arg(strtoqstr(indicationType.substr(1)));
return n;
}
diff --git a/src/commands/notation/AddMarkCommand.cpp b/src/commands/notation/AddMarkCommand.cpp
index 5386eac..49c69ec 100644
--- a/src/commands/notation/AddMarkCommand.cpp
+++ b/src/commands/notation/AddMarkCommand.cpp
@@ -81,12 +81,12 @@ AddMarkCommand::getGlobalName(Mark markType)
else if (markType == Marks::MordentLongInverted)
m = i18n("Lon&g Inverted Mordent");
else
- m = i18n("&%1%2").tqarg(m[0].upper()).tqarg(m.right(m.length() - 1));
+ m = i18n("&%1%2").arg(m[0].upper()).arg(m.right(m.length() - 1));
// FIXME: That last i18n has very little chance of working, unless
// by some miracle the exact same string was translated elsewhere already
// but we'll leave it as a warning
- m = i18n("Add %1").tqarg(m);
+ m = i18n("Add %1").arg(m);
return m;
}
diff --git a/src/commands/notation/ClefInsertionCommand.cpp b/src/commands/notation/ClefInsertionCommand.cpp
index 701b873..2268325 100644
--- a/src/commands/notation/ClefInsertionCommand.cpp
+++ b/src/commands/notation/ClefInsertionCommand.cpp
@@ -68,7 +68,7 @@ ClefInsertionCommand::getGlobalName(Clef *)
if (clef) {
TQString name(strtoqstr(clef->getClefType()));
name = name.left(1).upper() + name.right(name.length()-1);
- return i18n("Change to %1 Cle&f...").tqarg(name);
+ return i18n("Change to %1 Cle&f...").arg(name);
} else {
*/
return i18n("Add Cle&f Change...");
diff --git a/src/commands/notation/KeyInsertionCommand.h b/src/commands/notation/KeyInsertionCommand.h
index 7adfd6b..1a03383 100644
--- a/src/commands/notation/KeyInsertionCommand.h
+++ b/src/commands/notation/KeyInsertionCommand.h
@@ -62,7 +62,7 @@ public:
static TQString getGlobalName(Key *key = 0) {
if (key) {
- return i18n("Change to &Key %1...").tqarg(strtoqstr(key->getName()));
+ return i18n("Change to &Key %1...").arg(strtoqstr(key->getName()));
} else {
return i18n("Add &Key Change...");
}
diff --git a/src/commands/notation/MultiKeyInsertionCommand.h b/src/commands/notation/MultiKeyInsertionCommand.h
index 9683589..644e877 100644
--- a/src/commands/notation/MultiKeyInsertionCommand.h
+++ b/src/commands/notation/MultiKeyInsertionCommand.h
@@ -60,7 +60,7 @@ public:
static TQString getGlobalName(Key *key = 0) {
if (key) {
- return i18n("Change all to &Key %1...").tqarg(strtoqstr(key->getName()));
+ return i18n("Change all to &Key %1...").arg(strtoqstr(key->getName()));
} else {
return i18n("Add &Key Change...");
}
diff --git a/src/commands/notation/RespellCommand.cpp b/src/commands/notation/RespellCommand.cpp
index 81e635f..983622a 100644
--- a/src/commands/notation/RespellCommand.cpp
+++ b/src/commands/notation/RespellCommand.cpp
@@ -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.tqarg(i18n("Do&uble Sharp"));
+ s = s.arg(i18n("Do&uble Sharp"));
} else if (accidental == Sharp) {
- s = s.tqarg(i18n("&Sharp"));
+ s = s.arg(i18n("&Sharp"));
} else if (accidental == Flat) {
- s = s.tqarg(i18n("&Flat"));
+ s = s.arg(i18n("&Flat"));
} else if (accidental == DoubleFlat) {
- s = s.tqarg(i18n("Dou&ble Flat"));
+ s = s.arg(i18n("Dou&ble Flat"));
} else if (accidental == Natural) {
- s = s.tqarg(i18n("&Natural"));
+ s = s.arg(i18n("&Natural"));
} else {
- s = s.tqarg(i18n("N&one"));
+ s = s.arg(i18n("N&one"));
}
return s;
}