Diffstat (limited to 'noncore/settings/netsystemtime/settime.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/settime.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp index f6e02d5..949fcb3 100644 --- a/noncore/settings/netsystemtime/settime.cpp +++ b/noncore/settings/netsystemtime/settime.cpp | |||
@@ -57,14 +57,14 @@ SetDateTime::SetDateTime(QWidget *parent, const char *name, WFlags f ) | |||
57 | // setCaption( tr("Set System Time") ); | 57 | // setCaption( tr("Set System Time") ); |
58 | 58 | ||
59 | // QVBoxLayout *vb = new QVBoxLayout( this, 5 ); | 59 | // QVBoxLayout *vb = new QVBoxLayout( this, 5 ); |
60 | QVBoxLayout *vb = new QVBoxLayout( FrameSystemTime, 5 ); | 60 | QVBoxLayout *vb = new QVBoxLayout( FrameSystemTime, 5 ); |
61 | QVBoxLayout *vb2 = new QVBoxLayout( FrameSetTime, 5 ); | 61 | QVBoxLayout *vb2 = new QVBoxLayout( FrameSetTime, 5 ); |
62 | 62 | ||
63 | # TextLabelMainPredTime = new QLabel( FrameSystemTime ); | 63 | TextLabelMainPredTime = new QLabel( FrameSystemTime ); |
64 | # vb->addWidget( TextLabelMainPredTime, 1, 0 ); | 64 | vb->addWidget( TextLabelMainPredTime, 1, 0 ); |
65 | 65 | ||
66 | QHBoxLayout *hb = new QHBoxLayout( vb, -1, "timezone layout" ); | 66 | QHBoxLayout *hb = new QHBoxLayout( vb, -1, "timezone layout" ); |
67 | 67 | ||
68 | QLabel *lblZone = new QLabel( tr( "Time Zone" ), FrameSystemTime, "timezone label" ); | 68 | QLabel *lblZone = new QLabel( tr( "Time Zone" ), FrameSystemTime, "timezone label" ); |
69 | lblZone->setMaximumSize( lblZone->sizeHint() ); | 69 | lblZone->setMaximumSize( lblZone->sizeHint() ); |
70 | hb->addWidget( lblZone ); | 70 | hb->addWidget( lblZone ); |
@@ -82,13 +82,13 @@ SetDateTime::SetDateTime(QWidget *parent, const char *name, WFlags f ) | |||
82 | dateButton = new DateButton( TRUE, FrameSetTime ); | 82 | dateButton = new DateButton( TRUE, FrameSetTime ); |
83 | db->addWidget( dateButton, 2 ); | 83 | db->addWidget( dateButton, 2 ); |
84 | 84 | ||
85 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 85 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
86 | vb2->addItem( spacer ); | 86 | vb2->addItem( spacer ); |
87 | 87 | ||
88 | hline = new QFrame( FrameSystemTime ); | 88 | QFrame *hline = new QFrame( FrameSystemTime ); |
89 | hline->setFrameStyle( QFrame::HLine | QFrame::Sunken ); | 89 | hline->setFrameStyle( QFrame::HLine | QFrame::Sunken ); |
90 | vb->addWidget( hline ); | 90 | vb->addWidget( hline ); |
91 | 91 | ||
92 | Config config("qpe"); | 92 | Config config("qpe"); |
93 | config.setGroup( "Time" ); | 93 | config.setGroup( "Time" ); |
94 | 94 | ||
@@ -176,13 +176,13 @@ SetDateTime::SetDateTime(QWidget *parent, const char *name, WFlags f ) | |||
176 | hb4->addWidget( clockAppletCombo, 2 ); | 176 | hb4->addWidget( clockAppletCombo, 2 ); |
177 | int clockApplet = config.readNumEntry("ClockApplet",0); | 177 | int clockApplet = config.readNumEntry("ClockApplet",0); |
178 | clockAppletCombo->setCurrentItem( clockApplet ); | 178 | clockAppletCombo->setCurrentItem( clockApplet ); |
179 | 179 | ||
180 | vb->addStretch( 0 ); | 180 | vb->addStretch( 0 ); |
181 | 181 | ||
182 | QFrame *hline = new QFrame( FrameSystemTime ); | 182 | hline = new QFrame( FrameSystemTime ); |
183 | hline->setFrameStyle( QFrame::HLine | QFrame::Sunken ); | 183 | hline->setFrameStyle( QFrame::HLine | QFrame::Sunken ); |
184 | vb->addWidget( hline ); | 184 | vb->addWidget( hline ); |
185 | 185 | ||
186 | ButtonSetTime = new QPushButton( FrameSystemTime ); | 186 | ButtonSetTime = new QPushButton( FrameSystemTime ); |
187 | vb->addWidget( ButtonSetTime, 1, 0 ); | 187 | vb->addWidget( ButtonSetTime, 1, 0 ); |
188 | 188 | ||