summaryrefslogtreecommitdiff
path: root/noncore/settings/netsystemtime/ntp.h
Unidiff
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.h7
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
6class OProcess; 6class OProcess;
7class QString; 7class QString;
8 8class QTimer;
9class QSocket;
9 10
10class Ntp : public SetDateTime 11class 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