Commit 3940b6bc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Return dkim menu

parent e9be609e
......@@ -3104,3 +3104,14 @@ void ViewerPrivate::updateShowMultiMessagesButton(bool enablePreviousButton, boo
{
mShowNextMessageWidget->updateButton(enablePreviousButton, enableNextButton);
}
#ifdef USE_DKIM_CHECKER
DKIMViewerMenu *ViewerPrivate::dkimViewerMenu()
{
if (!mDkimViewerMenu) {
mDkimViewerMenu = new MessageViewer::DKIMViewerMenu(this);
//TODO
}
return mDkimViewerMenu;
}
#endif
......@@ -74,6 +74,7 @@ class ObjectTreeParser;
#ifdef USE_DKIM_CHECKER
namespace MessageViewer {
class DKIMWidgetInfo;
class DKIMViewerMenu;
}
#endif
namespace WebEngineViewer {
......@@ -442,7 +443,9 @@ public:
void recreateCssHelper();
void hasMultiMessages(bool messages);
void updateShowMultiMessagesButton(bool enablePreviousButton, bool enableNextButton);
#ifdef USE_DKIM_CHECKER
MessageViewer::DKIMViewerMenu *dkimViewerMenu();
#endif
private Q_SLOTS:
void slotActivatePlugin(MessageViewer::ViewerPluginInterface *interface);
void slotModifyItemDone(KJob *job);
......@@ -698,6 +701,7 @@ public:
MessageViewer::ShowNextMessageWidget *mShowNextMessageWidget = nullptr;
#ifdef USE_DKIM_CHECKER
MessageViewer::DKIMWidgetInfo *mDkimWidgetInfo = nullptr;
MessageViewer::DKIMViewerMenu *mDkimViewerMenu = nullptr;
#endif
MessageViewer::MessageViewerRenderer *mMessageViewerRenderer = nullptr;
};
......
Markdown is supported
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