summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackButtons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/TrackButtons.cpp')
-rw-r--r--src/gui/editors/segment/TrackButtons.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/segment/TrackButtons.cpp b/src/gui/editors/segment/TrackButtons.cpp
index 2aef6e7..98bbb62 100644
--- a/src/gui/editors/segment/TrackButtons.cpp
+++ b/src/gui/editors/segment/TrackButtons.cpp
@@ -76,10 +76,10 @@ TrackButtons::TrackButtons(RosegardenGUIDoc* doc,
: TQFrame(parent, name, f),
m_doc(doc),
m_layout(new TQVBoxLayout(this)),
- m_recordSigMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
- m_muteSigMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
- m_clickedSigMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
- m_instListSigMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
+ m_recordSigMapper(new TQSignalMapper(this)),
+ m_muteSigMapper(new TQSignalMapper(this)),
+ m_clickedSigMapper(new TQSignalMapper(this)),
+ m_instListSigMapper(new TQSignalMapper(this)),
m_tracks(doc->getComposition().getNbTracks()),
m_offset(4),
m_cellSize(trackCellHeight),
@@ -192,7 +192,7 @@ TrackButtons::populateButtons()
// reset track tokens
m_trackLabels[i]->setId(track->getId());
- setButtonMapping(TQT_TQOBJECT(m_trackLabels[i]), track->getId());
+ setButtonMapping(m_trackLabels[i], track->getId());
m_trackLabels[i]->setPosition(i);
}
@@ -357,7 +357,7 @@ TrackButtons::slotUpdateTracks()
// RG_DEBUG << "TrackButtons::slotUpdateTracks - set button mapping at pos "
// << i << " to track id " << track->getId() << endl;
- setButtonMapping(TQT_TQOBJECT(m_trackLabels[i]), track->getId());
+ setButtonMapping(m_trackLabels[i], track->getId());
}
}
m_tracks = newNbTracks;
@@ -1070,8 +1070,8 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId)
m_recordSigMapper, TQT_SLOT(map()));
connect(mute, TQT_SIGNAL(stateChanged(bool)),
m_muteSigMapper, TQT_SLOT(map()));
- m_recordSigMapper->setMapping(TQT_TQOBJECT(record), track->getPosition());
- m_muteSigMapper->setMapping(TQT_TQOBJECT(mute), track->getPosition());
+ m_recordSigMapper->setMapping(record, track->getPosition());
+ m_muteSigMapper->setMapping(mute, track->getPosition());
// Store the KLedButton
//
@@ -1109,7 +1109,7 @@ TQFrame* TrackButtons::makeButton(Rosegarden::TrackId trackId)
m_trackLabels.push_back(trackLabel);
// Connect it
- setButtonMapping(TQT_TQOBJECT(trackLabel), trackId);
+ setButtonMapping(trackLabel, trackId);
connect(trackLabel, TQT_SIGNAL(changeToInstrumentList()),
m_instListSigMapper, TQT_SLOT(map()));