Messagelib

dkimmanagerulescombobox.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "messageviewer_private_export.h"
9#include <MessageViewer/DKIMRule>
10#include <QComboBox>
11namespace MessageViewer
12{
13class MESSAGEVIEWER_TESTS_EXPORT DKIMManageRulesComboBox : public QComboBox
14{
15 Q_OBJECT
16public:
17 explicit DKIMManageRulesComboBox(QWidget *parent = nullptr);
18 ~DKIMManageRulesComboBox() override;
19 [[nodiscard]] MessageViewer::DKIMRule::RuleType ruleType() const;
20 void setRuleType(MessageViewer::DKIMRule::RuleType type);
21
22private:
23 void init();
24};
25}
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.