X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fcorenetwork.h;h=44dcd06c1ce25def421c7f0b765a4bc7bfcf0521;hb=e212eabe53878a8fa6ecb15909a325ed7dd63283;hp=b67e2c340f5b35ffada0263d5df7491c3949b6b2;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index b67e2c34..44dcd06c 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -389,8 +389,8 @@ signals: void sslErrors(const QVariant &errorData); void newEvent(Event *event); - void socketInitialized(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort); - void socketDisconnected(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort); + void socketInitialized(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort, qint64 socketId); + void socketDisconnected(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort, qint64 socketId); protected: inline virtual IrcChannel *ircChannelFactory(const QString &channelname) { return new CoreIrcChannel(channelname, this); } @@ -453,6 +453,7 @@ private: #else QTcpSocket socket; #endif + qint64 _socketId{0}; CoreUserInputHandler *_userInputHandler; @@ -477,7 +478,7 @@ private: int _lastUsedServerIndex; QTimer _pingTimer; - uint _lastPingTime; + qint64 _lastPingTime; uint _pingCount; bool _sendPings;