author | tille <tille> | 2002-10-31 17:50:26 (UTC) |
---|---|---|
committer | tille <tille> | 2002-10-31 17:50:26 (UTC) |
commit | 9c511809c55d48db528e6ef97ec9969fa5517381 (patch) (unidiff) | |
tree | 84f51a9b842aac6487cfd7b5ea78d3e17e1591a8 | |
parent | d955226c2197578f69c510282a4e9ad1ea8fe771 (diff) | |
download | opie-9c511809c55d48db528e6ef97ec9969fa5517381.zip opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.gz opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.bz2 |
replacement for systemtime now
-rw-r--r-- | noncore/settings/netsystemtime/netsystemtime.pro | 2 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.cpp | 24 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.h | 8 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.ui | 6 |
4 files changed, 20 insertions, 20 deletions
diff --git a/noncore/settings/netsystemtime/netsystemtime.pro b/noncore/settings/netsystemtime/netsystemtime.pro index 0530ea5..3aaf369 100644 --- a/noncore/settings/netsystemtime/netsystemtime.pro +++ b/noncore/settings/netsystemtime/netsystemtime.pro | |||
@@ -8,7 +8,7 @@ DEPENDPATH += $(OPIEDIR)/include | |||
8 | LIBS += -lqpe -lopie | 8 | LIBS += -lqpe -lopie |
9 | INTERFACES= | 9 | INTERFACES= |
10 | DESTDIR = $(OPIEDIR)/bin | 10 | DESTDIR = $(OPIEDIR)/bin |
11 | TARGET = netsystemtime | 11 | TARGET = systemtime |
12 | 12 | ||
13 | TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \ | 13 | TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \ |
14 | ../../../i18n/en/netsystemtime.ts \ | 14 | ../../../i18n/en/netsystemtime.ts \ |
diff --git a/noncore/settings/netsystemtime/ntpbase.cpp b/noncore/settings/netsystemtime/ntpbase.cpp index c10c6ae..8d44f17 100644 --- a/noncore/settings/netsystemtime/ntpbase.cpp +++ b/noncore/settings/netsystemtime/ntpbase.cpp | |||
@@ -44,9 +44,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
44 | tabMainLayout->setSpacing( 2 ); | 44 | tabMainLayout->setSpacing( 2 ); |
45 | tabMainLayout->setMargin( 2 ); | 45 | tabMainLayout->setMargin( 2 ); |
46 | 46 | ||
47 | FrameSystemTime = new QFrame( tabMain, "FrameSystemTime" ); | 47 | FrameSystemTime = new QWidget( tabMain, "FrameSystemTime" ); |
48 | FrameSystemTime->setFrameShape( QFrame::StyledPanel ); | 48 | // FrameSystemTime->setFrameShape( QFrame::StyledPanel ); |
49 | FrameSystemTime->setFrameShadow( QFrame::Raised ); | 49 | //FrameSystemTime->setFrameShadow( QFrame::Raised ); |
50 | 50 | ||
51 | tabMainLayout->addWidget( FrameSystemTime, 0, 0 ); | 51 | tabMainLayout->addWidget( FrameSystemTime, 0, 0 ); |
52 | 52 | ||
@@ -60,9 +60,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
60 | 60 | ||
61 | tabNtpLayout->addWidget( runNtp, 1, 0 ); | 61 | tabNtpLayout->addWidget( runNtp, 1, 0 ); |
62 | 62 | ||
63 | FrameNtp = new QFrame( tabNtp, "FrameNtp" ); | 63 | FrameNtp = new QWidget( tabNtp, "FrameNtp" ); |
64 | FrameNtp->setFrameShape( QFrame::StyledPanel ); | 64 | // FrameNtp->setFrameShape( QFrame::StyledPanel ); |
65 | FrameNtp->setFrameShadow( QFrame::Raised ); | 65 | // FrameNtp->setFrameShadow( QFrame::Raised ); |
66 | FrameNtpLayout = new QGridLayout( FrameNtp ); | 66 | FrameNtpLayout = new QGridLayout( FrameNtp ); |
67 | FrameNtpLayout->setSpacing( 2 ); | 67 | FrameNtpLayout->setSpacing( 2 ); |
68 | FrameNtpLayout->setMargin( 2 ); | 68 | FrameNtpLayout->setMargin( 2 ); |
@@ -180,9 +180,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
180 | TabSettingsLayout->setSpacing( 2 ); | 180 | TabSettingsLayout->setSpacing( 2 ); |
181 | TabSettingsLayout->setMargin( 2 ); | 181 | TabSettingsLayout->setMargin( 2 ); |
182 | 182 | ||
183 | FrameSettings = new QFrame( TabSettings, "FrameSettings" ); | 183 | FrameSettings = new QWidget( TabSettings, "FrameSettings" ); |
184 | FrameSettings->setFrameShape( QFrame::StyledPanel ); | 184 | // FrameSettings->setFrameShape( QFrame::StyledPanel ); |
185 | FrameSettings->setFrameShadow( QFrame::Raised ); | 185 | // FrameSettings->setFrameShadow( QFrame::Raised ); |
186 | FrameSettingsLayout = new QVBoxLayout( FrameSettings ); | 186 | FrameSettingsLayout = new QVBoxLayout( FrameSettings ); |
187 | FrameSettingsLayout->setSpacing( 6 ); | 187 | FrameSettingsLayout->setSpacing( 6 ); |
188 | FrameSettingsLayout->setMargin( 11 ); | 188 | FrameSettingsLayout->setMargin( 11 ); |
@@ -291,9 +291,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
291 | tabManualSetTimeLayout->setSpacing( 2 ); | 291 | tabManualSetTimeLayout->setSpacing( 2 ); |
292 | tabManualSetTimeLayout->setMargin( 2 ); | 292 | tabManualSetTimeLayout->setMargin( 2 ); |
293 | 293 | ||
294 | FrameSetTime = new QFrame( tabManualSetTime, "FrameSetTime" ); | 294 | FrameSetTime = new QWidget( tabManualSetTime, "FrameSetTime" ); |
295 | FrameSetTime->setFrameShape( QFrame::StyledPanel ); | 295 | // FrameSetTime->setFrameShape( QFrame::StyledPanel ); |
296 | FrameSetTime->setFrameShadow( QFrame::Raised ); | 296 | // FrameSetTime->setFrameShadow( QFrame::Raised ); |
297 | tabManualSetTimeLayout->addWidget( FrameSetTime ); | 297 | tabManualSetTimeLayout->addWidget( FrameSetTime ); |
298 | 298 | ||
299 | PushButtonSetManualTime = new QPushButton( tabManualSetTime, "PushButtonSetManualTime" ); | 299 | PushButtonSetManualTime = new QPushButton( tabManualSetTime, "PushButtonSetManualTime" ); |
diff --git a/noncore/settings/netsystemtime/ntpbase.h b/noncore/settings/netsystemtime/ntpbase.h index a669601..a443495 100644 --- a/noncore/settings/netsystemtime/ntpbase.h +++ b/noncore/settings/netsystemtime/ntpbase.h | |||
@@ -34,10 +34,10 @@ public: | |||
34 | 34 | ||
35 | QTabWidget* TabWidgetMain; | 35 | QTabWidget* TabWidgetMain; |
36 | QWidget* tabMain; | 36 | QWidget* tabMain; |
37 | QFrame* FrameSystemTime; | 37 | QWidget* FrameSystemTime; |
38 | QWidget* tabNtp; | 38 | QWidget* tabNtp; |
39 | QPushButton* runNtp; | 39 | QPushButton* runNtp; |
40 | QFrame* FrameNtp; | 40 | QWidget* FrameNtp; |
41 | QLabel* TextLabel1; | 41 | QLabel* TextLabel1; |
42 | QLabel* TextLabelStartTime; | 42 | QLabel* TextLabelStartTime; |
43 | QLabel* TextLabel3; | 43 | QLabel* TextLabel3; |
@@ -56,7 +56,7 @@ public: | |||
56 | QPushButton* PushButtonSetPredTime; | 56 | QPushButton* PushButtonSetPredTime; |
57 | QPushButton* PushButtonPredict; | 57 | QPushButton* PushButtonPredict; |
58 | QWidget* TabSettings; | 58 | QWidget* TabSettings; |
59 | QFrame* FrameSettings; | 59 | QWidget* FrameSettings; |
60 | QLabel* TextLabel7_2; | 60 | QLabel* TextLabel7_2; |
61 | QLabel* TextLabel2_2; | 61 | QLabel* TextLabel2_2; |
62 | QLabel* TextLabel1_3; | 62 | QLabel* TextLabel1_3; |
@@ -72,7 +72,7 @@ public: | |||
72 | QLabel* TextLabel3_3; | 72 | QLabel* TextLabel3_3; |
73 | QSpinBox* SpinBoxMinLookupDelay; | 73 | QSpinBox* SpinBoxMinLookupDelay; |
74 | QWidget* tabManualSetTime; | 74 | QWidget* tabManualSetTime; |
75 | QFrame* FrameSetTime; | 75 | QWidget* FrameSetTime; |
76 | QPushButton* PushButtonSetManualTime; | 76 | QPushButton* PushButtonSetManualTime; |
77 | 77 | ||
78 | protected: | 78 | protected: |
diff --git a/noncore/settings/netsystemtime/ntpbase.ui b/noncore/settings/netsystemtime/ntpbase.ui index 62f736b..465bba0 100644 --- a/noncore/settings/netsystemtime/ntpbase.ui +++ b/noncore/settings/netsystemtime/ntpbase.ui | |||
@@ -113,7 +113,7 @@ | |||
113 | </property> | 113 | </property> |
114 | </widget> | 114 | </widget> |
115 | <widget row="0" column="0" > | 115 | <widget row="0" column="0" > |
116 | <class>QFrame</class> | 116 | <class>QWidget</class> |
117 | <property stdset="1"> | 117 | <property stdset="1"> |
118 | <name>name</name> | 118 | <name>name</name> |
119 | <cstring>FrameNtp</cstring> | 119 | <cstring>FrameNtp</cstring> |
@@ -458,7 +458,7 @@ | |||
458 | <number>2</number> | 458 | <number>2</number> |
459 | </property> | 459 | </property> |
460 | <widget row="0" column="0" > | 460 | <widget row="0" column="0" > |
461 | <class>QFrame</class> | 461 | <class>QWidget</class> |
462 | <property stdset="1"> | 462 | <property stdset="1"> |
463 | <name>name</name> | 463 | <name>name</name> |
464 | <cstring>FrameSettings</cstring> | 464 | <cstring>FrameSettings</cstring> |
@@ -809,7 +809,7 @@ | |||
809 | <number>2</number> | 809 | <number>2</number> |
810 | </property> | 810 | </property> |
811 | <widget> | 811 | <widget> |
812 | <class>QFrame</class> | 812 | <class>QWidget</class> |
813 | <property stdset="1"> | 813 | <property stdset="1"> |
814 | <name>name</name> | 814 | <name>name</name> |
815 | <cstring>FrameSetTime</cstring> | 815 | <cstring>FrameSetTime</cstring> |