author | tille <tille> | 2002-06-26 14:27:43 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-26 14:27:43 (UTC) |
commit | 47a1461b3a250e079ab99a1075974ccea909216a (patch) (unidiff) | |
tree | 7e3586c6ba138203671bc173b06c1c0c7eee40f1 /noncore/settings/netsystemtime/ntp.h | |
parent | 531bb3c03f5576523a3c7ccecc714362507f69e1 (diff) | |
download | opie-47a1461b3a250e079ab99a1075974ccea909216a.zip opie-47a1461b3a250e079ab99a1075974ccea909216a.tar.gz opie-47a1461b3a250e079ab99a1075974ccea909216a.tar.bz2 |
inlc. timer for ntp update and ntpservers combo
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index 284ae27..7cc309f 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h | |||
@@ -5,7 +5,8 @@ | |||
5 | 5 | ||
6 | class OProcess; | 6 | class OProcess; |
7 | class QString; | 7 | class QString; |
8 | 8 | class QTimer; | |
9 | class QSocket; | ||
9 | 10 | ||
10 | class Ntp : public SetDateTime | 11 | class Ntp : public SetDateTime |
11 | { | 12 | { |
@@ -23,6 +24,8 @@ private: | |||
23 | QString _ntpOutput; | 24 | QString _ntpOutput; |
24 | float _shiftPerSec; | 25 | float _shiftPerSec; |
25 | OProcess *ntpProcess; | 26 | OProcess *ntpProcess; |
27 | QTimer *ntpTimer; | ||
28 | QSocket *ntpSock; | ||
26 | 29 | ||
27 | float getTimeShift(); | 30 | float getTimeShift(); |
28 | void readLookups(); | 31 | void readLookups(); |
@@ -33,6 +36,8 @@ private slots: | |||
33 | void preditctTime(); | 36 | void preditctTime(); |
34 | void slotCheckNtp(int); | 37 | void slotCheckNtp(int); |
35 | void setPredictTime(); | 38 | void setPredictTime(); |
39 | void slotProbeNtpServer(); | ||
40 | void slotNtpDelayChanged(int); | ||
36 | }; | 41 | }; |
37 | 42 | ||
38 | #endif | 43 | #endif |