summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TempoDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/TempoDialog.cpp')
-rw-r--r--src/gui/dialogs/TempoDialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/TempoDialog.cpp b/src/gui/dialogs/TempoDialog.cpp
index f55d3fd..7d7bbd9 100644
--- a/src/gui/dialogs/TempoDialog.cpp
+++ b/src/gui/dialogs/TempoDialog.cpp
@@ -63,18 +63,18 @@ TempoDialog::TempoDialog(TQWidget *parent, RosegardenGUIDoc *doc,
TQGroupBox *groupBox = new TQGroupBox(1, Qt::Horizontal, i18n("Tempo"), vbox);
TQFrame *frame = new TQFrame(groupBox);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 5, 5);
+ TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 5, 5);
// Set tempo
- tqlayout->addWidget(new TQLabel(i18n("New tempo:"), frame), 0, 1);
+ layout->addWidget(new TQLabel(i18n("New tempo:"), frame), 0, 1);
m_tempoValueSpinBox = new HSpinBox(frame, 0, 100000, 0.0, 1000.0, 5);
- tqlayout->addWidget(m_tempoValueSpinBox, 0, 2);
+ layout->addWidget(m_tempoValueSpinBox, 0, 2);
connect(m_tempoValueSpinBox, TQT_SIGNAL(valueChanged(const TQString &)),
TQT_SLOT(slotTempoChanged(const TQString &)));
m_tempoTap= new TQPushButton(i18n("Tap"), frame);
- tqlayout->addWidget(m_tempoTap, 0, 3);
+ layout->addWidget(m_tempoTap, 0, 3);
connect(m_tempoTap, TQT_SIGNAL(clicked()), TQT_SLOT(slotTapClicked()));
@@ -85,13 +85,13 @@ TempoDialog::TempoDialog(TQWidget *parent, RosegardenGUIDoc *doc,
// m_tempoTargetCheckBox = new TQCheckBox(i18n("Ramping to:"), frame);
m_tempoTargetSpinBox = new HSpinBox(frame, 0, 100000, 0.0, 1000.0, 5);
- // tqlayout->addMultiCellWidget(m_tempoTargetCheckBox, 1, 1, 0, 1, AlignRight);
- // tqlayout->addWidget(m_tempoTargetSpinBox, 1, 2);
+ // layout->addMultiCellWidget(m_tempoTargetCheckBox, 1, 1, 0, 1, AlignRight);
+ // layout->addWidget(m_tempoTargetSpinBox, 1, 2);
- tqlayout->addMultiCellWidget(m_tempoConstant, 1, 1, 1, 2);
- tqlayout->addMultiCellWidget(m_tempoRampToNext, 2, 2, 1, 2);
- tqlayout->addWidget(m_tempoRampToTarget, 3, 1);
- tqlayout->addWidget(m_tempoTargetSpinBox, 3, 2);
+ layout->addMultiCellWidget(m_tempoConstant, 1, 1, 1, 2);
+ layout->addMultiCellWidget(m_tempoRampToNext, 2, 2, 1, 2);
+ layout->addWidget(m_tempoRampToTarget, 3, 1);
+ layout->addWidget(m_tempoTargetSpinBox, 3, 2);
// connect(m_tempoTargetCheckBox, TQT_SIGNAL(clicked()),
// TQT_SLOT(slotTargetCheckBoxClicked()));
@@ -105,13 +105,13 @@ TempoDialog::TempoDialog(TQWidget *parent, RosegardenGUIDoc *doc,
TQT_SLOT(slotTargetChanged(const TQString &)));
m_tempoBeatLabel = new TQLabel(frame);
- tqlayout->addWidget(m_tempoBeatLabel, 0, 4);
+ layout->addWidget(m_tempoBeatLabel, 0, 4);
m_tempoBeat = new TQLabel(frame);
- tqlayout->addWidget(m_tempoBeat, 0, 5);
+ layout->addWidget(m_tempoBeat, 0, 5);
m_tempoBeatsPerMinute = new TQLabel(frame);
- tqlayout->addWidget(m_tempoBeatsPerMinute, 0, 6);
+ layout->addWidget(m_tempoBeatsPerMinute, 0, 6);
m_timeEditor = 0;