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,49 +1,49 @@ | |||
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); |