Kstars

KSButtonSwitch.qml
1// SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4import QtQuick 2.6
5import QtQuick.Controls 2.0
6
7Button {
8 property string switchName: ""
9 property Flow parentRow
10 checkable: true
11 checked: true
12
13 onClicked: {
14 parentRow.sendNewProperty(switchName, null)
15 Qt.inputMethod.hide()
16 }
17}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.