Warning, /plasma/latte-dock/declarativeimports/components/CheckBox.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2019 Michail Vourlakos <mvourlakos@gmail.com>
0003 SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005
0006 import org.kde.plasma.components 2.0 as PlasmaComponents
0007 import "private" as Private
0008
0009 PlasmaComponents.CheckBox {
0010 property int value: 0
0011
0012 onValueChanged: {
0013 if (partiallyCheckedEnabled) {
0014 checkedState = value;
0015 } else {
0016 checked = value;
0017 }
0018 }
0019
0020 style: Private.CheckBoxStyle {}
0021 }
0022