Libksieve

selectmimecombobox.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #pragma once
7 #include <QComboBox>
8 
9 namespace KSieveUi
10 {
11 class SelectMimeComboBox : public QComboBox
12 {
13  Q_OBJECT
14 public:
15  explicit SelectMimeComboBox(QWidget *parent = nullptr);
16  ~SelectMimeComboBox() override;
17 
18  Q_REQUIRED_RESULT QString code() const;
19  void setCode(const QString &code, const QString &name, QString &error);
20 
21  Q_REQUIRED_RESULT QString require() const;
22 
23 Q_SIGNALS:
24  void valueChanged();
25 
26 private:
27  void initialize();
28 };
29 }
30 
KCRASH_EXPORT void initialize()
Q_SIGNALSQ_SIGNALS
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:09:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.