Libksieve

selectmimecombobox.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7#include <QComboBox>
8
9namespace KSieveUi
10{
11class SelectMimeComboBox : public QComboBox
12{
14public:
15 explicit SelectMimeComboBox(QWidget *parent = nullptr);
16 ~SelectMimeComboBox() override;
17
18 [[nodiscard]] QString code() const;
19 void setCode(const QString &code, const QString &name, QString &error);
20
21 [[nodiscard]] QString require() const;
22
24 void valueChanged();
25
26private:
27 void initialize();
28};
29}
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
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.