Diffstat (limited to 'core/settings/citytime/citytimebase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/citytime/citytimebase.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/settings/citytime/citytimebase.cpp b/core/settings/citytime/citytimebase.cpp index d734cf3..a3483cc 100644 --- a/core/settings/citytime/citytimebase.cpp +++ b/core/settings/citytime/citytimebase.cpp | |||
@@ -1,37 +1,34 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | // changes by Maximilian Reiss <harlekin@handhelds.org> | 3 | // changes by Maximilian Reiss <harlekin@handhelds.org> |
4 | 4 | ||
5 | #include "citytimebase.h" | 5 | #include "citytimebase.h" |
6 | 6 | ||
7 | #include <qlabel.h> | 7 | #include <qlabel.h> |
8 | #include <qpushbutton.h> | ||
9 | #include <qtoolbutton.h> | 8 | #include <qtoolbutton.h> |
10 | #include "zonemap.h" | 9 | #include "zonemap.h" |
11 | #include <qlayout.h> | 10 | #include <qlayout.h> |
12 | #include <qvariant.h> | ||
13 | #include <qtooltip.h> | ||
14 | #include <qwhatsthis.h> | 11 | #include <qwhatsthis.h> |
15 | 12 | ||
16 | 13 | ||
17 | /* | 14 | /* |
18 | * Constructs a CityTimeBase which is a child of 'parent', with the | 15 | * Constructs a CityTimeBase which is a child of 'parent', with the |
19 | * name 'name' and widget flags set to 'f' | 16 | * name 'name' and widget flags set to 'f' |
20 | */ | 17 | */ |
21 | CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) | 18 | CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) |
22 | : QWidget( parent, name, WStyle_ContextHelp ) | 19 | : QWidget( parent, name, WStyle_ContextHelp ) |
23 | { | 20 | { |
24 | if ( !name ) | 21 | if ( !name ) |
25 | setName( "CityTimeBase" ); | 22 | setName( "CityTimeBase" ); |
26 | setCaption( tr( "City Time" ) ); | 23 | setCaption( tr( "City Time" ) ); |
27 | CityTimeBaseLayout = new QVBoxLayout( this ); | 24 | CityTimeBaseLayout = new QVBoxLayout( this ); |
28 | CityTimeBaseLayout->setSpacing( 3 ); | 25 | CityTimeBaseLayout->setSpacing( 3 ); |
29 | CityTimeBaseLayout->setMargin( 0 ); | 26 | CityTimeBaseLayout->setMargin( 0 ); |
30 | 27 | ||
31 | frmMap = new ZoneMap( this, "frmMap" ); | 28 | frmMap = new ZoneMap( this, "frmMap" ); |
32 | frmMap->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, frmMap->sizePolicy().hasHeightForWidth() ) ); | 29 | frmMap->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, frmMap->sizePolicy().hasHeightForWidth() ) ); |
33 | CityTimeBaseLayout->addWidget( frmMap ); | 30 | CityTimeBaseLayout->addWidget( frmMap ); |
34 | 31 | ||
35 | buttonWidget = new QWidget( this ); | 32 | buttonWidget = new QWidget( this ); |
36 | QWhatsThis::add( buttonWidget, tr( "Click on one of the set cities to replace it" ) ); | 33 | QWhatsThis::add( buttonWidget, tr( "Click on one of the set cities to replace it" ) ); |
37 | Layout2 = new QGridLayout( buttonWidget ); | 34 | Layout2 = new QGridLayout( buttonWidget ); |