Diffstat (limited to 'noncore/tools/remote/channelgroup.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/channelgroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/remote/channelgroup.cpp b/noncore/tools/remote/channelgroup.cpp index 9f90284..7c33674 100644 --- a/noncore/tools/remote/channelgroup.cpp +++ b/noncore/tools/remote/channelgroup.cpp @@ -1,43 +1,43 @@ /* Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. Copyright (C) 2002 Thomas Stephens 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "channelgroup.h" -ChannelGroup::ChannelGroup(QWidget *parent=0, const char *name=0):QWidget(parent,name) +ChannelGroup::ChannelGroup(QWidget *parent, const char *name):QWidget(parent,name) { QGridLayout *layout = new QGridLayout(this); QVBoxLayout *volLayout = new QVBoxLayout(this); QVBoxLayout *chanLayout = new QVBoxLayout(this); layout->addRowSpacing(1,1); layout->addRowSpacing(3,1); layout->addRowSpacing(5,1); layout->addColSpacing(1,1); layout->addColSpacing(3,1); layout->addColSpacing(5,1); layout->addColSpacing(7,1); QPushButton *one = new QPushButton("1", this, "one"); layout->addWidget(one, 0, 2, 0); connect(one, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); QPushButton *two = new QPushButton("2", this, "two"); layout->addWidget(two, 0, 4, 0); connect(two, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); QPushButton *three = new QPushButton("3", this, "three"); layout->addWidget(three, 0, 6, 0); |