summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/MarkerEditor.cpp
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/gui/editors/segment/MarkerEditor.cpp
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gui/editors/segment/MarkerEditor.cpp')
-rw-r--r--src/gui/editors/segment/MarkerEditor.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/editors/segment/MarkerEditor.cpp b/src/gui/editors/segment/MarkerEditor.cpp
index 3d8d11d..0b47cb8 100644
--- a/src/gui/editors/segment/MarkerEditor.cpp
+++ b/src/gui/editors/segment/MarkerEditor.cpp
@@ -182,7 +182,7 @@ void
MarkerEditor::updatePosition()
{
timeT pos = m_doc->getComposition().getPosition();
- m_absoluteTime->setText(TQString("%1").tqarg(pos));
+ m_absoluteTime->setText(TQString("%1").arg(pos));
RealTime rT = m_doc->getComposition().getElapsedRealTime(pos);
long hours = rT.sec / (60 * 60);
@@ -192,9 +192,9 @@ MarkerEditor::updatePosition()
TQString realTime, secsStr;
if (hours)
- realTime += TQString("%1h ").tqarg(hours);
+ realTime += TQString("%1h ").arg(hours);
if (mins)
- realTime += TQString("%1m ").tqarg(mins);
+ realTime += TQString("%1m ").arg(mins);
secsStr.sprintf("%ld.%03lds", secs, msecs);
realTime += secsStr;
@@ -203,7 +203,7 @@ MarkerEditor::updatePosition()
m_realTime->setText(realTime);
TQString barTime =
- TQString("%1").tqarg(m_doc->getComposition().getBarNumber(pos) + 1);
+ TQString("%1").arg(m_doc->getComposition().getBarNumber(pos) + 1);
// again only update if needed
if (m_barTime->text() != barTime)
@@ -542,27 +542,27 @@ MarkerEditor::makeTimeString(timeT time, int timeMode)
(time, bar, beat, fraction, remainder);
++bar;
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
{
RealTime rt =
m_doc->getComposition().getElapsedRealTime(time);
- // 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(time);
+ return TQString("%1 ").arg(time);
}
}