X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fauthhandler.h;h=200e0a1cc243b63fe39b33c6b861b98174bc7297;hb=d30eb5039971db578ba6e777d737344187e5b02a;hp=6330fa992160ec7cc0b40f1b486ff2e77d36dc3c;hpb=64cf9f9b8a737dad5f29447805d4004cfd03c454;p=quassel.git diff --git a/src/common/authhandler.h b/src/common/authhandler.h index 6330fa99..200e0a1c 100644 --- a/src/common/authhandler.h +++ b/src/common/authhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -78,13 +78,15 @@ protected: void setState(State state); private slots: - void socketError(QAbstractSocket::SocketError error); + void onSocketError(QAbstractSocket::SocketError error); + void onSocketDisconnected(); private: void invalidMessage(); State _state; QTcpSocket *_socket; // FIXME: should be a QSharedPointer? -> premature disconnect before the peer has taken over + bool _disconnectedSent; }; #endif