summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioMixerWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/AudioMixerWindow.cpp')
-rw-r--r--src/gui/studio/AudioMixerWindow.cpp94
1 files changed, 47 insertions, 47 deletions
diff --git a/src/gui/studio/AudioMixerWindow.cpp b/src/gui/studio/AudioMixerWindow.cpp
index c73b4ff..905ff3a 100644
--- a/src/gui/studio/AudioMixerWindow.cpp
+++ b/src/gui/studio/AudioMixerWindow.cpp
@@ -95,13 +95,13 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
populate();
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) );
@@ -110,68 +110,68 @@ AudioMixerWindow::AudioMixerWindow(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");
unsigned int mixerOptions = m_studio->getMixerDisplayOptions();
(new TDEToggleAction(i18n("Show Audio &Faders"), 0, this,
- TQT_SLOT(slotToggleFaders()), actionCollection(),
+ TQ_SLOT(slotToggleFaders()), actionCollection(),
"show_audio_faders"))->setChecked
(!(mixerOptions & MIXER_OMIT_FADERS));
(new TDEToggleAction(i18n("Show Synth &Faders"), 0, this,
- TQT_SLOT(slotToggleSynthFaders()), actionCollection(),
+ TQ_SLOT(slotToggleSynthFaders()), actionCollection(),
"show_synth_faders"))->setChecked
(!(mixerOptions & MIXER_OMIT_SYNTH_FADERS));
(new TDEToggleAction(i18n("Show &Submasters"), 0, this,
- TQT_SLOT(slotToggleSubmasters()), actionCollection(),
+ TQ_SLOT(slotToggleSubmasters()), actionCollection(),
"show_audio_submasters"))->setChecked
(!(mixerOptions & MIXER_OMIT_SUBMASTERS));
(new TDEToggleAction(i18n("Show &Plugin Buttons"), 0, this,
- TQT_SLOT(slotTogglePluginButtons()), actionCollection(),
+ TQ_SLOT(slotTogglePluginButtons()), actionCollection(),
"show_plugin_buttons"))->setChecked
(!(mixerOptions & MIXER_OMIT_PLUGINS));
(new TDEToggleAction(i18n("Show &Unassigned Faders"), 0, this,
- TQT_SLOT(slotToggleUnassignedFaders()), actionCollection(),
+ TQ_SLOT(slotToggleUnassignedFaders()), actionCollection(),
"show_unassigned_faders"))->setChecked
(mixerOptions & MIXER_SHOW_UNASSIGNED_FADERS);
@@ -181,7 +181,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
action =
new TDERadioAction(i18n("1 Input", "%n Inputs", i),
0, this,
- TQT_SLOT(slotSetInputCountFromAction()), actionCollection(),
+ TQ_SLOT(slotSetInputCountFromAction()), actionCollection(),
TQString("inputs_%1").arg(i).ascii());
action->setExclusiveGroup("inputs");
if (i == int(m_studio->getRecordIns().size()))
@@ -191,7 +191,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
action = new TDERadioAction
(i18n("No Submasters"),
0, this,
- TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
+ TQ_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
TQString("submasters_0").ascii());
action->setExclusiveGroup("submasters");
action->setChecked(true);
@@ -200,7 +200,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
action = new TDERadioAction
(i18n("1 Submaster", "%n Submasters", i),
0, this,
- TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
+ TQ_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
TQString("submasters_%1").arg(i).ascii());
action->setExclusiveGroup("submasters");
if (i == int(m_studio->getBusses().size()) - 1)
@@ -388,8 +388,8 @@ AudioMixerWindow::populate()
TQToolTip::add
(plugin, i18n("Audio plugin button"));
rec.m_plugins.push_back(plugin);
- connect(plugin, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSelectPlugin()));
+ connect(plugin, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSelectPlugin()));
}
TQLabel *idLabel;
@@ -441,30 +441,30 @@ AudioMixerWindow::populate()
updatePluginButtons((*i)->getId());
if (rec.m_input) {
- connect(rec.m_input, TQT_SIGNAL(changed()),
- this, TQT_SLOT(slotInputChanged()));
+ connect(rec.m_input, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(slotInputChanged()));
}
- connect(rec.m_output, TQT_SIGNAL(changed()),
- this, TQT_SLOT(slotOutputChanged()));
+ connect(rec.m_output, TQ_SIGNAL(changed()),
+ this, TQ_SLOT(slotOutputChanged()));
- connect(rec.m_fader, TQT_SIGNAL(faderChanged(float)),
- this, TQT_SLOT(slotFaderLevelChanged(float)));
+ connect(rec.m_fader, TQ_SIGNAL(faderChanged(float)),
+ this, TQ_SLOT(slotFaderLevelChanged(float)));
- connect(rec.m_pan, TQT_SIGNAL(valueChanged(float)),
- this, TQT_SLOT(slotPanChanged(float)));
+ connect(rec.m_pan, TQ_SIGNAL(valueChanged(float)),
+ this, TQ_SLOT(slotPanChanged(float)));
- connect(rec.m_soloButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSoloChanged()));
+ connect(rec.m_soloButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSoloChanged()));
- connect(rec.m_muteButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotMuteChanged()));
+ connect(rec.m_muteButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotMuteChanged()));
- connect(rec.m_stereoButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotChannelsChanged()));
+ connect(rec.m_stereoButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotChannelsChanged()));
- connect(rec.m_recordButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotRecordChanged()));
+ connect(rec.m_recordButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotRecordChanged()));
++count;
@@ -519,8 +519,8 @@ AudioMixerWindow::populate()
TQToolTip::add
(plugin, i18n("Audio plugin button"));
rec.m_plugins.push_back(plugin);
- connect(plugin, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSelectPlugin()));
+ connect(plugin, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSelectPlugin()));
}
TQLabel *idLabel = new TQLabel(i18n("Sub %1").arg(count), m_mainBox, "subMaster");
@@ -546,14 +546,14 @@ AudioMixerWindow::populate()
updateFader(count);
updatePluginButtons(count);
- connect(rec.m_fader, TQT_SIGNAL(faderChanged(float)),
- this, TQT_SLOT(slotFaderLevelChanged(float)));
+ connect(rec.m_fader, TQ_SIGNAL(faderChanged(float)),
+ this, TQ_SLOT(slotFaderLevelChanged(float)));
- connect(rec.m_pan, TQT_SIGNAL(valueChanged(float)),
- this, TQT_SLOT(slotPanChanged(float)));
+ connect(rec.m_pan, TQ_SIGNAL(valueChanged(float)),
+ this, TQ_SLOT(slotPanChanged(float)));
- connect(rec.m_muteButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotMuteChanged()));
+ connect(rec.m_muteButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotMuteChanged()));
++count;
@@ -597,11 +597,11 @@ AudioMixerWindow::populate()
m_master = rec;
updateFader(0);
- connect(rec.m_fader, TQT_SIGNAL(faderChanged(float)),
- this, TQT_SLOT(slotFaderLevelChanged(float)));
+ connect(rec.m_fader, TQ_SIGNAL(faderChanged(float)),
+ this, TQ_SLOT(slotFaderLevelChanged(float)));
- connect(rec.m_muteButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotMuteChanged()));
+ connect(rec.m_muteButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotMuteChanged()));
}
m_mainBox->show();