summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/TimeWidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-02 11:38:07 +0900
committerMichele Calgaro <[email protected]>2024-01-02 12:06:34 +0900
commite9f46130c2656aaf299d8793556310c9bf95daee (patch)
tree19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/widgets/TimeWidget.cpp
parent9b054308cef27a642eaa6e9a86db215151468e0b (diff)
downloadrosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.tar.gz
rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/widgets/TimeWidget.cpp')
-rw-r--r--src/gui/widgets/TimeWidget.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/widgets/TimeWidget.cpp b/src/gui/widgets/TimeWidget.cpp
index 9fdddf6..11cf037 100644
--- a/src/gui/widgets/TimeWidget.cpp
+++ b/src/gui/widgets/TimeWidget.cpp
@@ -129,8 +129,8 @@ TimeWidget::init(bool editable)
(NotePixmapFactory::makeNoteMenuPixmap(duration, error));
m_note->insertItem(pmap, label); // ignore error
}
- connect(m_note, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotNoteChanged(int)));
+ connect(m_note, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotNoteChanged(int)));
layout->addMultiCellWidget(m_note, 0, 0, 1, 3);
} else {
@@ -154,8 +154,8 @@ TimeWidget::init(bool editable)
m_timeT = new TQSpinBox(frame);
m_timeT->setLineStep
(Note(Note::Shortest).getDuration());
- connect(m_timeT, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotTimeTChanged(int)));
+ connect(m_timeT, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotTimeTChanged(int)));
layout->addWidget(m_timeT, 0, 5);
} else {
m_timeT = 0;
@@ -176,8 +176,8 @@ TimeWidget::init(bool editable)
m_timeT = new TQSpinBox(frame);
m_timeT->setLineStep
(Note(Note::Shortest).getDuration());
- connect(m_timeT, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotTimeTChanged(int)));
+ connect(m_timeT, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotTimeTChanged(int)));
layout->addWidget(m_timeT, 0, 1);
layout->addWidget(new TQLabel(i18n("units"), frame), 0, 2);
} else {
@@ -197,8 +197,8 @@ TimeWidget::init(bool editable)
m_bar = new TQSpinBox(frame);
if (m_isDuration)
m_bar->setMinValue(0);
- connect(m_bar, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotBarBeatOrFractionChanged(int)));
+ connect(m_bar, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotBarBeatOrFractionChanged(int)));
layout->addWidget(m_bar, 1, 1);
} else {
m_bar = 0;
@@ -215,8 +215,8 @@ TimeWidget::init(bool editable)
m_beatLabel = 0;
m_beat = new TQSpinBox(frame);
m_beat->setMinValue(1);
- connect(m_beat, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotBarBeatOrFractionChanged(int)));
+ connect(m_beat, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotBarBeatOrFractionChanged(int)));
layout->addWidget(m_beat, 1, 3);
} else {
m_beat = 0;
@@ -236,8 +236,8 @@ TimeWidget::init(bool editable)
m_fractionLabel = 0;
m_fraction = new TQSpinBox(frame);
m_fraction->setMinValue(1);
- connect(m_fraction, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotBarBeatOrFractionChanged(int)));
+ connect(m_fraction, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotBarBeatOrFractionChanged(int)));
layout->addWidget(m_fraction, 1, 5);
} else {
m_fraction = 0;
@@ -258,8 +258,8 @@ TimeWidget::init(bool editable)
m_sec = new TQSpinBox(frame);
if (m_isDuration)
m_sec->setMinValue(0);
- connect(m_sec, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotSecOrMSecChanged(int)));
+ connect(m_sec, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotSecOrMSecChanged(int)));
layout->addWidget(m_sec, 2, 1);
} else {
m_sec = 0;
@@ -277,8 +277,8 @@ TimeWidget::init(bool editable)
m_msec = new TQSpinBox(frame);
m_msec->setMinValue(0);
m_msec->setLineStep(10);
- connect(m_msec, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotSecOrMSecChanged(int)));
+ connect(m_msec, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotSecOrMSecChanged(int)));
layout->addWidget(m_msec, 2, 3);
} else {
m_msec = 0;