summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TrackEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/TrackEditor.cpp')
-rw-r--r--src/gui/editors/segment/TrackEditor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/editors/segment/TrackEditor.cpp b/src/gui/editors/segment/TrackEditor.cpp
index 9eeb21b..7381790 100644
--- a/src/gui/editors/segment/TrackEditor.cpp
+++ b/src/gui/editors/segment/TrackEditor.cpp
@@ -87,10 +87,10 @@ TrackEditor::TrackEditor(RosegardenGUIDoc* doc,
RulerScale *rulerScale,
bool showTrackLabels,
double initialUnitsPerPixel,
- TQWidget* parent, const char* name,
+ TQWidget* tqparent, const char* name,
WFlags) :
DCOPObject("TrackEditorIface"),
- TQWidget(parent, name),
+ TQWidget(tqparent, name),
m_doc(doc),
m_rulerScale(rulerScale),
m_topStandardRuler(0),
@@ -166,7 +166,7 @@ TrackEditor::init(TQWidget* rosegardenguiview)
connect(rosegardenguiview, TQT_SIGNAL(instrumentParametersChanged(InstrumentId)),
m_compositionModel, TQT_SLOT(slotInstrumentParametersChanged(InstrumentId)));
- connect(rosegardenguiview->parent(), TQT_SIGNAL(instrumentParametersChanged(InstrumentId)),
+ connect(rosegardenguiview->tqparent(), TQT_SIGNAL(instrumentParametersChanged(InstrumentId)),
m_compositionModel, TQT_SLOT(slotInstrumentParametersChanged(InstrumentId)));
m_segmentCanvas = new CompositionView(m_doc, m_compositionModel, this);
@@ -331,7 +331,7 @@ void TrackEditor::slotReadjustCanvasSize()
void TrackEditor::slotTrackButtonsWidthChanged()
{
- // We need to make sure the trackButtons geometry is fully updated
+ // We need to make sure the trackButtons tqgeometry is fully updated
//
ProgressDialog::processEvents();
@@ -360,13 +360,13 @@ int TrackEditor::getTrackCellHeight() const
bool TrackEditor::isCompositionModified()
{
- return m_doc->getComposition().getRefreshStatus
+ return m_doc->getComposition().getRefreshtqStatus
(m_compositionRefreshStatusId).needsRefresh();
}
void TrackEditor::setCompositionModified(bool c)
{
- m_doc->getComposition().getRefreshStatus
+ m_doc->getComposition().getRefreshtqStatus
(m_compositionRefreshStatusId).setNeedsRefresh(c);
}
@@ -444,7 +444,7 @@ void TrackEditor::addSegment(int track, int time, unsigned int duration)
void TrackEditor::slotSegmentOrderChanged(int section, int fromIdx, int toIdx)
{
RG_DEBUG << TQString("TrackEditor::segmentOrderChanged(section : %1, from %2, to %3)")
- .arg(section).arg(fromIdx).arg(toIdx) << endl;
+ .tqarg(section).tqarg(fromIdx).tqarg(toIdx) << endl;
//!!! how do we get here? need to involve a command
emit needUpdate();
@@ -490,7 +490,7 @@ TrackEditor::slotSetPointerPosition(timeT position)
if (distance >= 1.0) {
if (m_doc && m_doc->getSequenceManager() &&
- (m_doc->getSequenceManager()->getTransportStatus() != STOPPED)) {
+ (m_doc->getSequenceManager()->getTransporttqStatus() != STOPPED)) {
if (m_playTracking) {
getSegmentCanvas()->slotScrollHoriz(int(double(position) / ruler->getUnitsPerPixel()));
@@ -547,7 +547,7 @@ bool TrackEditor::handleAutoScroll(int currentPosition, timeT newTimePosition, d
if (moveDetected) {
if (m_doc && m_doc->getSequenceManager() &&
- (m_doc->getSequenceManager()->getTransportStatus() != STOPPED)) {
+ (m_doc->getSequenceManager()->getTransporttqStatus() != STOPPED)) {
if (m_playTracking) {
getSegmentCanvas()->slotScrollHoriz(int(double(newTimePosition) / ruler->getUnitsPerPixel()));