Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index e3f6d16..fc233bf 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h @@ -1,6 +1,6 @@ #ifndef NTP_H #define NTP_H -#include "ntpbase.h" +#include "settime.h" #include <qdatetime.h> #include <qtimer.h> @@ -8,7 +8,7 @@ class OProcess; class QString; -class Ntp : public NtpBase +class Ntp : public SetDateTime { Q_OBJECT @@ -18,6 +18,9 @@ public: OProcess *ntpProcess; +protected: + virtual void accept(); + private: QString _ntpOutput; int _maxOffset; |