Libksieve

sievepurposemenuwidget.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <PimCommon/PurposeMenuWidget>
10namespace KSieveUi
11{
12class SieveEditorWidget;
13class SievePurposeMenuWidget : public PimCommon::PurposeMenuWidget
14{
16public:
17 explicit SievePurposeMenuWidget(QWidget *parentWidget, QObject *parent = nullptr);
18 ~SievePurposeMenuWidget() override;
19
20 [[nodiscard]] QByteArray text() override;
21 void setEditorWidget(SieveEditorWidget *editor);
22
23private:
24 SieveEditorWidget *mSieveEditorWidget = nullptr;
25};
26}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.