From f60d4bf53339876cf5dbf4382eafb8aad33a27c1 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 23 May 2016 00:20:25 +0200 Subject: initial qt5 port --- distfoldd/discoverer.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'distfoldd/discoverer.h') diff --git a/distfoldd/discoverer.h b/distfoldd/discoverer.h index ae106de..3a2bffc 100644 --- a/distfoldd/discoverer.h +++ b/distfoldd/discoverer.h @@ -7,10 +7,6 @@ #include #include #include -#include -#include - -QTM_USE_NAMESPACE class Discoverer : public QObject { @@ -58,7 +54,6 @@ private slots: void handleBroadcastMessage(const QHostAddress& sender, const QByteArray &data); void handleHostSeen(const QUuid& hostUuid); void handleTimerTimeout(); - void handleTimerError(); void handleOnlineStateChanged(bool online); private: @@ -72,10 +67,8 @@ private: QUdpSocket *_sender; quint32 _myId; QNetworkConfigurationManager *_netConfig; - QSystemNetworkInfo *_netInfo; QDateTime _lastBroadcast; - QSystemAlignedTimer *_timer; - QTimer *_fallbackTimer; + QTimer *_timer; QHash _knownHosts; }; -- cgit v1.2.3