Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index 7cc309f..c78dc55 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h | |||
@@ -20,18 +20,22 @@ protected: | |||
20 | QDateTime predictedTime; | 20 | QDateTime predictedTime; |
21 | 21 | ||
22 | 22 | ||
23 | private: | 23 | private: |
24 | QString _ntpOutput; | 24 | QString _ntpOutput; |
25 | float _shiftPerSec; | 25 | float _shiftPerSec; |
26 | int _lookupDiff; | ||
26 | OProcess *ntpProcess; | 27 | OProcess *ntpProcess; |
27 | QTimer *ntpTimer; | 28 | QTimer *ntpTimer; |
28 | QSocket *ntpSock; | 29 | QSocket *ntpSock; |
29 | 30 | ||
30 | float getTimeShift(); | 31 | float getTimeShift(); |
31 | void readLookups(); | 32 | void readLookups(); |
33 | void ntpOutPut(QString); | ||
34 | bool ntpDelayElapsed(); | ||
35 | QString getNtpServer(); | ||
32 | private slots: | 36 | private slots: |
33 | void slotRunNtp(); | 37 | void slotRunNtp(); |
34 | void getNtpOutput(OProcess *proc, char *buffer, int buflen); | 38 | void getNtpOutput(OProcess *proc, char *buffer, int buflen); |
35 | void ntpFinished(OProcess*); | 39 | void ntpFinished(OProcess*); |
36 | void preditctTime(); | 40 | void preditctTime(); |
37 | void slotCheckNtp(int); | 41 | void slotCheckNtp(int); |