author | tille <tille> | 2002-06-25 13:09:08 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-25 13:09:08 (UTC) |
commit | 8501705e4e50602aaabe9877e6d8821555e3a05a (patch) (unidiff) | |
tree | 3f34b6d0f8b7f7e692ccbefd91356685c322204f /noncore/settings/netsystemtime/ntp.h | |
parent | d282b4f9cba20305e237910aca531b0360666f13 (diff) | |
download | opie-8501705e4e50602aaabe9877e6d8821555e3a05a.zip opie-8501705e4e50602aaabe9877e6d8821555e3a05a.tar.gz opie-8501705e4e50602aaabe9877e6d8821555e3a05a.tar.bz2 |
included systemtime gui
not yet much funtionaliti
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (show 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,26 +1,29 @@ | |||
1 | #ifndef NTP_H | 1 | #ifndef NTP_H |
2 | #define NTP_H | 2 | #define NTP_H |
3 | #include "ntpbase.h" | 3 | #include "settime.h" |
4 | #include <qdatetime.h> | 4 | #include <qdatetime.h> |
5 | #include <qtimer.h> | 5 | #include <qtimer.h> |
6 | 6 | ||
7 | class OProcess; | 7 | class OProcess; |
8 | class QString; | 8 | class QString; |
9 | 9 | ||
10 | 10 | ||
11 | class Ntp : public NtpBase | 11 | class Ntp : public SetDateTime |
12 | { | 12 | { |
13 | Q_OBJECT | 13 | Q_OBJECT |
14 | 14 | ||
15 | public: | 15 | public: |
16 | Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 16 | Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
17 | ~Ntp(); | 17 | ~Ntp(); |
18 | 18 | ||
19 | OProcess *ntpProcess; | 19 | OProcess *ntpProcess; |
20 | 20 | ||
21 | protected: | ||
22 | virtual void accept(); | ||
23 | |||
21 | private: | 24 | private: |
22 | QString _ntpOutput; | 25 | QString _ntpOutput; |
23 | int _maxOffset; | 26 | int _maxOffset; |
24 | float _shiftPerSec; | 27 | float _shiftPerSec; |
25 | QTimer *_nextCorrection; | 28 | QTimer *_nextCorrection; |
26 | int _minLookupDiff; | 29 | int _minLookupDiff; |