Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/Toolbar.qml
Show All 23 Lines | |||||
24 | import org.kde.plasma.components 3.0 as PlasmaComponents3 | 24 | import org.kde.plasma.components 3.0 as PlasmaComponents3 | ||
25 | import org.kde.plasma.core 2.0 as PlasmaCore | 25 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
26 | import org.kde.plasma.networkmanagement 0.2 as PlasmaNM | 26 | import org.kde.plasma.networkmanagement 0.2 as PlasmaNM | ||
27 | import org.kde.kquickcontrolsaddons 2.0 | 27 | import org.kde.kquickcontrolsaddons 2.0 | ||
28 | 28 | | |||
29 | GridLayout { | 29 | GridLayout { | ||
30 | id: toolbar | 30 | id: toolbar | ||
31 | 31 | | |||
32 | readonly property var displayWifiMessage: !wifiSwitchButton.checked && wifiSwitchButton.visible | ||||
broulik: Make it `readonly property bool` | |||||
33 | readonly property var displayWwanMessage: !wwanSwitchButton.checked && wwanSwitchButton.visible | ||||
34 | readonly property var displayplaneModeMessage: planeModeSwitchButton.checked && planeModeSwitchButton.visible | ||||
35 | | ||||
32 | function closeSearch() { | 36 | function closeSearch() { | ||
33 | searchToggleButton.checked = false | 37 | searchToggleButton.checked = false | ||
34 | } | 38 | } | ||
35 | 39 | | |||
36 | rows: 2 | 40 | rows: 2 | ||
37 | columns: 2 | 41 | columns: 2 | ||
38 | 42 | | |||
39 | PlasmaCore.Svg { | 43 | PlasmaCore.Svg { | ||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |
Make it readonly property bool