X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fnetworkconnection.h;h=111ffe76710047d1779d2af7911bc0861c57dec0;hb=cb1b16fce88b240c735b942aad44a61a1dd3f28d;hp=a02997f902f0ebd37f97d632e718d693162af0e6;hpb=257ca0d5f944a8f63d002e1dcaaa3902258d85e0;p=quassel.git diff --git a/src/core/networkconnection.h b/src/core/networkconnection.h index a02997f9..111ffe76 100644 --- a/src/core/networkconnection.h +++ b/src/core/networkconnection.h @@ -39,8 +39,6 @@ #include "network.h" #include "signalproxy.h" -class Network; - class IrcServerHandler; class UserInputHandler; class CtcpHandler; @@ -177,6 +175,9 @@ private: QTimer _socketCloseTimer; + /* this flag triggers quitRequested() once the socket is closed + * it is needed to determine whether or not the connection needs to be + *in the automatic session restore. */ bool _quitRequested; bool _previousConnectionAttemptFailed; @@ -200,8 +201,6 @@ private: void writeToSocket(QByteArray s); - - class ParseError : public Exception { public: ParseError(QString cmd, QString prefix, QStringList params);