Commit ec20a9cf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent b1580ca8
......@@ -58,7 +58,7 @@ find_package(KF5Declarative ${KF5_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.3.40")
set(GRAVATAR_LIB_VERSION "5.3.40")
set(PIMCOMMON_LIB_VERSION "5.3.52")
set(PIMCOMMON_LIB_VERSION "5.3.53")
set(GRANTLEETHEME_LIB_VERSION "5.3.40")
set(CALENDARSUPPORT_LIB_VERSION "5.3.40")
set(EVENTVIEW_LIB_VERSION "5.3.40")
......
......@@ -33,10 +33,9 @@ CheckGravatarPlugin::~CheckGravatarPlugin()
{
}
PimCommon::GenericPluginInterface *CheckGravatarPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *CheckGravatarPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
CheckGravatarPluginInterface *interface = new CheckGravatarPluginInterface(this);
interface->setParentWidget(parent);
CheckGravatarPluginInterface *interface = new CheckGravatarPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit CheckGravatarPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~CheckGravatarPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
......
......@@ -33,10 +33,9 @@ MergeContactsPlugin::~MergeContactsPlugin()
{
}
PimCommon::GenericPluginInterface *MergeContactsPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *MergeContactsPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
MergeContactsPluginInterface *interface = new MergeContactsPluginInterface(this);
interface->setParentWidget(parent);
MergeContactsPluginInterface *interface = new MergeContactsPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit MergeContactsPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~MergeContactsPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
};
#endif // MERGECONTACTSPLUGIN_H
......@@ -33,10 +33,9 @@ SearchDuplicatesPlugin::~SearchDuplicatesPlugin()
{
}
PimCommon::GenericPluginInterface *SearchDuplicatesPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *SearchDuplicatesPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
SearchDuplicatesPluginInterface *interface = new SearchDuplicatesPluginInterface(this);
interface->setParentWidget(parent);
SearchDuplicatesPluginInterface *interface = new SearchDuplicatesPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit SearchDuplicatesPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~SearchDuplicatesPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
};
#endif // SEARCHDUPLICATESPLUGIN_H
......@@ -33,10 +33,9 @@ SendMailPlugin::~SendMailPlugin()
{
}
PimCommon::GenericPluginInterface *SendMailPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *SendMailPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
SendMailPluginInterface *interface = new SendMailPluginInterface(this);
interface->setParentWidget(parent);
SendMailPluginInterface *interface = new SendMailPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit SendMailPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~SendMailPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
};
......
......@@ -33,10 +33,9 @@ SendVcardsPlugin::~SendVcardsPlugin()
{
}
PimCommon::GenericPluginInterface *SendVcardsPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *SendVcardsPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
SendVcardsPluginInterface *interface = new SendVcardsPluginInterface(this);
interface->setParentWidget(parent);
SendVcardsPluginInterface *interface = new SendVcardsPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit SendVcardsPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~SendVcardsPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
};
......
......@@ -33,10 +33,9 @@ AntiSpamPlugin::~AntiSpamPlugin()
}
PimCommon::GenericPluginInterface *AntiSpamPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *AntiSpamPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
AntiSpamPluginInterface *interface = new AntiSpamPluginInterface(this);
interface->setParentWidget(parent);
AntiSpamPluginInterface *interface = new AntiSpamPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit AntiSpamPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~AntiSpamPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
};
#endif // ANTISPAMPLUGIN_H
......@@ -34,10 +34,9 @@ AntiVirusPlugin::~AntiVirusPlugin()
}
PimCommon::GenericPluginInterface *AntiVirusPlugin::createInterface(KActionCollection *ac, QWidget *parent)
PimCommon::GenericPluginInterface *AntiVirusPlugin::createInterface(KActionCollection *ac, QObject *parent)
{
AntiVirusPluginInterface *interface = new AntiVirusPluginInterface(this);
interface->setParentWidget(parent);
AntiVirusPluginInterface *interface = new AntiVirusPluginInterface(parent);
interface->createAction(ac);
return interface;
}
......
......@@ -33,7 +33,7 @@ public:
explicit AntiVirusPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = QList<QVariant>());
~AntiVirusPlugin();
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QWidget *parent) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface *createInterface(KActionCollection *ac, QObject *parent = Q_NULLPTR) Q_DECL_OVERRIDE;
};
#endif // ANTIVIRUSPLUGIN_H
Supports Markdown
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