Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1892d269 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent b183fc7b
......@@ -193,8 +193,8 @@ void ContactGroupEditor::Private::setupMonitor()
mMonitor->setObjectName(QStringLiteral("ContactGroupEditorMonitor"));
mMonitor->ignoreSession(Session::defaultSession());
connect(mMonitor, SIGNAL(itemChanged(Akonadi::Item,QSet<QByteArray>)),
mParent, SLOT(itemChanged(Akonadi::Item,QSet<QByteArray>)));
connect(mMonitor, &Monitor::itemChanged,
mParent, [this](const Akonadi::Item &item , const QSet<QByteArray> &arrays) { itemChanged(item,arrays); });
}
void ContactGroupEditor::Private::setReadOnly(bool readOnly)
......
......@@ -156,8 +156,6 @@ private:
Q_PRIVATE_SLOT(d, void itemFetchDone(KJob *))
Q_PRIVATE_SLOT(d, void storeDone(KJob *))
Q_PRIVATE_SLOT(d, void itemChanged(const Akonadi::Item &, const QSet<QByteArray> &))
Q_PRIVATE_SLOT(d, void adaptHeaderSizes())
//@endcond
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment