2024-01-20 02:08:06 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
import QtQuick 2.5
|
2024-08-09 01:20:25 +00:00
|
|
|
import QtQuick.Controls
|
2024-01-20 02:08:06 +00:00
|
|
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
|
|
|
import org.kde.plasma.private.sessions 2.0
|
|
|
|
import "../components"
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: root
|
|
|
|
property bool debug: false
|
|
|
|
property string notification
|
|
|
|
signal clearPassword()
|
2024-08-09 01:20:25 +00:00
|
|
|
signal notificationRepeated()
|
2024-01-20 02:08:06 +00:00
|
|
|
|
|
|
|
// These are magical properties that kscreenlocker looks for
|
|
|
|
property bool viewVisible: false
|
|
|
|
property bool suspendToRamSupported: false
|
|
|
|
property bool suspendToDiskSupported: false
|
|
|
|
|
|
|
|
// These are magical signals that kscreenlocker looks for
|
|
|
|
signal suspendToDisk()
|
|
|
|
signal suspendToRam()
|
|
|
|
|
|
|
|
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
|
|
|
|
LayoutMirroring.childrenInherit: true
|
|
|
|
|
|
|
|
implicitWidth: 800
|
|
|
|
implicitHeight: 600
|
|
|
|
|
|
|
|
LockScreenUi {
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
|
|
|
}
|