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 8cc7b6ac authored by Laurent Montel's avatar Laurent Montel 😁

Port to new macro which will be avaailable in 5.44

parent eaab8cb1
......@@ -27,9 +27,13 @@
#include <kcontacts/addressee.h>
#include <KPluginTrader>
#include <QHBoxLayout>
#include <kcoreaddons_version.h>
#include <kpluginfactory.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(5, 44, 0)
#define K_PLUGIN_CLASS_WITH_JSON(classname, json) K_PLUGIN_FACTORY_WITH_JSON(classname ## Factory, json, registerPlugin<classname >();)
#endif
K_PLUGIN_FACTORY_WITH_JSON(CategoriesEditWidgetFactory, "categorieseditwidgetplugin.json", registerPlugin<CategoriesEditWidget>();
)
K_PLUGIN_CLASS_WITH_JSON(CategoriesEditWidget, "categorieseditwidgetplugin.json")
CategoriesEditWidget::CategoriesEditWidget(QWidget *parent, const QList<QVariant> &)
: ContactEditor::CategoriesEditAbstractWidget(parent)
......
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