author | tille <tille> | 2002-06-26 09:40:05 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-26 09:40:05 (UTC) |
commit | 28d91fba01e6eb728de997757a33f4328ee19e2f (patch) (unidiff) | |
tree | f027967e0d120620c46084101547ca7adabbb16e /noncore/settings/netsystemtime/ntp.cpp | |
parent | f49bd645d1537e826e12a3beaafbf291b3ad4d07 (diff) | |
download | opie-28d91fba01e6eb728de997757a33f4328ee19e2f.zip opie-28d91fba01e6eb728de997757a33f4328ee19e2f.tar.gz opie-28d91fba01e6eb728de997757a33f4328ee19e2f.tar.bz2 |
combos update sys
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 4a7959e..b2f192a 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -33,25 +33,25 @@ Ntp::Ntp( QWidget* parent, const char* name, WFlags fl ) | |||
33 | 33 | ||
34 | QSocket *ntpSock = new QSocket( this ); | 34 | QSocket *ntpSock = new QSocket( this ); |
35 | ntpSock->connectToHost( LineEditNtpSrv->text() ,123); | 35 | ntpSock->connectToHost( LineEditNtpSrv->text() ,123); |
36 | connect( ntpSock, SIGNAL( error(int) ), | 36 | connect( ntpSock, SIGNAL( error(int) ), |
37 | SLOT(slotCheckNtp(int)) ); | 37 | SLOT(slotCheckNtp(int)) ); |
38 | 38 | ||
39 | connect ( ntpProcess, SIGNAL(receivedStdout(OProcess*,char*,int)), | 39 | connect ( ntpProcess, SIGNAL(receivedStdout(OProcess*,char*,int)), |
40 | this, SLOT(getNtpOutput(OProcess*,char*,int))); | 40 | this, SLOT(getNtpOutput(OProcess*,char*,int))); |
41 | connect ( ntpProcess, SIGNAL(processExited(OProcess*)), | 41 | connect ( ntpProcess, SIGNAL(processExited(OProcess*)), |
42 | this, SLOT(ntpFinished(OProcess*))); | 42 | this, SLOT(ntpFinished(OProcess*))); |
43 | connect(runNtp, SIGNAL(clicked()), this, SLOT(slotRunNtp())); | 43 | connect(runNtp, SIGNAL(clicked()), this, SLOT(slotRunNtp())); |
44 | connect(PushButtonPredict, SIGNAL(clicked()), this, SLOT(preditctTime())); | 44 | connect(PushButtonPredict, SIGNAL(clicked()), this, SLOT(preditctTime())); |
45 | 45 | slotCheckNtp(-1); | |
46 | // slotRunNtp(); | 46 | // slotRunNtp(); |
47 | readLookups(); | 47 | readLookups(); |
48 | } | 48 | } |
49 | 49 | ||
50 | Ntp::~Ntp() | 50 | Ntp::~Ntp() |
51 | { | 51 | { |
52 | Config cfg("ntp",Config::User); | 52 | Config cfg("ntp",Config::User); |
53 | cfg.setGroup("settings"); | 53 | cfg.setGroup("settings"); |
54 | cfg.writeEntry("ntpServer", LineEditNtpSrv->text()); | 54 | cfg.writeEntry("ntpServer", LineEditNtpSrv->text()); |
55 | cfg.writeEntry( "minLookupDiff", SpinBoxMinDelay->value() ); | 55 | cfg.writeEntry( "minLookupDiff", SpinBoxMinDelay->value() ); |
56 | } | 56 | } |
57 | 57 | ||