diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 17:29:20 +0900 |
| commit | a3a855ce18bdb905ef57b9feb174afc441132665 (patch) | |
| tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/studio/MidiMixerWindow.cpp | |
| parent | 0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (diff) | |
| download | rosegarden-a3a855ce.tar.gz rosegarden-a3a855ce.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee)
Diffstat (limited to 'src/gui/studio/MidiMixerWindow.cpp')
| -rw-r--r-- | src/gui/studio/MidiMixerWindow.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/studio/MidiMixerWindow.cpp b/src/gui/studio/MidiMixerWindow.cpp index 5b1184d..1fb13bc 100644 --- a/src/gui/studio/MidiMixerWindow.cpp +++ b/src/gui/studio/MidiMixerWindow.cpp @@ -71,13 +71,13 @@ MidiMixerWindow::MidiMixerWindow(TQWidget *parent, setupTabs(); KStdAction::close(this, - TQT_SLOT(slotClose()), + TQ_SLOT(slotClose()), actionCollection()); TQIconSet icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-play"))); TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, this, - TQT_SIGNAL(play()), actionCollection(), "play"); + TQ_SIGNAL(play()), actionCollection(), "play"); // Alternative shortcut for Play TDEShortcut playShortcut = play->shortcut(); playShortcut.append( KKey(Key_Return + CTRL) ); @@ -86,42 +86,42 @@ MidiMixerWindow::MidiMixerWindow(TQWidget *parent, icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-stop"))); new TDEAction(i18n("&Stop"), icon, Key_Insert, this, - TQT_SIGNAL(stop()), actionCollection(), "stop"); + TQ_SIGNAL(stop()), actionCollection(), "stop"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind"))); new TDEAction(i18n("Re&wind"), icon, Key_End, this, - TQT_SIGNAL(rewindPlayback()), actionCollection(), + TQ_SIGNAL(rewindPlayback()), actionCollection(), "playback_pointer_back_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd"))); new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, this, - TQT_SIGNAL(fastForwardPlayback()), actionCollection(), + TQ_SIGNAL(fastForwardPlayback()), actionCollection(), "playback_pointer_forward_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind-end"))); new TDEAction(i18n("Rewind to &Beginning"), icon, 0, this, - TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), + TQ_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), "playback_pointer_start"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd-end"))); new TDEAction(i18n("Fast Forward to &End"), icon, 0, this, - TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), + TQ_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), "playback_pointer_end"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-record"))); new TDEAction(i18n("&Record"), icon, 0, this, - TQT_SIGNAL(record()), actionCollection(), + TQ_SIGNAL(record()), actionCollection(), "record"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-panic"))); new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, this, - TQT_SIGNAL(panic()), actionCollection(), + TQ_SIGNAL(panic()), actionCollection(), "panic"); createGUI("midimixer.rc"); @@ -144,8 +144,8 @@ MidiMixerWindow::setupTabs() // m_tabWidget = new TQTabWidget(this); setCentralWidget(m_tabWidget); - connect(m_tabWidget, TQT_SIGNAL(currentChanged(TQWidget *)), - this, TQT_SLOT(slotCurrentTabChanged(TQWidget *))); + connect(m_tabWidget, TQ_SIGNAL(currentChanged(TQWidget *)), + this, TQ_SLOT(slotCurrentTabChanged(TQWidget *))); m_tabWidget->setTabPosition(TQTabWidget::Bottom); setCaption(i18n("MIDI Mixer")); @@ -246,8 +246,8 @@ MidiMixerWindow::setupTabs() controller->setKnobColour(knobColour); - connect(controller, TQT_SIGNAL(valueChanged(float)), - this, TQT_SLOT(slotControllerChanged(float))); + connect(controller, TQ_SIGNAL(valueChanged(float)), + this, TQ_SLOT(slotControllerChanged(float))); mainLayout->addWidget(controller, i + 1, posCount, TQt::AlignCenter); @@ -291,8 +291,8 @@ MidiMixerWindow::setupTabs() // Connect them up // - connect(fader, TQT_SIGNAL(faderChanged(float)), - this, TQT_SLOT(slotFaderLevelChanged(float))); + connect(fader, TQ_SIGNAL(faderChanged(float)), + this, TQ_SLOT(slotFaderLevelChanged(float))); // Update all the faders and controllers // |
