From 93f99189051959d0b4e43b83b04abcb9aac5651e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 3 Feb 2014 13:44:06 +0100 Subject: [PATCH] [kwin] Change to new connect syntax for KActivities Just to be sure, that we get a compile error in case it changes. --- activities.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/activities.cpp b/activities.cpp index 85c963a0eb..2debde463d 100644 --- a/activities.cpp +++ b/activities.cpp @@ -39,11 +39,11 @@ Activities::Activities(QObject *parent) : QObject(parent) , m_controller(new KActivities::Controller(this)) { - connect(m_controller, SIGNAL(activityRemoved(QString)), SLOT(slotRemoved(QString))); - connect(m_controller, SIGNAL(activityRemoved(QString)), SIGNAL(removed(QString))); - connect(m_controller, SIGNAL(activityAdded(QString)), SLOT(slotAdded(QString))); - connect(m_controller, SIGNAL(activityAdded(QString)), SIGNAL(added(QString))); - connect(m_controller, SIGNAL(currentActivityChanged(QString)), SLOT(slotCurrentChanged(QString))); + connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::slotRemoved); + connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::removed); + connect(m_controller, &KActivities::Controller::activityAdded, this, &Activities::slotAdded); + connect(m_controller, &KActivities::Controller::activityAdded, this, &Activities::added); + connect(m_controller, &KActivities::Controller::currentActivityChanged, this, &Activities::slotCurrentChanged); } Activities::~Activities()