Kstars

KSButtonSwitch.qml
1 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <[email protected]>
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 import QtQuick 2.6
5 import QtQuick.Controls 2.0
6 
7 Button {
8  property string switchName: ""
9  property Flow parentRow
10  checkable: true
11  checked: true
12 
13  onClicked: {
14  parentRow.sendNewSwitch(switchName, null)
15  Qt.inputMethod.hide()
16  }
17 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.