Commit 2a3fd7a7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare to show action

parent fab26a4e
Pipeline #70476 canceled with stage
......@@ -7,6 +7,8 @@
#include "messageviewercheckbeforedeletinginterface.h"
#include "messageviewercheckbeforedeletingparameters.h"
#include <QAction>
using namespace MessageViewer;
class MessageViewer::MessageViewerCheckBeforeDeletingInterfacePrivate
......@@ -55,3 +57,9 @@ MessageViewer::MessageViewerCheckBeforeDeletingParameters MessageViewerCheckBefo
{
return d->parameters;
}
QList<QAction *> MessageViewerCheckBeforeDeletingInterface::actions() const
{
// Reimplement in subclass
return {};
}
......@@ -8,7 +8,9 @@
#include "messageviewer_export.h"
#include <AkonadiCore/Item>
#include <QList>
#include <QObject>
class QAction;
namespace MessageViewer
{
class MessageViewerCheckBeforeDeletingParameters;
......@@ -32,6 +34,8 @@ public:
void setParameters(const MessageViewer::MessageViewerCheckBeforeDeletingParameters &params);
Q_REQUIRED_RESULT MessageViewer::MessageViewerCheckBeforeDeletingParameters parameters() const;
virtual QList<QAction *> actions() const;
public Q_SLOTS:
virtual void reloadConfig();
......
Supports Markdown
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