summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TriggerSegmentManager.cpp
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/gui/editors/segment/TriggerSegmentManager.cpp
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gui/editors/segment/TriggerSegmentManager.cpp')
-rw-r--r--src/gui/editors/segment/TriggerSegmentManager.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/editors/segment/TriggerSegmentManager.cpp b/src/gui/editors/segment/TriggerSegmentManager.cpp
index 1dc2094..078835b 100644
--- a/src/gui/editors/segment/TriggerSegmentManager.cpp
+++ b/src/gui/editors/segment/TriggerSegmentManager.cpp
@@ -246,16 +246,16 @@ TriggerSegmentManager::slotUpdate()
TQString used = i18n("%1 on 1 track",
"%1 on %n tracks",
- tracks.size()).tqarg(uses);
+ tracks.size()).arg(uses);
TQString pitch = TQString("%1 (%2)")
- .tqarg(MidiPitchLabel((*it)->getBasePitch()).getTQString())
- .tqarg((*it)->getBasePitch());
+ .arg(MidiPitchLabel((*it)->getBasePitch()).getTQString())
+ .arg((*it)->getBasePitch());
- TQString velocity = TQString("%1").tqarg((*it)->getBaseVelocity());
+ TQString velocity = TQString("%1").arg((*it)->getBaseVelocity());
item = new TriggerManagerItem
- (m_listView, TQString("%1").tqarg(i + 1), TQString("%1").tqarg((*it)->getId()),
+ (m_listView, TQString("%1").arg(i + 1), TQString("%1").arg((*it)->getId()),
label, timeString, pitch, velocity, used);
item->setRawDuration(duration);
@@ -523,15 +523,15 @@ TriggerSegmentManager::makeDurationString(timeT time,
m_doc->getComposition().getMusicalTimeForDuration
(time, duration, bar, beat, fraction, remainder);
return TQString("%1%2%3-%4%5-%6%7-%8%9 ")
- .tqarg(bar / 100)
- .tqarg((bar % 100) / 10)
- .tqarg(bar % 10)
- .tqarg(beat / 10)
- .tqarg(beat % 10)
- .tqarg(fraction / 10)
- .tqarg(fraction % 10)
- .tqarg(remainder / 10)
- .tqarg(remainder % 10);
+ .arg(bar / 100)
+ .arg((bar % 100) / 10)
+ .arg(bar % 10)
+ .arg(beat / 10)
+ .arg(beat % 10)
+ .arg(fraction / 10)
+ .arg(fraction % 10)
+ .arg(remainder / 10)
+ .arg(remainder % 10);
}
case 1: // real time
@@ -539,12 +539,12 @@ TriggerSegmentManager::makeDurationString(timeT time,
RealTime rt =
m_doc->getComposition().getRealTimeDifference
(time, time + duration);
- // return TQString("%1 ").tqarg(rt.toString().c_str());
- return TQString("%1 ").tqarg(rt.toText().c_str());
+ // return TQString("%1 ").arg(rt.toString().c_str());
+ return TQString("%1 ").arg(rt.toText().c_str());
}
default:
- return TQString("%1 ").tqarg(duration);
+ return TQString("%1 ").arg(duration);
}
}