summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TupletDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/TupletDialog.cpp')
-rw-r--r--src/gui/dialogs/TupletDialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/TupletDialog.cpp b/src/gui/dialogs/TupletDialog.cpp
index 73dfd98..6dff628 100644
--- a/src/gui/dialogs/TupletDialog.cpp
+++ b/src/gui/dialogs/TupletDialog.cpp
@@ -238,7 +238,7 @@ TupletDialog::updateUntupledCombo()
TQString previousText = m_untupledCombo->currentText();
if (previousText.toInt() == 0) {
if (maxValue < 3)
- previousText = TQString("%1").tqarg(maxValue);
+ previousText = TQString("%1").arg(maxValue);
else
previousText = "3";
}
@@ -247,7 +247,7 @@ TupletDialog::updateUntupledCombo()
bool setText = false;
for (int i = 1; i <= maxValue; ++i) {
- TQString text = TQString("%1").tqarg(i);
+ TQString text = TQString("%1").arg(i);
m_untupledCombo->insertItem(text);
if (m_hasTimingAlready->isChecked()) {
if (i == (m_maxDuration * 3) / (Note(getUnitType()).getDuration()*2)) {
@@ -278,7 +278,7 @@ TupletDialog::updateTupledCombo()
if (previousText.toInt() == 0 ||
previousText.toInt() > untupled) {
if (untupled < 2)
- previousText = TQString("%1").tqarg(untupled);
+ previousText = TQString("%1").arg(untupled);
else
previousText = "2";
}
@@ -286,7 +286,7 @@ TupletDialog::updateTupledCombo()
m_tupledCombo->clear();
for (int i = 1; i < untupled; ++i) {
- TQString text = TQString("%1").tqarg(i);
+ TQString text = TQString("%1").arg(i);
m_tupledCombo->insertItem(text);
if (m_hasTimingAlready->isChecked()) {
if (i == m_maxDuration / Note(getUnitType()).getDuration()) {
@@ -310,33 +310,33 @@ TupletDialog::updateTimingDisplays()
timeT tupledDuration = unitDuration * tupledCount;
if (m_selectionDurationDisplay) {
- m_selectionDurationDisplay->setText(TQString("%1").tqarg(m_maxDuration));
+ m_selectionDurationDisplay->setText(TQString("%1").arg(m_maxDuration));
}
m_untupledDurationCalculationDisplay->setText
- (TQString(" %1 x %2 = ").tqarg(untupledCount).tqarg(unitDuration));
+ (TQString(" %1 x %2 = ").arg(untupledCount).arg(unitDuration));
m_untupledDurationDisplay->setText
- (TQString("%1").tqarg(untupledDuration));
+ (TQString("%1").arg(untupledDuration));
m_tupledDurationCalculationDisplay->setText
- (TQString(" %1 x %2 = ").tqarg(tupledCount).tqarg(unitDuration));
+ (TQString(" %1 x %2 = ").arg(tupledCount).arg(unitDuration));
m_tupledDurationDisplay->setText
- (TQString("%1").tqarg(tupledDuration));
+ (TQString("%1").arg(tupledDuration));
m_newGapDurationCalculationDisplay->setText
- (TQString(" %1 - %2 = ").tqarg(untupledDuration).tqarg(tupledDuration));
+ (TQString(" %1 - %2 = ").arg(untupledDuration).arg(tupledDuration));
m_newGapDurationDisplay->setText
- (TQString("%1").tqarg(untupledDuration - tupledDuration));
+ (TQString("%1").arg(untupledDuration - tupledDuration));
if (m_selectionDurationDisplay && m_unchangedDurationDisplay) {
if (m_maxDuration != untupledDuration) {
m_unchangedDurationCalculationDisplay->setText
- (TQString(" %1 - %2 = ").tqarg(m_maxDuration).tqarg(untupledDuration));
+ (TQString(" %1 - %2 = ").arg(m_maxDuration).arg(untupledDuration));
} else {
m_unchangedDurationCalculationDisplay->setText("");
}
m_unchangedDurationDisplay->setText
- (TQString("%1").tqarg(m_maxDuration - untupledDuration));
+ (TQString("%1").arg(m_maxDuration - untupledDuration));
}
}