author | tille <tille> | 2002-06-20 22:37:41 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-20 22:37:41 (UTC) |
commit | 9918a25f403cea369481415c7b6529e4dcfac981 (patch) (unidiff) | |
tree | b0505c7f70bdc1ca31cb4f4899e88fcef73a4772 /example/ntp.h | |
parent | 43aa943f7d112e0e0853e0f2280d876d78346fe5 (diff) | |
download | opie-9918a25f403cea369481415c7b6529e4dcfac981.zip opie-9918a25f403cea369481415c7b6529e4dcfac981.tar.gz opie-9918a25f403cea369481415c7b6529e4dcfac981.tar.bz2 |
get rid of this shit again ;-/
-rw-r--r-- | example/ntp.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/example/ntp.h b/example/ntp.h deleted file mode 100644 index c9c2e9b..0000000 --- a/example/ntp.h +++ b/dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | #ifndef NTP_H | ||
2 | #define NTP_H | ||
3 | #include "ntpbase.h" | ||
4 | #include <qdatetime.h> | ||
5 | #include <qtimer.h> | ||
6 | |||
7 | class OProcess; | ||
8 | class QString; | ||
9 | |||
10 | |||
11 | class Ntp : public NtpBase | ||
12 | { | ||
13 | Q_OBJECT | ||
14 | |||
15 | public: | ||
16 | Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
17 | ~Ntp(); | ||
18 | |||
19 | OProcess *ntpProcess; | ||
20 | |||
21 | private: | ||
22 | QString _ntpOutput; | ||
23 | int _maxOffset; | ||
24 | float _shiftPerSec; | ||
25 | QTimer *_nextCorrection; | ||
26 | float getTimeShift(); | ||
27 | int _minLookupDiff; | ||
28 | private slots: | ||
29 | void slotRunNtp(); | ||
30 | void getNtpOutput(OProcess *proc, char *buffer, int buflen); | ||
31 | void ntpFinished(OProcess*); | ||
32 | void correctClock(); | ||
33 | }; | ||
34 | |||
35 | #endif | ||