summaryrefslogtreecommitdiff
authortille <tille>2002-10-31 17:50:26 (UTC)
committer tille <tille>2002-10-31 17:50:26 (UTC)
commit9c511809c55d48db528e6ef97ec9969fa5517381 (patch) (side-by-side diff)
tree84f51a9b842aac6487cfd7b5ea78d3e17e1591a8
parentd955226c2197578f69c510282a4e9ad1ea8fe771 (diff)
downloadopie-9c511809c55d48db528e6ef97ec9969fa5517381.zip
opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.gz
opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.bz2
replacement for systemtime now
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/netsystemtime.pro2
-rw-r--r--noncore/settings/netsystemtime/ntpbase.cpp24
-rw-r--r--noncore/settings/netsystemtime/ntpbase.h8
-rw-r--r--noncore/settings/netsystemtime/ntpbase.ui6
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
LIBS += -lqpe -lopie
INTERFACES =
DESTDIR = $(OPIEDIR)/bin
-TARGET = netsystemtime
+TARGET = systemtime
TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \
../../../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 )
tabMainLayout->setSpacing( 2 );
tabMainLayout->setMargin( 2 );
- FrameSystemTime = new QFrame( tabMain, "FrameSystemTime" );
- FrameSystemTime->setFrameShape( QFrame::StyledPanel );
- FrameSystemTime->setFrameShadow( QFrame::Raised );
+ FrameSystemTime = new QWidget( tabMain, "FrameSystemTime" );
+ // FrameSystemTime->setFrameShape( QFrame::StyledPanel );
+ //FrameSystemTime->setFrameShadow( QFrame::Raised );
tabMainLayout->addWidget( FrameSystemTime, 0, 0 );
@@ -60,9 +60,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
tabNtpLayout->addWidget( runNtp, 1, 0 );
- FrameNtp = new QFrame( tabNtp, "FrameNtp" );
- FrameNtp->setFrameShape( QFrame::StyledPanel );
- FrameNtp->setFrameShadow( QFrame::Raised );
+ FrameNtp = new QWidget( tabNtp, "FrameNtp" );
+ // FrameNtp->setFrameShape( QFrame::StyledPanel );
+ // FrameNtp->setFrameShadow( QFrame::Raised );
FrameNtpLayout = new QGridLayout( FrameNtp );
FrameNtpLayout->setSpacing( 2 );
FrameNtpLayout->setMargin( 2 );
@@ -180,9 +180,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
TabSettingsLayout->setSpacing( 2 );
TabSettingsLayout->setMargin( 2 );
- FrameSettings = new QFrame( TabSettings, "FrameSettings" );
- FrameSettings->setFrameShape( QFrame::StyledPanel );
- FrameSettings->setFrameShadow( QFrame::Raised );
+ FrameSettings = new QWidget( TabSettings, "FrameSettings" );
+ // FrameSettings->setFrameShape( QFrame::StyledPanel );
+ // FrameSettings->setFrameShadow( QFrame::Raised );
FrameSettingsLayout = new QVBoxLayout( FrameSettings );
FrameSettingsLayout->setSpacing( 6 );
FrameSettingsLayout->setMargin( 11 );
@@ -291,9 +291,9 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
tabManualSetTimeLayout->setSpacing( 2 );
tabManualSetTimeLayout->setMargin( 2 );
- FrameSetTime = new QFrame( tabManualSetTime, "FrameSetTime" );
- FrameSetTime->setFrameShape( QFrame::StyledPanel );
- FrameSetTime->setFrameShadow( QFrame::Raised );
+ FrameSetTime = new QWidget( tabManualSetTime, "FrameSetTime" );
+ // FrameSetTime->setFrameShape( QFrame::StyledPanel );
+ // FrameSetTime->setFrameShadow( QFrame::Raised );
tabManualSetTimeLayout->addWidget( FrameSetTime );
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:
QTabWidget* TabWidgetMain;
QWidget* tabMain;
- QFrame* FrameSystemTime;
+ QWidget* FrameSystemTime;
QWidget* tabNtp;
QPushButton* runNtp;
- QFrame* FrameNtp;
+ QWidget* FrameNtp;
QLabel* TextLabel1;
QLabel* TextLabelStartTime;
QLabel* TextLabel3;
@@ -56,7 +56,7 @@ public:
QPushButton* PushButtonSetPredTime;
QPushButton* PushButtonPredict;
QWidget* TabSettings;
- QFrame* FrameSettings;
+ QWidget* FrameSettings;
QLabel* TextLabel7_2;
QLabel* TextLabel2_2;
QLabel* TextLabel1_3;
@@ -72,7 +72,7 @@ public:
QLabel* TextLabel3_3;
QSpinBox* SpinBoxMinLookupDelay;
QWidget* tabManualSetTime;
- QFrame* FrameSetTime;
+ QWidget* FrameSetTime;
QPushButton* PushButtonSetManualTime;
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 @@
</property>
</widget>
<widget row="0" column="0" >
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameNtp</cstring>
@@ -458,7 +458,7 @@
<number>2</number>
</property>
<widget row="0" column="0" >
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameSettings</cstring>
@@ -809,7 +809,7 @@
<number>2</number>
</property>
<widget>
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameSetTime</cstring>