Libksieve

selectcomparatorcombobox.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QComboBox>
10 namespace KSieveUi
11 {
12 class SieveEditorGraphicalModeWidget;
13 class SelectComparatorComboBox : public QComboBox
14 {
15  Q_OBJECT
16 public:
17  explicit SelectComparatorComboBox(KSieveUi::SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QWidget *parent = nullptr);
18  ~SelectComparatorComboBox() override;
19 
20  Q_REQUIRED_RESULT QString code() const;
21  void setCode(const QString &code, const QString &name, QString &error);
22 
23  Q_REQUIRED_RESULT QString require() const;
24 
25 Q_SIGNALS:
26  void valueChanged();
27 
28 private:
29  void initialize(const QStringList &sieveCapabilities);
30 };
31 }
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 Sun Apr 11 2021 23:09:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.