Mailcommon

filterconverttosievepurposemenuwidget.h
1 /*
2  SPDX-FileCopyrightText: 2018-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <PimCommon/PurposeMenuWidget>
10 namespace KPIMTextEdit
11 {
12 class PlainTextEditor;
13 }
14 namespace MailCommon
15 {
16 class FilterconverttosievePurposeMenuWidget : public PimCommon::PurposeMenuWidget
17 {
18  Q_OBJECT
19 public:
20  explicit FilterconverttosievePurposeMenuWidget(QWidget *parentWidget, QObject *parent = nullptr);
21  ~FilterconverttosievePurposeMenuWidget() override;
22 
23  Q_REQUIRED_RESULT QByteArray text() override;
24  void setEditorWidget(KPIMTextEdit::PlainTextEditor *editor);
25 
26 private:
27  KPIMTextEdit::PlainTextEditor *mEditor = nullptr;
28 };
29 }
Q_OBJECTQ_OBJECT
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Oct 1 2022 04:00:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.