From ac76e913d1930cdf7903fed344bd7bcc1b7545c0 Mon Sep 17 00:00:00 2001 From: tille Date: Sat, 06 Jul 2002 13:53:48 +0000 Subject: clockapplet uses qcop call to open settime dialog --- (limited to 'noncore/settings/netsystemtime/ntp.h') diff --git a/noncore/settings/netsystemtime/ntp.h b/noncore/settings/netsystemtime/ntp.h index c78dc55..56e0131 100644 --- a/noncore/settings/netsystemtime/ntp.h +++ b/noncore/settings/netsystemtime/ntp.h @@ -7,6 +7,7 @@ class OProcess; class QString; class QTimer; class QSocket; +class QCopChannel; class Ntp : public SetDateTime { @@ -16,10 +17,13 @@ public: Ntp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~Ntp(); +public slots: + void setDocument (const QString &); protected: QDateTime predictedTime; - - + void makeChannel(); +protected slots: + void receive(const QCString &msg, const QByteArray &arg); private: QString _ntpOutput; float _shiftPerSec; @@ -27,6 +31,7 @@ private: OProcess *ntpProcess; QTimer *ntpTimer; QSocket *ntpSock; + QCopChannel *channel; float getTimeShift(); void readLookups(); -- cgit v0.9.0.2