author | tille <tille> | 2002-06-26 16:24:42 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-26 16:24:42 (UTC) |
commit | e9b05e2b93bf000777ae1c55e7d5cac35a67145d (patch) (unidiff) | |
tree | 11848aecc3f8ee23fd71d84cb7b821090bad19dc /noncore/settings/netsystemtime/ntp.h | |
parent | 97e2050f5880cb27d2cd028ed61eef1dc59d1ad1 (diff) | |
download | opie-e9b05e2b93bf000777ae1c55e7d5cac35a67145d.zip opie-e9b05e2b93bf000777ae1c55e7d5cac35a67145d.tar.gz opie-e9b05e2b93bf000777ae1c55e7d5cac35a67145d.tar.bz2 |
timer working
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore 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 | |||
@@ -23,12 +23,16 @@ protected: | |||
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); |