aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs/stylekit/qqstylekitcustomcontrol.cpp
blob: 316a0f48569bdfe60ec594bc2a9843af8033ddac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "qqstylekitcustomcontrol_p.h"

QT_BEGIN_NAMESPACE

using namespace Qt::StringLiterals;

QQStyleKitCustomControl::QQStyleKitCustomControl(QObject *parent)
    : QQStyleKitControl(parent)
{
}

int QQStyleKitCustomControl::controlType() const
{
    return m_controlType;
}

void QQStyleKitCustomControl::setControlType(int controlType)
{
    if (m_controlType == controlType)
        return;

    m_controlType = controlType;

    emit controlTypeChanged();
}

QT_END_NAMESPACE

#include "moc_qqstylekitcustomcontrol_p.cpp"