--- qsampler/trunk/src/qsamplerChannelStrip.cpp 2007/10/28 23:30:36 1461 +++ qsampler/trunk/src/qsamplerChannelStrip.cpp 2007/11/01 19:25:10 1466 @@ -1,3 +1,25 @@ +// qsamplerChannelStrip.cpp +// +/**************************************************************************** + Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2007, Christian Schoenebeck + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +*****************************************************************************/ + #include "qsamplerChannelStrip.h" #include "qsamplerMainForm.h" @@ -23,6 +45,25 @@ // Try to restore normal window positioning. adjustSize(); + + QObject::connect(ui.ChannelSetupPushButton, + SIGNAL(clicked()), + SLOT(channelSetup())); + QObject::connect(ui.ChannelMutePushButton, + SIGNAL(toggled(bool)), + SLOT(channelMute(bool))); + QObject::connect(ui.ChannelSoloPushButton, + SIGNAL(toggled(bool)), + SLOT(channelSolo(bool))); + QObject::connect(ui.VolumeSlider, + SIGNAL(valueChanged(int)), + SLOT(volumeChanged(int))); + QObject::connect(ui.VolumeSpinBox, + SIGNAL(valueChanged(int)), + SLOT(volumeChanged(int))); + QObject::connect(ui.ChannelEditPushButton, + SIGNAL(clicked()), + SLOT(channelEdit())); } ChannelStrip::~ChannelStrip() { @@ -432,3 +473,6 @@ } } // namespace QSampler + + +// end of qsamplerChannelStrip.cpp