Commit 53dcce89 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

this macro is unused

parent a87eaca7
Pipeline #105723 passed with stage
in 36 seconds
......@@ -44,8 +44,6 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KONTACTINTERFACE
)
ecm_setup_qtplugin_macro_names(
JSON_NONE
EXPORT_KONTACT_PLUGIN
JSON_ARG2
EXPORT_KONTACT_PLUGIN_WITH_JSON
CONFIG_CODE_VARIABLE
......
......@@ -36,20 +36,6 @@ class Part;
*/
#define KONTACT_PLUGIN_VERSION 10
/**
Exports Kontact plugin. Deprecated in favour of EXPORT_KONTACT_PLUGIN_WITH_JSON
*/
#define EXPORT_KONTACT_PLUGIN(pluginclass, pluginname) \
class Instance \
{ \
public: \
static QObject *createInstance(QWidget *, QObject *parent, const QVariantList &list) \
{ \
return new pluginclass(static_cast<KontactInterface::Core *>(parent), list); \
} \
}; \
K_PLUGIN_FACTORY(KontactPluginFactory, registerPlugin<pluginclass>(QString(), Instance::createInstance);)
/**
Exports Kontact plugin.
@param pluginclass the class to instantiate (must derive from KontactInterface::Plugin)
......
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