Messagelib

dkimmanagerulescombobox.h
1 /*
2  SPDX-FileCopyrightText: 2019-2023 Laurent Montel <[email protected]>
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>
11 namespace MessageViewer
12 {
13 class MESSAGEVIEWER_TESTS_EXPORT DKIMManageRulesComboBox : public QComboBox
14 {
15  Q_OBJECT
16 public:
17  explicit DKIMManageRulesComboBox(QWidget *parent = nullptr);
18  ~DKIMManageRulesComboBox() override;
19  [[nodiscard]] MessageViewer::DKIMRule::RuleType ruleType() const;
20  void setRuleType(MessageViewer::DKIMRule::RuleType type);
21 
22 private:
23  void init();
24 };
25 }
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 8 2023 03:55:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.