Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KontactInterface
Commits
53dcce89
Commit
53dcce89
authored
Dec 05, 2021
by
Laurent Montel
Browse files
this macro is unused
parent
a87eaca7
Pipeline
#105723
passed with stage
in 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
53dcce89
...
...
@@ -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
...
...
src/plugin.h
View file @
53dcce89
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment