Libksieve

selectsizewidget.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QWidget>
10
11class QSpinBox;
12namespace KSieveUi
13{
14class SelectSizeTypeComboBox;
15class SelectSizeWidget : public QWidget
16{
18public:
19 explicit SelectSizeWidget(QWidget *parent = nullptr);
20 ~SelectSizeWidget() override;
21
22 [[nodiscard]] QString code() const;
23 void setCode(qlonglong value, const QString &identifier, const QString &name, QString &error);
24
26 void valueChanged();
27
28private:
29 SelectSizeTypeComboBox *mSelectSizeType = nullptr;
30 QSpinBox *mSpinBoxSize = nullptr;
31};
32}
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 Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.