mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
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.
26 lines
620 B
QML
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() {}
|
|
}
|