author | zecke <zecke> | 2002-06-23 14:19:13 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-23 14:19:13 (UTC) |
commit | ce9178fb13908eca5b7835e785fc0914a5022615 (patch) (unidiff) | |
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) (ignore 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 @@ | |||
1 | /* | 1 | /* |
2 | Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. | 2 | Opie-Remote. emulates remote controlls on an iPaq (and maybe a Zaurus) in Opie. |
3 | Copyright (C) 2002 Thomas Stephens | 3 | Copyright (C) 2002 Thomas Stephens |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify it under | 5 | This program is free software; you can redistribute it and/or modify it under |
6 | the terms of the GNU General Public | 6 | the terms of the GNU General Public |
7 | License as published by the Free Software Foundation; either version 2 of the | 7 | License as published by the Free Software Foundation; either version 2 of the |
8 | License, or (at your option) any later | 8 | License, or (at your option) any later |
9 | version. | 9 | version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, but WITHOUT ANY | 11 | This program is distributed in the hope that it will be useful, but WITHOUT ANY |
12 | WARRANTY; without even the | 12 | WARRANTY; without even the |
13 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | 14 | ||
15 | GNU General | 15 | GNU General |
16 | Public License for more details. | 16 | Public License for more details. |
17 | 17 | ||
18 | You should have received a copy of the GNU General Public License along with | 18 | You should have received a copy of the GNU General Public License along with |
19 | this program; if not, write to the Free | 19 | this program; if not, write to the Free |
20 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "vcrgroup.h" | 23 | #include "vcrgroup.h" |
24 | 24 | ||
25 | VCRGroup::VCRGroup(QWidget *parent=0, const char *name=0) : QWidget(parent, | 25 | VCRGroup::VCRGroup(QWidget *parent, const char *name) : QWidget(parent, |
26 | name) | 26 | name) |
27 | { | 27 | { |
28 | QVBoxLayout *vlayout = new QVBoxLayout(this); | 28 | QVBoxLayout *vlayout = new QVBoxLayout(this); |
29 | 29 | ||
30 | QHBoxLayout *hlayout1 = new QHBoxLayout(this); | 30 | QHBoxLayout *hlayout1 = new QHBoxLayout(this); |
31 | QHBoxLayout *hlayout2 = new QHBoxLayout(this); | 31 | QHBoxLayout *hlayout2 = new QHBoxLayout(this); |
32 | 32 | ||
33 | vlayout->addLayout(hlayout1); | 33 | vlayout->addLayout(hlayout1); |
34 | vlayout->addSpacing(1); | 34 | vlayout->addSpacing(1); |
35 | vlayout->addLayout(hlayout2); | 35 | vlayout->addLayout(hlayout2); |
36 | 36 | ||
37 | QPushButton *play = new | 37 | QPushButton *play = new |
38 | QPushButton("Play",this, "play"); | 38 | QPushButton("Play",this, "play"); |
39 | hlayout1->addWidget(play); | 39 | hlayout1->addWidget(play); |
40 | connect(play, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 40 | connect(play, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |
41 | 41 | ||
42 | hlayout1->addSpacing(5); | 42 | hlayout1->addSpacing(5); |
43 | 43 | ||
44 | QPushButton *pause = new | 44 | QPushButton *pause = new |
45 | QPushButton("Pause",this, "pause"); | 45 | QPushButton("Pause",this, "pause"); |
46 | hlayout1->addWidget(pause); | 46 | hlayout1->addWidget(pause); |
47 | connect(pause, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 47 | connect(pause, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |
48 | 48 | ||
49 | hlayout1->addSpacing(5); | 49 | hlayout1->addSpacing(5); |
50 | 50 | ||
51 | QPushButton *stop = new | 51 | QPushButton *stop = new |
52 | QPushButton("Stop",this, "stop"); | 52 | QPushButton("Stop",this, "stop"); |
53 | hlayout1->addWidget(stop); | 53 | hlayout1->addWidget(stop); |
54 | connect(stop, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 54 | connect(stop, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |
55 | 55 | ||
56 | hlayout1->addSpacing(5); | 56 | hlayout1->addSpacing(5); |
57 | 57 | ||
58 | QPushButton *record = new | 58 | QPushButton *record = new |
59 | QPushButton("Record",this, "record"); | 59 | QPushButton("Record",this, "record"); |
60 | hlayout1->addWidget(record); | 60 | hlayout1->addWidget(record); |
61 | connect(record, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 61 | connect(record, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |
62 | 62 | ||
63 | QPushButton *back = new | 63 | QPushButton *back = new |
64 | QPushButton("Back",this, "back"); | 64 | QPushButton("Back",this, "back"); |
65 | hlayout2->addWidget(back); | 65 | hlayout2->addWidget(back); |
66 | connect(back, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 66 | connect(back, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |
67 | 67 | ||
68 | hlayout2->addSpacing(5); | 68 | hlayout2->addSpacing(5); |
69 | 69 | ||
70 | QPushButton *rewind = new | 70 | QPushButton *rewind = new |
71 | QPushButton("Rewind",this, "rewind"); | 71 | QPushButton("Rewind",this, "rewind"); |
72 | hlayout2->addWidget(rewind); | 72 | hlayout2->addWidget(rewind); |
73 | connect(rewind, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); | 73 | connect(rewind, SIGNAL(pressed()), this->parentWidget(), SLOT(sendIR()) ); |