diff options
Diffstat (limited to 'src/gui/application/RosegardenGUIApp.cpp')
-rw-r--r-- | src/gui/application/RosegardenGUIApp.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp index 520d363..7bfdfb1 100644 --- a/src/gui/application/RosegardenGUIApp.cpp +++ b/src/gui/application/RosegardenGUIApp.cpp @@ -3105,7 +3105,7 @@ void RosegardenGUIApp::slotTempoToSegmentLength() slotTempoToSegmentLength(this); } -void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* tqparent) +void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* parent) { RG_DEBUG << "RosegardenGUIApp::slotTempoToSegmentLength" << endl; @@ -3135,7 +3135,7 @@ void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* tqparent) int beats = 0; // Get user to tell us how many beats or bars the segment contains - BeatsBarsDialog dialog(tqparent); + BeatsBarsDialog dialog(parent); if (dialog.exec() == TQDialog::Accepted) { beats = dialog.getQuantity(); // beats (or bars) if (dialog.getMode() == 1) // bars (multiply by time sig) @@ -5705,16 +5705,16 @@ void RosegardenGUIApp::slotEditTempo(timeT atTime) slotEditTempo(this, atTime); } -void RosegardenGUIApp::slotEditTempo(TQWidget *tqparent) +void RosegardenGUIApp::slotEditTempo(TQWidget *parent) { - slotEditTempo(tqparent, m_doc->getComposition().getPosition()); + slotEditTempo(parent, m_doc->getComposition().getPosition()); } -void RosegardenGUIApp::slotEditTempo(TQWidget *tqparent, timeT atTime) +void RosegardenGUIApp::slotEditTempo(TQWidget *parent, timeT atTime) { RG_DEBUG << "RosegardenGUIApp::slotEditTempo\n"; - TempoDialog tempoDialog(tqparent, m_doc); + TempoDialog tempoDialog(parent, m_doc); connect(&tempoDialog, TQT_SIGNAL(changeTempo(timeT, @@ -5740,19 +5740,19 @@ void RosegardenGUIApp::slotEditTimeSignature(timeT atTime) slotEditTimeSignature(this, atTime); } -void RosegardenGUIApp::slotEditTimeSignature(TQWidget *tqparent) +void RosegardenGUIApp::slotEditTimeSignature(TQWidget *parent) { - slotEditTimeSignature(tqparent, m_doc->getComposition().getPosition()); + slotEditTimeSignature(parent, m_doc->getComposition().getPosition()); } -void RosegardenGUIApp::slotEditTimeSignature(TQWidget *tqparent, +void RosegardenGUIApp::slotEditTimeSignature(TQWidget *parent, timeT time) { Composition &composition(m_doc->getComposition()); TimeSignature sig = composition.getTimeSignatureAt(time); - TimeSignatureDialog dialog(tqparent, &composition, time, sig); + TimeSignatureDialog dialog(parent, &composition, time, sig); if (dialog.exec() == TQDialog::Accepted) { @@ -5775,9 +5775,9 @@ void RosegardenGUIApp::slotEditTransportTime() slotEditTransportTime(this); } -void RosegardenGUIApp::slotEditTransportTime(TQWidget *tqparent) +void RosegardenGUIApp::slotEditTransportTime(TQWidget *parent) { - TimeDialog dialog(tqparent, i18n("Move playback pointer to time"), + TimeDialog dialog(parent, i18n("Move playback pointer to time"), &m_doc->getComposition(), m_doc->getComposition().getPosition(), true); @@ -6915,12 +6915,12 @@ RosegardenGUIApp::slotControlEditorClosed() } void -RosegardenGUIApp::slotShowPluginDialog(TQWidget *tqparent, +RosegardenGUIApp::slotShowPluginDialog(TQWidget *parent, InstrumentId instrumentId, int index) { - if (!tqparent) - tqparent = this; + if (!parent) + parent = this; int key = (index << 16) + instrumentId; @@ -6954,7 +6954,7 @@ RosegardenGUIApp::slotShowPluginDialog(TQWidget *tqparent, // Create the plugin dialog // AudioPluginDialog *dialog = - new AudioPluginDialog(tqparent, + new AudioPluginDialog(parent, m_doc->getPluginManager(), #ifdef HAVE_LIBLO m_pluginGUIManager, |