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.h1
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;
12class Ntp : public SetDateTime 12class Ntp : public SetDateTime
13{ 13{
14 Q_OBJECT 14 Q_OBJECT
15 15
16public: 16public:
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
20public slots: 20public slots:
21 void setDocument (const QString &); 21 void setDocument (const QString &);
22protected: 22protected:
23 virtual void accept( ); 23 virtual void accept( );
24 virtual void reject( );
24 QDateTime predictedTime; 25 QDateTime predictedTime;
25 void makeChannel(); 26 void makeChannel();
26protected slots: 27protected slots:
27 void receive(const QCString &msg, const QByteArray &arg); 28 void receive(const QCString &msg, const QByteArray &arg);
28private: 29private:
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;