summaryrefslogtreecommitdiffstats
path: root/src/commands/segment
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:46 -0600
commit97f1c43c867725d49f3943a68ef08d7e71767e99 (patch)
treeece35be847c1fcc581a6db7b3d9fc6aa497590af /src/commands/segment
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/commands/segment')
-rw-r--r--src/commands/segment/AudioSegmentSplitCommand.cpp2
-rw-r--r--src/commands/segment/SegmentChangePlayableRangeCommand.cpp2
-rw-r--r--src/commands/segment/SegmentChangeQuantizationCommand.cpp2
-rw-r--r--src/commands/segment/SegmentChangeTransposeCommand.cpp2
-rw-r--r--src/commands/segment/SegmentSplitCommand.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/segment/AudioSegmentSplitCommand.cpp b/src/commands/segment/AudioSegmentSplitCommand.cpp
index 2f547db..6657b7b 100644
--- a/src/commands/segment/AudioSegmentSplitCommand.cpp
+++ b/src/commands/segment/AudioSegmentSplitCommand.cpp
@@ -101,7 +101,7 @@ AudioSegmentSplitCommand::execute()
m_segmentLabel = m_segment->getLabel();
TQString newLabel = strtoqstr(m_segmentLabel);
if (!newLabel.endsWith(i18n(" (split)"))) {
- newLabel = i18n("%1 (split)").tqarg(newLabel);
+ newLabel = i18n("%1 (split)").arg(newLabel);
}
m_segment->setLabel(qstrtostr(newLabel));
m_newSegment->setLabel(m_segment->getLabel());
diff --git a/src/commands/segment/SegmentChangePlayableRangeCommand.cpp b/src/commands/segment/SegmentChangePlayableRangeCommand.cpp
index 7590c78..f4ed525 100644
--- a/src/commands/segment/SegmentChangePlayableRangeCommand.cpp
+++ b/src/commands/segment/SegmentChangePlayableRangeCommand.cpp
@@ -70,7 +70,7 @@ SegmentChangePlayableRangeCommand::getGlobalName(int low, int high)
if (!unit) {
return "Undo change playable range";
} else {
- return TQString("Change playable range to %1-%2").tqarg(low, high);
+ return TQString("Change playable range to %1-%2").arg(low, high);
}
}
diff --git a/src/commands/segment/SegmentChangeQuantizationCommand.cpp b/src/commands/segment/SegmentChangeQuantizationCommand.cpp
index ceb021e..1baa86e 100644
--- a/src/commands/segment/SegmentChangeQuantizationCommand.cpp
+++ b/src/commands/segment/SegmentChangeQuantizationCommand.cpp
@@ -108,7 +108,7 @@ SegmentChangeQuantizationCommand::getGlobalName(timeT unit)
} else {
timeT error = 0;
TQString label = NotationStrings::makeNoteMenuLabel(unit, true, error);
- return TQString("Quantize to %1").tqarg(label);
+ return TQString("Quantize to %1").arg(label);
}
}
diff --git a/src/commands/segment/SegmentChangeTransposeCommand.cpp b/src/commands/segment/SegmentChangeTransposeCommand.cpp
index 828f759..317f44b 100644
--- a/src/commands/segment/SegmentChangeTransposeCommand.cpp
+++ b/src/commands/segment/SegmentChangeTransposeCommand.cpp
@@ -65,7 +65,7 @@ SegmentChangeTransposeCommand::getGlobalName(int unit)
if (!unit) {
return "Undo change transposition";
} else {
- return TQString("Change transposition to %1").tqarg(unit);
+ return TQString("Change transposition to %1").arg(unit);
}
}
diff --git a/src/commands/segment/SegmentSplitCommand.cpp b/src/commands/segment/SegmentSplitCommand.cpp
index 9d4b1af..5de234c 100644
--- a/src/commands/segment/SegmentSplitCommand.cpp
+++ b/src/commands/segment/SegmentSplitCommand.cpp
@@ -133,7 +133,7 @@ SegmentSplitCommand::execute()
m_segmentLabel = m_segment->getLabel();
TQString newLabel = strtoqstr(m_segmentLabel);
if (!newLabel.endsWith(i18n(" (split)"))) {
- newLabel = i18n("%1 (split)").tqarg(newLabel);
+ newLabel = i18n("%1 (split)").arg(newLabel);
}
m_newSegmentA->setLabel(newLabel.ascii());
m_newSegmentB->setLabel(newLabel.ascii());