summaryrefslogtreecommitdiff
path: root/noncore/settings/netsystemtime/ntp.h
authortille <tille>2002-06-25 20:10:42 (UTC)
committer tille <tille>2002-06-25 20:10:42 (UTC)
commit4c671979117dc8ec75c91ce543c7039730530a63 (patch) (side-by-side diff)
tree69995a8c917fba569814fd0475e7819a95d65ac5 /noncore/settings/netsystemtime/ntp.h
parentaf4a3940dd672423da28b54e5d955cc5d33cecda (diff)
downloadopie-4c671979117dc8ec75c91ce543c7039730530a63.zip
opie-4c671979117dc8ec75c91ce543c7039730530a63.tar.gz
opie-4c671979117dc8ec75c91ce543c7039730530a63.tar.bz2
working
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h
index d2e238d..284ae27 100644
--- a/noncore/settings/netsystemtime/ntp.h
+++ b/noncore/settings/netsystemtime/ntp.h
@@ -4,3 +4,2 @@
#include <qdatetime.h>
-#include <qtimer.h>
@@ -18,6 +17,5 @@ public:
- OProcess *ntpProcess;
-
protected:
- virtual void accept();
+ QDateTime predictedTime;
+
@@ -25,6 +23,4 @@ private:
QString _ntpOutput;
- int _maxOffset;
float _shiftPerSec;
-// QTimer *_nextCorrection;
- int _minLookupDiff;
+ OProcess *ntpProcess;
@@ -36,4 +32,5 @@ private slots:
void ntpFinished(OProcess*);
-// void correctClock();
void preditctTime();
+ void slotCheckNtp(int);
+ void setPredictTime();
};