summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -5,13 +5,13 @@ HEADERS = ntp.h settime.h ntpbase.h
SOURCES = main.cpp ntp.cpp settime.cpp ntpbase.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopie
INTERFACES =
DESTDIR = $(OPIEDIR)/bin
-TARGET = netsystemtime
+TARGET = systemtime
TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \
../../../i18n/en/netsystemtime.ts \
../../../i18n/es/netsystemtime.ts \
../../../i18n/fr/netsystemtime.ts \
../../../i18n/hu/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
@@ -41,15 +41,15 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
tabMain = new QWidget( TabWidgetMain, "tabMain" );
tabMainLayout = new QGridLayout( tabMain );
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 );
tabNtp = new QWidget( TabWidgetMain, "tabNtp" );
tabNtpLayout = new QGridLayout( tabNtp );
tabNtpLayout->setSpacing( 2 );
@@ -57,15 +57,15 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
runNtp = new QPushButton( tabNtp, "runNtp" );
runNtp->setText( tr( "Get time from network" ) );
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 );
Layout4 = new QVBoxLayout;
Layout4->setSpacing( 6 );
@@ -177,15 +177,15 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
TabSettings = new QWidget( TabWidgetMain, "TabSettings" );
TabSettingsLayout = new QGridLayout( TabSettings );
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 );
Layout6 = new QGridLayout;
Layout6->setSpacing( 6 );
@@ -288,15 +288,15 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
tabManualSetTime = new QWidget( TabWidgetMain, "tabManualSetTime" );
tabManualSetTimeLayout = new QVBoxLayout( tabManualSetTime );
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" );
PushButtonSetManualTime->setText( tr( "Set time" ) );
tabManualSetTimeLayout->addWidget( 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
@@ -31,16 +31,16 @@ class NtpBase : public QWidget
public:
NtpBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~NtpBase();
QTabWidget* TabWidgetMain;
QWidget* tabMain;
- QFrame* FrameSystemTime;
+ QWidget* FrameSystemTime;
QWidget* tabNtp;
QPushButton* runNtp;
- QFrame* FrameNtp;
+ QWidget* FrameNtp;
QLabel* TextLabel1;
QLabel* TextLabelStartTime;
QLabel* TextLabel3;
QLabel* TextLabelTimeShift;
QLabel* TextLabel5;
QLabel* TextLabelNewTime;
@@ -53,13 +53,13 @@ public:
QLabel* TextLabel3_2;
QLabel* Mean_shift_label;
QLabel* TextLabelPredTime;
QPushButton* PushButtonSetPredTime;
QPushButton* PushButtonPredict;
QWidget* TabSettings;
- QFrame* FrameSettings;
+ QWidget* FrameSettings;
QLabel* TextLabel7_2;
QLabel* TextLabel2_2;
QLabel* TextLabel1_3;
QComboBox* ComboNtpSrv;
QCheckBox* CheckBoxAdvSettings;
QFrame* Line1;
@@ -69,13 +69,13 @@ public:
QSpinBox* SpinBoxNtpDelay;
QLabel* TextLabel1_2;
QLabel* TextLabel2;
QLabel* TextLabel3_3;
QSpinBox* SpinBoxMinLookupDelay;
QWidget* tabManualSetTime;
- QFrame* FrameSetTime;
+ QWidget* FrameSetTime;
QPushButton* PushButtonSetManualTime;
protected:
QGridLayout* NtpBaseLayout;
QGridLayout* tabMainLayout;
QGridLayout* tabNtpLayout;
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
@@ -110,13 +110,13 @@
<property stdset="1">
<name>text</name>
<string>Get time from network</string>
</property>
</widget>
<widget row="0" column="0" >
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameNtp</cstring>
</property>
<property stdset="1">
<name>frameShape</name>
@@ -455,13 +455,13 @@
</property>
<property stdset="1">
<name>spacing</name>
<number>2</number>
</property>
<widget row="0" column="0" >
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameSettings</cstring>
</property>
<property stdset="1">
<name>frameShape</name>
@@ -806,13 +806,13 @@
</property>
<property stdset="1">
<name>spacing</name>
<number>2</number>
</property>
<widget>
- <class>QFrame</class>
+ <class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>FrameSetTime</cstring>
</property>
<property stdset="1">
<name>frameShape</name>