summaryrefslogtreecommitdiff
path: root/noncore/settings/netsystemtime/ntp.h
authortille <tille>2002-06-26 14:27:43 (UTC)
committer tille <tille>2002-06-26 14:27:43 (UTC)
commit47a1461b3a250e079ab99a1075974ccea909216a (patch) (side-by-side diff)
tree7e3586c6ba138203671bc173b06c1c0c7eee40f1 /noncore/settings/netsystemtime/ntp.h
parent531bb3c03f5576523a3c7ccecc714362507f69e1 (diff)
downloadopie-47a1461b3a250e079ab99a1075974ccea909216a.zip
opie-47a1461b3a250e079ab99a1075974ccea909216a.tar.gz
opie-47a1461b3a250e079ab99a1075974ccea909216a.tar.bz2
inlc. timer for ntp update and ntpservers combo
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h
index 284ae27..7cc309f 100644
--- a/noncore/settings/netsystemtime/ntp.h
+++ b/noncore/settings/netsystemtime/ntp.h
@@ -5,7 +5,8 @@
class OProcess;
class QString;
-
+class QTimer;
+class QSocket;
class Ntp : public SetDateTime
{
@@ -23,6 +24,8 @@ private:
QString _ntpOutput;
float _shiftPerSec;
OProcess *ntpProcess;
+ QTimer *ntpTimer;
+ QSocket *ntpSock;
float getTimeShift();
void readLookups();
@@ -33,6 +36,8 @@ private slots:
void preditctTime();
void slotCheckNtp(int);
void setPredictTime();
+ void slotProbeNtpServer();
+ void slotNtpDelayChanged(int);
};
#endif