diff options
Diffstat (limited to 'src/gui/studio/AudioMixerWindow.cpp')
-rw-r--r-- | src/gui/studio/AudioMixerWindow.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gui/studio/AudioMixerWindow.cpp b/src/gui/studio/AudioMixerWindow.cpp index b5a6fa3..c73b4ff 100644 --- a/src/gui/studio/AudioMixerWindow.cpp +++ b/src/gui/studio/AudioMixerWindow.cpp @@ -94,13 +94,13 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent, { populate(); - KStdAction::close(TQT_TQOBJECT(this), + KStdAction::close(this, TQT_SLOT(slotClose()), actionCollection()); TQIconSet icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-play"))); - TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, TQT_TQOBJECT(this), + TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, this, TQT_SIGNAL(play()), actionCollection(), "play"); // Alternative shortcut for Play TDEShortcut playShortcut = play->shortcut(); @@ -109,68 +109,68 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent, icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-stop"))); - new TDEAction(i18n("&Stop"), icon, Key_Insert, TQT_TQOBJECT(this), + new TDEAction(i18n("&Stop"), icon, Key_Insert, this, TQT_SIGNAL(stop()), actionCollection(), "stop"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind"))); - new TDEAction(i18n("Re&wind"), icon, Key_End, TQT_TQOBJECT(this), + new TDEAction(i18n("Re&wind"), icon, Key_End, this, TQT_SIGNAL(rewindPlayback()), actionCollection(), "playback_pointer_back_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd"))); - new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, TQT_TQOBJECT(this), + new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, this, TQT_SIGNAL(fastForwardPlayback()), actionCollection(), "playback_pointer_forward_bar"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-rewind-end"))); - new TDEAction(i18n("Rewind to &Beginning"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Rewind to &Beginning"), icon, 0, this, TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(), "playback_pointer_start"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-ffwd-end"))); - new TDEAction(i18n("Fast Forward to &End"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("Fast Forward to &End"), icon, 0, this, TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(), "playback_pointer_end"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-record"))); - new TDEAction(i18n("&Record"), icon, 0, TQT_TQOBJECT(this), + new TDEAction(i18n("&Record"), icon, 0, this, TQT_SIGNAL(record()), actionCollection(), "record"); icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap ("transport-panic"))); - new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, TQT_TQOBJECT(this), + new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, this, TQT_SIGNAL(panic()), actionCollection(), "panic"); unsigned int mixerOptions = m_studio->getMixerDisplayOptions(); - (new TDEToggleAction(i18n("Show Audio &Faders"), 0, TQT_TQOBJECT(this), + (new TDEToggleAction(i18n("Show Audio &Faders"), 0, this, TQT_SLOT(slotToggleFaders()), actionCollection(), "show_audio_faders"))->setChecked (!(mixerOptions & MIXER_OMIT_FADERS)); - (new TDEToggleAction(i18n("Show Synth &Faders"), 0, TQT_TQOBJECT(this), + (new TDEToggleAction(i18n("Show Synth &Faders"), 0, this, TQT_SLOT(slotToggleSynthFaders()), actionCollection(), "show_synth_faders"))->setChecked (!(mixerOptions & MIXER_OMIT_SYNTH_FADERS)); - (new TDEToggleAction(i18n("Show &Submasters"), 0, TQT_TQOBJECT(this), + (new TDEToggleAction(i18n("Show &Submasters"), 0, this, TQT_SLOT(slotToggleSubmasters()), actionCollection(), "show_audio_submasters"))->setChecked (!(mixerOptions & MIXER_OMIT_SUBMASTERS)); - (new TDEToggleAction(i18n("Show &Plugin Buttons"), 0, TQT_TQOBJECT(this), + (new TDEToggleAction(i18n("Show &Plugin Buttons"), 0, this, TQT_SLOT(slotTogglePluginButtons()), actionCollection(), "show_plugin_buttons"))->setChecked (!(mixerOptions & MIXER_OMIT_PLUGINS)); - (new TDEToggleAction(i18n("Show &Unassigned Faders"), 0, TQT_TQOBJECT(this), + (new TDEToggleAction(i18n("Show &Unassigned Faders"), 0, this, TQT_SLOT(slotToggleUnassignedFaders()), actionCollection(), "show_unassigned_faders"))->setChecked (mixerOptions & MIXER_SHOW_UNASSIGNED_FADERS); @@ -180,7 +180,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent, for (int i = 1; i <= 16; i *= 2) { action = new TDERadioAction(i18n("1 Input", "%n Inputs", i), - 0, TQT_TQOBJECT(this), + 0, this, TQT_SLOT(slotSetInputCountFromAction()), actionCollection(), TQString("inputs_%1").arg(i).ascii()); action->setExclusiveGroup("inputs"); @@ -190,7 +190,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent, action = new TDERadioAction (i18n("No Submasters"), - 0, TQT_TQOBJECT(this), + 0, this, TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(), TQString("submasters_0").ascii()); action->setExclusiveGroup("submasters"); @@ -199,7 +199,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent, for (int i = 2; i <= 8; i *= 2) { action = new TDERadioAction (i18n("1 Submaster", "%n Submasters", i), - 0, TQT_TQOBJECT(this), + 0, this, TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(), TQString("submasters_%1").arg(i).ascii()); action->setExclusiveGroup("submasters"); |