projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clazy: Convert many old-style connects into function pointer based
[quassel.git]
/
src
/
core
/
coreauthhandler.cpp
diff --git
a/src/core/coreauthhandler.cpp
b/src/core/coreauthhandler.cpp
index
369a134
..
6a1a9c1
100644
(file)
--- a/
src/core/coreauthhandler.cpp
+++ b/
src/core/coreauthhandler.cpp
@@
-38,7
+38,7
@@
CoreAuthHandler::CoreAuthHandler(QTcpSocket *socket, QObject *parent)
_connectionFeatures(0)
{
setSocket(socket);
_connectionFeatures(0)
{
setSocket(socket);
- connect(socket,
SIGNAL(readyRead()), SLOT(onReadyRead())
);
+ connect(socket,
&QIODevice::readyRead, this, &CoreAuthHandler::onReadyRead
);
// TODO: Timeout for the handshake phase
// TODO: Timeout for the handshake phase
@@
-129,7
+129,7
@@
void CoreAuthHandler::setPeer(RemotePeer *peer)
qDebug().nospace() << "Using " << qPrintable(peer->protocolName()) << "...";
_peer = peer;
qDebug().nospace() << "Using " << qPrintable(peer->protocolName()) << "...";
_peer = peer;
- disconnect(socket(),
SIGNAL(readyRead()), this, SLOT(onReadyRead())
);
+ disconnect(socket(),
&QIODevice::readyRead, this, &CoreAuthHandler::onReadyRead
);
}
// only in compat mode
}
// only in compat mode