mirror-kde-plasma-desktop/applets/showdesktop/Controller.qml
Christoph Wolk 6179cc55e6 applets/showdesktop: linting
Implements some things that make qmllint happy: set 18n lines to
disabled unqualified warnings, make parameters explicit, qualify acess
where possible and the like. Also unversions the imports.
2025-11-26 22:19:18 +00:00

26 lines
620 B
QML

/*
SPDX-FileCopyrightText: 2022 ivan (@ratijas) tkachenko <me@ratijas.tk>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQml
QtObject {
/**
* Whether the effect is currently active, and can be deactivated.
*/
property bool active
property string titleActive
property string titleInactive
property string descriptionActive
property string descriptionInactive
readonly property string title: active ? titleActive : titleInactive
readonly property string description: active ? descriptionActive : descriptionInactive
// virtual
function toggle() {}
}