summaryrefslogtreecommitdiffstats
path: root/tests/manual/surfacetest/checkboxwrapper.cpp
blob: 37bd3ded7ebee385853a2045ef71f10dff0695bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include "checkboxwrapper.h"
#include <QCheckBox>

CheckBoxWrapper::CheckBoxWrapper(QCheckBox *cb)
{
    m_checkbox = cb;
}

void CheckBoxWrapper::setEnabled(int enabled)
{
    m_checkbox->setEnabled(enabled);
}