summaryrefslogtreecommitdiffstats
path: root/tests/manual/surfacetest/checkboxwrapper.h
blob: 37e72346bdc94504fb59b6498c617aeed4d51d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef CHECKBOXWRAPPER_H
#define CHECKBOXWRAPPER_H

#include <QObject>

class QCheckBox;

class CheckBoxWrapper : public QObject
{
    Q_OBJECT
public:
    explicit CheckBoxWrapper(QCheckBox *cb);

public Q_SLOTS:
    void setEnabled(int enabled);

private:
    QCheckBox *m_checkbox;
};

#endif // CHECKBOXWRAPPER_H