Diffstat (limited to 'noncore/tools/remote/channelgroupconf.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/remote/channelgroupconf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/remote/channelgroupconf.cpp b/noncore/tools/remote/channelgroupconf.cpp index 2d98115..e39121e 100644 --- a/noncore/tools/remote/channelgroupconf.cpp +++ b/noncore/tools/remote/channelgroupconf.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 "channelgroupconf.h" -ChannelGroupConf::ChannelGroupConf(QWidget *parent=0, const char *name=0):QWidget(parent,name) +ChannelGroupConf::ChannelGroupConf(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,5); layout->addRowSpacing(3,5); layout->addRowSpacing(5,5); 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(buttonPressed()) ); QPushButton *two = new QPushButton("2", this, "two"); layout->addWidget(two, 0, 4, 0); connect(two, SIGNAL(pressed()), this->parentWidget(), SLOT(buttonPressed()) ); QPushButton *three = new QPushButton("3", this, "three"); layout->addWidget(three, 0, 6, 0); |