blob: 64103ac70f81b8b2413e271d16165858b33fd450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef BUTTONWRAPPER_H
#define BUTTONWRAPPER_H
#include <QObject>
class QPushButton;
class ButtonWrapper : public QObject
{
Q_OBJECT
public:
ButtonWrapper(QPushButton *button);
public Q_SLOTS:
void setEnabled(int state);
private:
QPushButton *m_button;
};
#endif // BUTTONWRAPPER_H
|