Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
d6ab9470
Commit
d6ab9470
authored
May 10, 2021
by
Laurent Montel
😁
Browse files
Use K_PLUGIN_CLASS_WITH_JSON here too
parent
4a812aa2
Pipeline
#61483
failed with stage
in 10 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kontactplugin/kmail/kcmkmailsummary.cpp
View file @
d6ab9470
...
...
@@ -25,7 +25,7 @@
#include <QTreeView>
#include <QVBoxLayout>
K_PLUGIN_
FACTORY
_WITH_JSON
(
KCMKMailSummary
Factory
,
"kmailplugin.json"
,
registerPlugin
<
KCMKMailSummary
>
();
)
K_PLUGIN_
CLASS
_WITH_JSON
(
KCMKMailSummary
,
"kmailplugin.json"
)
KCMKMailSummary
::
KCMKMailSummary
(
QWidget
*
parent
,
const
QVariantList
&
args
)
:
KCModule
(
parent
,
args
)
{
...
...
src/kontactplugin/summary/kcmkontactsummary.cpp
View file @
d6ab9470
...
...
@@ -65,7 +65,7 @@ PluginView::PluginView(QWidget *parent)
PluginView
::~
PluginView
()
=
default
;
K_PLUGIN_
FACTORY
_WITH_JSON
(
KCMKontactSummary
Factory
,
"kcmkontactsummary.json"
,
registerPlugin
<
KCMKontactSummary
>
();
)
K_PLUGIN_
CLASS
_WITH_JSON
(
KCMKontactSummary
,
"kcmkontactsummary.json"
)
KCMKontactSummary
::
KCMKontactSummary
(
QWidget
*
parent
,
const
QVariantList
&
args
)
:
KCModule
(
parent
,
args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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