-rw-r--r-- | core/apps/embeddedkonsole/commandeditwidget.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/commandeditwidget.cpp b/core/apps/embeddedkonsole/commandeditwidget.cpp index 6257d83..c9d41de 100644 --- a/core/apps/embeddedkonsole/commandeditwidget.cpp +++ b/core/apps/embeddedkonsole/commandeditwidget.cpp | |||
@@ -1,66 +1,65 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> | 3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> |
4 | =. | 4 | =. |
5 | .=l. | 5 | .=l. |
6 | .>+-= | 6 | .>+-= |
7 | _;:, .> :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 13 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This program is distributed in the hope that | 14 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 19 | ..}^=.= = ; Library General Public License for more |
20 | ++= -. .` .: details. | 20 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 21 | : = ...= . :.=- |
22 | -. .:....=;==+<; You should have received a copy of the GNU | 22 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 23 | -_. . . )=. = Library General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | 28 | ||
29 | */ | 29 | */ |
30 | #include "commandeditwidget.h" | 30 | #include "commandeditwidget.h" |
31 | 31 | ||
32 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
33 | #include "playlistselection.h" | 33 | #include "playlistselection.h" |
34 | #include <qlayout.h> | 34 | #include <qlayout.h> |
35 | #include <qvariant.h> | 35 | #include <qvariant.h> |
36 | #include <qtooltip.h> | 36 | #include <qtooltip.h> |
37 | #include <qwhatsthis.h> | 37 | #include <qwhatsthis.h> |
38 | 38 | ||
39 | /* | 39 | /* |
40 | * Constructs a Form1 which is a child of 'parent', with the | 40 | * Constructs a Form1 which is a child of 'parent', with the |
41 | * name 'name' and widget flags set to 'f' | 41 | * name 'name' and widget flags set to 'f' |
42 | */ | 42 | */ |
43 | Form1::Form1( QWidget* parent, const char* name, WFlags fl ) | 43 | Form1::Form1( QWidget* parent, const char* name, WFlags fl ) |
44 | : QWidget( parent, name, fl ) | 44 | : QWidget( parent, name, fl ) |
45 | { | 45 | { |
46 | if ( !name ) | 46 | if ( !name ) |
47 | setName( tr("Form1")); | ||
48 | resize( 596, 480 ); | 47 | resize( 596, 480 ); |
49 | setCaption( tr( "Form1" ) ); | 48 | setCaption( tr( "Form1" ) ); |
50 | Form1Layout = new QGridLayout( this ); | 49 | Form1Layout = new QGridLayout( this ); |
51 | Form1Layout->setSpacing( 6 ); | 50 | Form1Layout->setSpacing( 6 ); |
52 | Form1Layout->setMargin( 11 ); | 51 | Form1Layout->setMargin( 11 ); |
53 | 52 | ||
54 | MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" ); | 53 | MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" ); |
55 | 54 | ||
56 | Form1Layout->addWidget( MyCustomWidget1, 0, 0 ); | 55 | Form1Layout->addWidget( MyCustomWidget1, 0, 0 ); |
57 | } | 56 | } |
58 | 57 | ||
59 | /* | 58 | /* |
60 | * Destroys the object and frees any allocated resources | 59 | * Destroys the object and frees any allocated resources |
61 | */ | 60 | */ |
62 | Form1::~Form1() | 61 | Form1::~Form1() |
63 | { | 62 | { |
64 | // no need to delete child widgets, Qt does it all for us | 63 | // no need to delete child widgets, Qt does it all for us |
65 | } | 64 | } |
66 | 65 | ||