Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index d2e238d..284ae27 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h | |||
@@ -4,3 +4,2 @@ | |||
4 | #include <qdatetime.h> | 4 | #include <qdatetime.h> |
5 | #include <qtimer.h> | ||
6 | 5 | ||
@@ -18,6 +17,5 @@ public: | |||
18 | 17 | ||
19 | OProcess *ntpProcess; | ||
20 | |||
21 | protected: | 18 | protected: |
22 | virtual void accept(); | 19 | QDateTime predictedTime; |
20 | |||
23 | 21 | ||
@@ -25,6 +23,4 @@ private: | |||
25 | QString _ntpOutput; | 23 | QString _ntpOutput; |
26 | int _maxOffset; | ||
27 | float _shiftPerSec; | 24 | float _shiftPerSec; |
28 | // QTimer *_nextCorrection; | 25 | OProcess *ntpProcess; |
29 | int _minLookupDiff; | ||
30 | 26 | ||
@@ -36,4 +32,5 @@ private slots: | |||
36 | void ntpFinished(OProcess*); | 32 | void ntpFinished(OProcess*); |
37 | // void correctClock(); | ||
38 | void preditctTime(); | 33 | void preditctTime(); |
34 | void slotCheckNtp(int); | ||
35 | void setPredictTime(); | ||
39 | }; | 36 | }; |