Libksieve

selectsizewidget.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 <QWidget>
10 
11 class QSpinBox;
12 namespace KSieveUi
13 {
14 class SelectSizeTypeComboBox;
15 class SelectSizeWidget : public QWidget
16 {
17  Q_OBJECT
18 public:
19  explicit SelectSizeWidget(QWidget *parent = nullptr);
20  ~SelectSizeWidget() override;
21 
22  Q_REQUIRED_RESULT QString code() const;
23  void setCode(qlonglong value, const QString &identifier, const QString &name, QString &error);
24 
25 Q_SIGNALS:
26  void valueChanged();
27 
28 private:
29  SelectSizeTypeComboBox *mSelectSizeType = nullptr;
30  QSpinBox *mSpinBoxSize = nullptr;
31 };
32 }
33 
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.