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,15 +1,15 @@ #ifndef NTP_H #define NTP_H -#include "ntpbase.h" +#include "settime.h" #include <qdatetime.h> #include <qtimer.h> class OProcess; class QString; -class Ntp : public NtpBase +class Ntp : public SetDateTime { Q_OBJECT public: @@ -17,8 +17,11 @@ public: ~Ntp(); OProcess *ntpProcess; +protected: + virtual void accept(); + private: QString _ntpOutput; int _maxOffset; float _shiftPerSec; |