- 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);