summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TimeSignatureDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/TimeSignatureDialog.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/dialogs/TimeSignatureDialog.cpp')
-rw-r--r--src/gui/dialogs/TimeSignatureDialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/TimeSignatureDialog.cpp b/src/gui/dialogs/TimeSignatureDialog.cpp
index 7aae2aa..f9de575 100644
--- a/src/gui/dialogs/TimeSignatureDialog.cpp
+++ b/src/gui/dialogs/TimeSignatureDialog.cpp
@@ -92,12 +92,12 @@ TimeSignatureDialog::TimeSignatureDialog(TQWidget *parent,
BigArrowButton *denomDown = new BigArrowButton(denomBox, Qt::LeftArrow);
m_numLabel = new TQLabel
- (TQString("%1").tqarg(m_timeSignature.getNumerator()), numBox);
+ (TQString("%1").arg(m_timeSignature.getNumerator()), numBox);
m_denomLabel = new TQLabel
- (TQString("%1").tqarg(m_timeSignature.getDenominator()), denomBox);
+ (TQString("%1").arg(m_timeSignature.getDenominator()), denomBox);
- m_numLabel->tqsetAlignment(AlignHCenter | AlignVCenter);
- m_denomLabel->tqsetAlignment(AlignHCenter | AlignVCenter);
+ m_numLabel->setAlignment(AlignHCenter | AlignVCenter);
+ m_denomLabel->setAlignment(AlignHCenter | AlignVCenter);
m_numLabel->setFont(*timeSigFont);
m_denomLabel->setFont(*timeSigFont);
@@ -139,11 +139,11 @@ TimeSignatureDialog::TimeSignatureDialog(TQWidget *parent,
if (atStartOfBar) {
scopeText = TQString
(i18n("Insertion point is at start of measure %1."))
- .tqarg(barNo + 1);
+ .arg(barNo + 1);
} else {
scopeText = TQString
(i18n("Insertion point is in the middle of measure %1."))
- .tqarg(barNo + 1);
+ .arg(barNo + 1);
}
} else {
scopeText = TQString
@@ -152,19 +152,19 @@ TimeSignatureDialog::TimeSignatureDialog(TQWidget *parent,
new TQLabel(scopeText, groupBox);
m_asGivenButton = new TQRadioButton
- (i18n("Start measure %1 here").tqarg(barNo + 2), groupBox);
+ (i18n("Start measure %1 here").arg(barNo + 2), groupBox);
if (!atStartOfBar) {
m_startOfBarButton = new TQRadioButton
(i18n("Change time from start of measure %1")
- .tqarg(barNo + 1), groupBox);
+ .arg(barNo + 1), groupBox);
m_startOfBarButton->setChecked(true);
} else {
m_asGivenButton->setChecked(true);
}
} else {
new TQLabel(i18n("Time change will take effect at the start of measure %1.")
- .tqarg(barNo + 1), groupBox);
+ .arg(barNo + 1), groupBox);
}
}
@@ -231,7 +231,7 @@ TimeSignatureDialog::slotNumDown()
int n = m_timeSignature.getNumerator();
if (--n >= 1) {
m_timeSignature = TimeSignature(n, m_timeSignature.getDenominator());
- m_numLabel->setText(TQString("%1").tqarg(n));
+ m_numLabel->setText(TQString("%1").arg(n));
}
slotUpdateCommonTimeButton();
}
@@ -242,7 +242,7 @@ TimeSignatureDialog::slotNumUp()
int n = m_timeSignature.getNumerator();
if (++n <= 99) {
m_timeSignature = TimeSignature(n, m_timeSignature.getDenominator());
- m_numLabel->setText(TQString("%1").tqarg(n));
+ m_numLabel->setText(TQString("%1").arg(n));
}
slotUpdateCommonTimeButton();
}
@@ -253,7 +253,7 @@ TimeSignatureDialog::slotDenomDown()
int n = m_timeSignature.getDenominator();
if ((n /= 2) >= 1) {
m_timeSignature = TimeSignature(m_timeSignature.getNumerator(), n);
- m_denomLabel->setText(TQString("%1").tqarg(n));
+ m_denomLabel->setText(TQString("%1").arg(n));
}
slotUpdateCommonTimeButton();
}
@@ -264,7 +264,7 @@ TimeSignatureDialog::slotDenomUp()
int n = m_timeSignature.getDenominator();
if ((n *= 2) <= 64) {
m_timeSignature = TimeSignature(m_timeSignature.getNumerator(), n);
- m_denomLabel->setText(TQString("%1").tqarg(n));
+ m_denomLabel->setText(TQString("%1").arg(n));
}
slotUpdateCommonTimeButton();
}