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
KDE PIM Add-ons
Commits
a9a688a0
Commit
a9a688a0
authored
Jul 05, 2021
by
Laurent Montel
😁
Browse files
Fix generate as plugins
parent
7cd42f68
Pipeline
#68572
passed with stage
in 53 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/checkbeforedeletemailplugins/confirmbeforedeleting/confirmbeforedeletingplugin.cpp
View file @
a9a688a0
...
...
@@ -6,9 +6,12 @@
#include "confirmbeforedeletingplugin.h"
#include "confirmbeforedeletingdialog.h"
#include <KPluginFactory>
#include <QPointer>
ConfirmBeforeDeletingPlugin
::
ConfirmBeforeDeletingPlugin
(
QObject
*
parent
)
K_PLUGIN_CLASS_WITH_JSON
(
ConfirmBeforeDeletingPlugin
,
"kmail_confirmbeforedeletingplugin.json"
)
ConfirmBeforeDeletingPlugin
::
ConfirmBeforeDeletingPlugin
(
QObject
*
parent
,
const
QList
<
QVariant
>
&
)
:
MessageViewer
::
MessageViewerCheckBeforeDeletingPlugin
(
parent
)
{
}
...
...
@@ -25,3 +28,5 @@ void ConfirmBeforeDeletingPlugin::showConfigureDialog(QWidget *parent)
}
delete
dlg
;
}
#include "confirmbeforedeletingplugin.moc"
kmail/checkbeforedeletemailplugins/confirmbeforedeleting/confirmbeforedeletingplugin.h
View file @
a9a688a0
...
...
@@ -11,7 +11,7 @@ class ConfirmBeforeDeletingPlugin : public MessageViewer::MessageViewerCheckBefo
{
Q_OBJECT
public:
explicit
ConfirmBeforeDeletingPlugin
(
QObject
*
parent
=
nullptr
);
explicit
ConfirmBeforeDeletingPlugin
(
QObject
*
parent
=
nullptr
,
const
QList
<
QVariant
>
&
=
{}
);
~
ConfirmBeforeDeletingPlugin
()
override
;
void
showConfigureDialog
(
QWidget
*
parent
)
override
;
...
...
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