Messagelib

viewerpurposemenuwidget.h
1 /*
2  SPDX-FileCopyrightText: 2020-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <PimCommon/PurposeMenuWidget>
10 namespace MessageViewer
11 {
12 class MailWebEngineView;
13 class MailfilterPurposeMenuWidget : public PimCommon::PurposeMenuWidget
14 {
15  Q_OBJECT
16 public:
17  explicit MailfilterPurposeMenuWidget(QWidget *parentWidget, QObject *parent = nullptr);
18  ~MailfilterPurposeMenuWidget() override;
19 
20  Q_REQUIRED_RESULT QByteArray text() override;
21  void setViewer(MailWebEngineView *viewer);
22 
23 private:
24  MailWebEngineView *mViewer = nullptr;
25 };
26 }
27 
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.