summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/SegmentParameterBox.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/parameters/SegmentParameterBox.cpp
parentef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (diff)
downloadrosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.tar.gz
rosegarden-97f1c43c867725d49f3943a68ef08d7e71767e99.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gui/editors/parameters/SegmentParameterBox.cpp')
-rw-r--r--src/gui/editors/parameters/SegmentParameterBox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/editors/parameters/SegmentParameterBox.cpp b/src/gui/editors/parameters/SegmentParameterBox.cpp
index 34f3976..3f270dc 100644
--- a/src/gui/editors/parameters/SegmentParameterBox.cpp
+++ b/src/gui/editors/parameters/SegmentParameterBox.cpp
@@ -333,7 +333,7 @@ SegmentParameterBox::initBox()
// populate the transpose combo
//
for (int i = -m_transposeRange; i < m_transposeRange + 1; i++) {
- m_transposeValue->insertItem(noMap, TQString("%1").tqarg(i));
+ m_transposeValue->insertItem(noMap, TQString("%1").arg(i));
if (i == 0)
m_transposeValue->setCurrentItem(m_transposeValue->count() - 1);
}
@@ -363,7 +363,7 @@ SegmentParameterBox::initBox()
for (int i = 0; i < 10; i++) {
int rtd = (i < 5 ? ((i + 1) * 10) : ((i - 3) * 50));
m_realTimeDelays.push_back(rtd);
- m_delayValue->insertItem(i18n("%1 ms").tqarg(rtd));
+ m_delayValue->insertItem(i18n("%1 ms").arg(rtd));
}
// set delay blank initially
@@ -666,7 +666,7 @@ SegmentParameterBox::populateBoxFromSegments()
// 2nd arg of "true" means "add if necessary"
case All:
m_transposeValue->
- setCurrentItem(TQString("%1").tqarg(transposeLevel), true);
+ setCurrentItem(TQString("%1").arg(transposeLevel), true);
break;
case Some:
@@ -694,7 +694,7 @@ SegmentParameterBox::populateBoxFromSegments()
} else if (delayLevel < 0) {
- m_delayValue->setCurrentItem(i18n("%1 ms").tqarg( -delayLevel),
+ m_delayValue->setCurrentItem(i18n("%1 ms").arg( -delayLevel),
true);
}
@@ -1019,8 +1019,8 @@ SegmentParameterBox::updateHighLow()
//!!! FIXME this code is broken, and needs to be fixed after the fashion of
//the TPB, but I'm not bothering with that at this time, because they are
//going to be hidden for 1.3 anyway
-// m_highButton->setText(TQString("&High: %1%2").tqarg(highest.getNoteName(key)).tqarg(highest.getOctave(base)));
-// m_lowButton->setText(TQString("&Low: %1%2").tqarg(lowest.getNoteName(key)).tqarg(lowest.getOctave(base)));
+// m_highButton->setText(TQString("&High: %1%2").arg(highest.getNoteName(key)).arg(highest.getOctave(base)));
+// m_lowButton->setText(TQString("&Low: %1%2").arg(lowest.getNoteName(key)).arg(lowest.getOctave(base)));
}
void