summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackButtons.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/editors/segment/TrackButtons.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/editors/segment/TrackButtons.cpp')
-rw-r--r--src/gui/editors/segment/TrackButtons.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/editors/segment/TrackButtons.cpp b/src/gui/editors/segment/TrackButtons.cpp
index 98bbb62..cf2ca74 100644
--- a/src/gui/editors/segment/TrackButtons.cpp
+++ b/src/gui/editors/segment/TrackButtons.cpp
@@ -106,18 +106,18 @@ TrackButtons::TrackButtons(RosegardenGUIDoc* doc,
m_layout->addStretch(20);
- connect(m_recordSigMapper, TQT_SIGNAL(mapped(int)),
- this, TQT_SLOT(slotToggleRecordTrack(int)));
+ connect(m_recordSigMapper, TQ_SIGNAL(mapped(int)),
+ this, TQ_SLOT(slotToggleRecordTrack(int)));
- connect(m_muteSigMapper, TQT_SIGNAL(mapped(int)),
- this, TQT_SLOT(slotToggleMutedTrack(int)));
+ connect(m_muteSigMapper, TQ_SIGNAL(mapped(int)),
+ this, TQ_SLOT(slotToggleMutedTrack(int)));
// connect signal mappers
- connect(m_instListSigMapper, TQT_SIGNAL(mapped(int)),
- this, TQT_SLOT(slotInstrumentSelection(int)));
+ connect(m_instListSigMapper, TQ_SIGNAL(mapped(int)),
+ this, TQ_SLOT(slotInstrumentSelection(int)));
- connect(m_clickedSigMapper, TQT_SIGNAL(mapped(int)),
- this, TQT_SIGNAL(trackSelected(int)));
+ connect(m_clickedSigMapper, TQ_SIGNAL(mapped(int)),
+ this, TQ_SIGNAL(trackSelected(int)));
// // Populate instrument popup menu just once at start-up
// //
@@ -767,8 +767,8 @@ TrackButtons::populateInstrumentPopup(Instrument *thisTrackInstr, TQPopupMenu* i
// Connect up the submenu
//
- connect(subMenu, TQT_SIGNAL(activated(int)),
- TQT_SLOT(slotInstrumentPopupActivated(int)));
+ connect(subMenu, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(slotInstrumentPopupActivated(int)));
} else if (!instrUsedByMe) {
@@ -1066,10 +1066,10 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId)
record->off();
// Connect them to their sigmappers
- connect(record, TQT_SIGNAL(stateChanged(bool)),
- m_recordSigMapper, TQT_SLOT(map()));
- connect(mute, TQT_SIGNAL(stateChanged(bool)),
- m_muteSigMapper, TQT_SLOT(map()));
+ connect(record, TQ_SIGNAL(stateChanged(bool)),
+ m_recordSigMapper, TQ_SLOT(map()));
+ connect(mute, TQ_SIGNAL(stateChanged(bool)),
+ m_muteSigMapper, TQ_SLOT(map()));
m_recordSigMapper->setMapping(record, track->getPosition());
m_muteSigMapper->setMapping(mute, track->getPosition());
@@ -1101,8 +1101,8 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId)
trackLabel->setFixedHeight(m_cellSize - buttonGap);
trackLabel->setIndent(7);
- connect(trackLabel, TQT_SIGNAL(renameTrack(TQString, TrackId)),
- TQT_SLOT(slotRenameTrack(TQString, TrackId)));
+ connect(trackLabel, TQ_SIGNAL(renameTrack(TQString, TrackId)),
+ TQ_SLOT(slotRenameTrack(TQString, TrackId)));
// Store the TrackLabel pointer
//
@@ -1111,10 +1111,10 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId)
// Connect it
setButtonMapping(trackLabel, trackId);
- connect(trackLabel, TQT_SIGNAL(changeToInstrumentList()),
- m_instListSigMapper, TQT_SLOT(map()));
- connect(trackLabel, TQT_SIGNAL(clicked()),
- m_clickedSigMapper, TQT_SLOT(map()));
+ connect(trackLabel, TQ_SIGNAL(changeToInstrumentList()),
+ m_instListSigMapper, TQ_SLOT(map()));
+ connect(trackLabel, TQ_SIGNAL(clicked()),
+ m_clickedSigMapper, TQ_SLOT(map()));
//
// instrument label