Diffstat (limited to 'noncore/settings/tabmanager/tabmanagerbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmanagerbase.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/settings/tabmanager/tabmanagerbase.cpp b/noncore/settings/tabmanager/tabmanagerbase.cpp index a899529..29ec3a5 100644 --- a/noncore/settings/tabmanager/tabmanagerbase.cpp +++ b/noncore/settings/tabmanager/tabmanagerbase.cpp | |||
@@ -5,44 +5,43 @@ | |||
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "tabmanagerbase.h" | 9 | #include "tabmanagerbase.h" |
10 | 10 | ||
11 | #include <qheader.h> | 11 | #include <qheader.h> |
12 | #include <qlistview.h> | 12 | #include <qlistview.h> |
13 | #include <qpushbutton.h> | 13 | #include <qpushbutton.h> |
14 | #include <qlayout.h> | 14 | #include <qlayout.h> |
15 | #include <qvariant.h> | 15 | #include <qvariant.h> |
16 | #include <qtooltip.h> | 16 | #include <qtooltip.h> |
17 | #include <qwhatsthis.h> | 17 | #include <qwhatsthis.h> |
18 | 18 | ||
19 | /* | 19 | /* |
20 | * Constructs a TabManagerBase which is a child of 'parent', with the | 20 | * Constructs a TabManagerBase which is a child of 'parent', with the |
21 | * name 'name' and widget flags set to 'f' | 21 | * name 'name' and widget flags set to 'f' |
22 | */ | 22 | */ |
23 | TabManagerBase::TabManagerBase( QWidget* parent, const char* name, WFlags fl ) | 23 | TabManagerBase::TabManagerBase( QWidget* parent, const char* name, WFlags fl ) |
24 | : QWidget( parent, name, fl ) | 24 | : QWidget( parent, name, fl ) |
25 | { | 25 | { |
26 | if ( !name ) | 26 | if ( !name ) |
27 | setName( "TabManagerBase" ); | 27 | setName( "TabManagerBase" ); |
28 | resize( 289, 228 ); | 28 | resize( 289, 228 ); |
29 | setCaption( tr( "Tab Manger" ) ); | 29 | setCaption( tr( "Tab Manager" ) ); |
30 | TabManagerBaseLayout = new QVBoxLayout( this ); | 30 | TabManagerBaseLayout = new QVBoxLayout( this ); |
31 | TabManagerBaseLayout->setSpacing( 6 ); | 31 | TabManagerBaseLayout->setSpacing( 4 ); |
32 | TabManagerBaseLayout->setMargin( 0 ); | 32 | TabManagerBaseLayout->setMargin( 4 ); |
33 | 33 | ||
34 | tabList = new TabListView( this, "tabList" ); | 34 | tabList = new TabListView( this, "tabList" ); |
35 | tabList->addColumn( tr( "Groups" ) ); | 35 | tabList->addColumn( tr( "Hierarchy" ) ); |
36 | tabList->addColumn( tr( "Applications" ) ); | ||
37 | tabList->setRootIsDecorated( TRUE ); | 36 | tabList->setRootIsDecorated( TRUE ); |
38 | TabManagerBaseLayout->addWidget( tabList ); | 37 | TabManagerBaseLayout->addWidget( tabList ); |
39 | } | 38 | } |
40 | 39 | ||
41 | /* | 40 | /* |
42 | * Destroys the object and frees any allocated resources | 41 | * Destroys the object and frees any allocated resources |
43 | */ | 42 | */ |
44 | TabManagerBase::~TabManagerBase() | 43 | TabManagerBase::~TabManagerBase() |
45 | { | 44 | { |
46 | // no need to delete child widgets, Qt does it all for us | 45 | // no need to delete child widgets, Qt does it all for us |
47 | } | 46 | } |
48 | 47 | ||