X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.cpp;h=99913ad35db667d7b8661428ee9e9fd9228bfd79;hp=e0fa8921389a22c3cfdc8423a589a0dda5a5fc93;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=714b39660fe19e7f092880019429c8da76ee2bd5 diff --git a/src/core/coresessioneventprocessor.cpp b/src/core/coresessioneventprocessor.cpp index e0fa8921..99913ad3 100644 --- a/src/core/coresessioneventprocessor.cpp +++ b/src/core/coresessioneventprocessor.cpp @@ -44,8 +44,8 @@ CoreSessionEventProcessor::CoreSessionEventProcessor(CoreSession *session) : BasicHandler("handleCtcp", session), _coreSession(session) { - connect(coreSession(), SIGNAL(networkDisconnected(NetworkId)), this, SLOT(destroyNetsplits(NetworkId))); - connect(this, SIGNAL(newEvent(Event *)), coreSession()->eventManager(), SLOT(postEvent(Event *))); + connect(coreSession(), &CoreSession::networkDisconnected, this, &CoreSessionEventProcessor::destroyNetsplits); + connect(this, &CoreSessionEventProcessor::newEvent, coreSession()->eventManager(), &EventManager::postEvent); } @@ -729,13 +729,13 @@ void CoreSessionEventProcessor::processIrcEventQuit(IrcEvent *e) Netsplit *n; if (!_netsplits[e->network()].contains(msg)) { n = new Netsplit(e->network(), this); - connect(n, SIGNAL(finished()), this, SLOT(handleNetsplitFinished())); - connect(n, SIGNAL(netsplitJoin(Network*, QString, QStringList, QStringList, QString)), - this, SLOT(handleNetsplitJoin(Network*, QString, QStringList, QStringList, QString))); - connect(n, SIGNAL(netsplitQuit(Network*, QString, QStringList, QString)), - this, SLOT(handleNetsplitQuit(Network*, QString, QStringList, QString))); - connect(n, SIGNAL(earlyJoin(Network*, QString, QStringList, QStringList)), - this, SLOT(handleEarlyNetsplitJoin(Network*, QString, QStringList, QStringList))); + connect(n, &Netsplit::finished, this, &CoreSessionEventProcessor::handleNetsplitFinished); + connect(n, &Netsplit::netsplitJoin, + this, &CoreSessionEventProcessor::handleNetsplitJoin); + connect(n, &Netsplit::netsplitQuit, + this, &CoreSessionEventProcessor::handleNetsplitQuit); + connect(n, &Netsplit::earlyJoin, + this, &CoreSessionEventProcessor::handleEarlyNetsplitJoin); _netsplits[e->network()].insert(msg, n); } else {