-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 c9d41de..6a2c482 100644 --- a/core/apps/embeddedkonsole/commandeditwidget.cpp +++ b/core/apps/embeddedkonsole/commandeditwidget.cpp | |||
@@ -24,42 +24,41 @@ | |||
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 | resize( 596, 480 ); | 47 | resize( 596, 480 ); |
48 | setCaption( tr( "Form1" ) ); | ||
49 | Form1Layout = new QGridLayout( this ); | 48 | Form1Layout = new QGridLayout( this ); |
50 | Form1Layout->setSpacing( 6 ); | 49 | Form1Layout->setSpacing( 6 ); |
51 | Form1Layout->setMargin( 11 ); | 50 | Form1Layout->setMargin( 11 ); |
52 | 51 | ||
53 | MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" ); | 52 | MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" ); |
54 | 53 | ||
55 | Form1Layout->addWidget( MyCustomWidget1, 0, 0 ); | 54 | Form1Layout->addWidget( MyCustomWidget1, 0, 0 ); |
56 | } | 55 | } |
57 | 56 | ||
58 | /* | 57 | /* |
59 | * Destroys the object and frees any allocated resources | 58 | * Destroys the object and frees any allocated resources |
60 | */ | 59 | */ |
61 | Form1::~Form1() | 60 | Form1::~Form1() |
62 | { | 61 | { |
63 | // no need to delete child widgets, Qt does it all for us | 62 | // no need to delete child widgets, Qt does it all for us |
64 | } | 63 | } |
65 | 64 | ||