Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index a4573f8..150140e 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h | |||
@@ -12,24 +12,25 @@ class QCopChannel; | |||
12 | class Ntp : public SetDateTime | 12 | class Ntp : public SetDateTime |
13 | { | 13 | { |
14 | Q_OBJECT | 14 | Q_OBJECT |
15 | 15 | ||
16 | public: | 16 | public: |
17 | Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 17 | Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
18 | ~Ntp(); | 18 | ~Ntp(); |
19 | 19 | ||
20 | public slots: | 20 | public slots: |
21 | void setDocument (const QString &); | 21 | void setDocument (const QString &); |
22 | protected: | 22 | protected: |
23 | virtual void accept( ); | 23 | virtual void accept( ); |
24 | virtual void reject( ); | ||
24 | QDateTime predictedTime; | 25 | QDateTime predictedTime; |
25 | void makeChannel(); | 26 | void makeChannel(); |
26 | protected slots: | 27 | protected slots: |
27 | void receive(const QCString &msg, const QByteArray &arg); | 28 | void receive(const QCString &msg, const QByteArray &arg); |
28 | private: | 29 | private: |
29 | QString _ntpOutput; | 30 | QString _ntpOutput; |
30 | float _shiftPerSec; | 31 | float _shiftPerSec; |
31 | int _lookupDiff; | 32 | int _lookupDiff; |
32 | OProcess *ntpProcess; | 33 | OProcess *ntpProcess; |
33 | QTimer *ntpTimer; | 34 | QTimer *ntpTimer; |
34 | QSocket *ntpSock; | 35 | QSocket *ntpSock; |
35 | QCopChannel *channel; | 36 | QCopChannel *channel; |