author | tille <tille> | 2002-10-31 17:50:26 (UTC) |
---|---|---|
committer | tille <tille> | 2002-10-31 17:50:26 (UTC) |
commit | 9c511809c55d48db528e6ef97ec9969fa5517381 (patch) (side-by-side diff) | |
tree | 84f51a9b842aac6487cfd7b5ea78d3e17e1591a8 /noncore/settings/netsystemtime/ntpbase.cpp | |
parent | d955226c2197578f69c510282a4e9ad1ea8fe771 (diff) | |
download | opie-9c511809c55d48db528e6ef97ec9969fa5517381.zip opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.gz opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.bz2 |
replacement for systemtime now
Diffstat (limited to 'noncore/settings/netsystemtime/ntpbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
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 ); |