projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6f27c
)
Allow overriding of socket handling methods
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 23 Jan 2014 19:32:25 +0000
(20:32 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 23 Jan 2014 19:32:25 +0000
(20:32 +0100)
This is primarily needed for ClientAuthHandler, which does not want
to throw error messages to the outside during protocol detection.
src/common/authhandler.h
patch
|
blob
|
history
diff --git
a/src/common/authhandler.h
b/src/common/authhandler.h
index
3cf5059
..
cfed51e
100644
(file)
--- a/
src/common/authhandler.h
+++ b/
src/common/authhandler.h
@@
-62,8
+62,8
@@
protected:
void setSocket(QTcpSocket *socket);
protected slots:
- void onSocketError(QAbstractSocket::SocketError error);
- void onSocketDisconnected();
+ v
irtual v
oid onSocketError(QAbstractSocket::SocketError error);
+ v
irtual v
oid onSocketDisconnected();
private:
void invalidMessage();