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
PIM Messagelib
Commits
54f3a210
Commit
54f3a210
authored
Aug 24, 2021
by
Laurent Montel
😁
Browse files
Add support for creating actions
parent
3bbb6e9e
Pipeline
#76324
passed with stage
in 43 minutes and 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
54f3a210
cmake_minimum_required
(
VERSION 3.16 FATAL_ERROR
)
set
(
PIM_VERSION
"5.18.4
2
"
)
set
(
PIM_VERSION
"5.18.4
3
"
)
project
(
Messagelib VERSION
${
PIM_VERSION
}
)
...
...
messageviewer/src/messageviewercheckbeforedeletingplugins/messageviewercheckbeforedeletinginterface.cpp
View file @
54f3a210
...
...
@@ -63,3 +63,8 @@ QList<QAction *> MessageViewerCheckBeforeDeletingInterface::actions() const
// Reimplement in subclass
return
{};
}
void
MessageViewerCheckBeforeDeletingInterface
::
createActions
(
KActionCollection
*
ac
)
{
Q_UNUSED
(
ac
);
}
messageviewer/src/messageviewercheckbeforedeletingplugins/messageviewercheckbeforedeletinginterface.h
View file @
54f3a210
...
...
@@ -11,6 +11,7 @@
#include
<QList>
#include
<QObject>
class
QAction
;
class
KActionCollection
;
namespace
MessageViewer
{
class
MessageViewerCheckBeforeDeletingParameters
;
...
...
@@ -36,6 +37,8 @@ public:
virtual
Q_REQUIRED_RESULT
QList
<
QAction
*>
actions
()
const
;
virtual
void
createActions
(
KActionCollection
*
ac
);
Q_SIGNALS:
void
configure
(
QWidget
*
parent
);
...
...
Write
Preview
Supports
Markdown
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