[kwin] Change to new connect syntax for KActivities
Just to be sure, that we get a compile error in case it changes.
This commit is contained in:
parent
9414d8f7f1
commit
93f9918905
1 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue