projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Search the web with selected text.
[quassel.git]
/
src
/
common
/
authhandler.h
diff --git
a/src/common/authhandler.h
b/src/common/authhandler.h
index
6330fa9
..
200e0a1
100644
(file)
--- a/
src/common/authhandler.h
+++ b/
src/common/authhandler.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
3
by the Quassel Project *
+ * Copyright (C) 2005-201
4
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 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 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
private:
void invalidMessage();
State _state;
QTcpSocket *_socket; // FIXME: should be a QSharedPointer? -> premature disconnect before the peer has taken over
+ bool _disconnectedSent;
};
#endif
};
#endif