You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
744 B
27 lines
744 B
/* |
|
SPDX-FileCopyrightText: 2018-2020 Laurent Montel <montel@kde.org> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later |
|
*/ |
|
|
|
#ifndef MAILFILTERPURPOSEMENUWIDGET_H |
|
#define MAILFILTERPURPOSEMENUWIDGET_H |
|
|
|
#include <PimCommon/PurposeMenuWidget> |
|
namespace KPIMTextEdit { |
|
class PlainTextEditor; |
|
} |
|
class MailfilterPurposeMenuWidget : public PimCommon::PurposeMenuWidget |
|
{ |
|
Q_OBJECT |
|
public: |
|
explicit MailfilterPurposeMenuWidget(QWidget *parentWidget, QObject *parent = nullptr); |
|
~MailfilterPurposeMenuWidget() override; |
|
|
|
Q_REQUIRED_RESULT QByteArray text() override; |
|
void setEditorWidget(KPIMTextEdit::PlainTextEditor *editor); |
|
private: |
|
KPIMTextEdit::PlainTextEditor *mEditor = nullptr; |
|
}; |
|
|
|
#endif // MAILFILTERPURPOSEMENUWIDGET_H
|
|
|