From e9b05e2b93bf000777ae1c55e7d5cac35a67145d Mon Sep 17 00:00:00 2001 From: tille Date: Wed, 26 Jun 2002 16:24:42 +0000 Subject: timer working --- (limited to 'noncore/settings/netsystemtime/ntp.h') 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: private: QString _ntpOutput; float _shiftPerSec; + int _lookupDiff; OProcess *ntpProcess; QTimer *ntpTimer; QSocket *ntpSock; float getTimeShift(); void readLookups(); + void ntpOutPut(QString); + bool ntpDelayElapsed(); + QString getNtpServer(); private slots: void slotRunNtp(); void getNtpOutput(OProcess *proc, char *buffer, int buflen); -- cgit v0.9.0.2