clazy: Convert many old-style connects into function pointer based
[quassel.git] / src / core / ctcpparser.cpp
index 8c43ffb..f60311c 100644 (file)
@@ -40,8 +40,8 @@ CtcpParser::CtcpParser(CoreSession *coreSession, QObject *parent)
 
     setStandardCtcp(_coreSession->networkConfig()->standardCtcp());
 
-    connect(_coreSession->networkConfig(), SIGNAL(standardCtcpSet(bool)), this, SLOT(setStandardCtcp(bool)));
-    connect(this, SIGNAL(newEvent(Event *)), _coreSession->eventManager(), SLOT(postEvent(Event *)));
+    connect(_coreSession->networkConfig(), &NetworkConfig::standardCtcpSet, this, &CtcpParser::setStandardCtcp);
+    connect(this, &CtcpParser::newEvent, _coreSession->eventManager(), &EventManager::postEvent);
 }