author | zecke <zecke> | 2002-06-23 14:19:13 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-23 14:19:13 (UTC) |
commit | ce9178fb13908eca5b7835e785fc0914a5022615 (patch) (side-by-side diff) | |
tree | d848ef07fb25ba6c21d3729140c4e3be9d69f6f6 /noncore/tools/remote/vcrgroup.cpp | |
parent | 3b02ead2254e59159db948d2a0980892eeb14ed8 (diff) | |
download | opie-ce9178fb13908eca5b7835e785fc0914a5022615.zip opie-ce9178fb13908eca5b7835e785fc0914a5022615.tar.gz opie-ce9178fb13908eca5b7835e785fc0914a5022615.tar.bz2 |
Simon thanks for the patch. Some clean ups. Patch provided by tronical
OAOAOAOAOAOAOAOAOAOAOAOAOBOBCVS: noncore/tools/remote/dvdgroupconf.cpp
Diffstat (limited to 'noncore/tools/remote/vcrgroup.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/vcrgroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/remote/vcrgroup.cpp b/noncore/tools/remote/vcrgroup.cpp index 4f07ca3..10ebe5d 100644 --- a/noncore/tools/remote/vcrgroup.cpp +++ b/noncore/tools/remote/vcrgroup.cpp @@ -1,73 +1,73 @@ /* 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 "vcrgroup.h" -VCRGroup::VCRGroup(QWidget *parent=0, const char *name=0) : QWidget(parent, +VCRGroup::VCRGroup(QWidget *parent, const char *name) : QWidget(parent, name) { QVBoxLayout *vlayout = new QVBoxLayout(this); QHBoxLayout *hlayout1 = new QHBoxLayout(this); QHBoxLayout *hlayout2 = new QHBoxLayout(this); vlayout->addLayout(hlayout1); vlayout->addSpacing(1); vlayout->addLayout(hlayout2); QPushButton *play = new QPushButton("Play",this, "play"); hlayout1->addWidget(play); connect(play, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); hlayout1->addSpacing(5); QPushButton *pause = new QPushButton("Pause",this, "pause"); hlayout1->addWidget(pause); connect(pause, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); hlayout1->addSpacing(5); QPushButton *stop = new QPushButton("Stop",this, "stop"); hlayout1->addWidget(stop); connect(stop, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); hlayout1->addSpacing(5); QPushButton *record = new QPushButton("Record",this, "record"); hlayout1->addWidget(record); connect(record, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); QPushButton *back = new QPushButton("Back",this, "back"); hlayout2->addWidget(back); connect(back, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); hlayout2->addSpacing(5); QPushButton *rewind = new QPushButton("Rewind",this, "rewind"); hlayout2->addWidget(rewind); connect(rewind, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |