Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index 15cddbd..a4573f8 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h | |||
@@ -17,12 +17,13 @@ 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 | QDateTime predictedTime; | 24 | QDateTime predictedTime; |
24 | void makeChannel(); | 25 | void makeChannel(); |
25 | protected slots: | 26 | protected slots: |
26 | void receive(const QCString &msg, const QByteArray &arg); | 27 | void receive(const QCString &msg, const QByteArray &arg); |
27 | private: | 28 | private: |
28 | QString _ntpOutput; | 29 | QString _ntpOutput; |
@@ -35,12 +36,13 @@ private: | |||
35 | bool _interactive; | 36 | bool _interactive; |
36 | float getTimeShift(); | 37 | float getTimeShift(); |
37 | void readLookups(); | 38 | void readLookups(); |
38 | void ntpOutPut(QString); | 39 | void ntpOutPut(QString); |
39 | bool ntpDelayElapsed(); | 40 | bool ntpDelayElapsed(); |
40 | QString getNtpServer(); | 41 | QString getNtpServer(); |
42 | void saveConfig(); | ||
41 | private slots: | 43 | private slots: |
42 | void slotTimerRunNtp(); | 44 | void slotTimerRunNtp(); |
43 | void slotButtonRunNtp(); | 45 | void slotButtonRunNtp(); |
44 | void slotRunNtp(); | 46 | void slotRunNtp(); |
45 | void getNtpOutput(OProcess *proc, char *buffer, int buflen); | 47 | void getNtpOutput(OProcess *proc, char *buffer, int buflen); |
46 | void ntpFinished(OProcess*); | 48 | void ntpFinished(OProcess*); |