Warning, /plasma/plasma-bigscreen/lookandfeel/contents/lockscreen/LockScreen.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.0 0008 import QtQuick.Controls 1.1 0009 import org.kde.plasma.core 2.0 as PlasmaCore 0010 import org.kde.plasma.private.sessions 2.0 0011 import "../components" 0012 0013 Image { 0014 id: root 0015 property int interfaceVersion: org_kde_plasma_screenlocker_greeter_interfaceVersion ? org_kde_plasma_screenlocker_greeter_interfaceVersion : 0 0016 0017 source: backgroundPath 0018 fillMode: Image.PreserveAspectCrop 0019 asynchronous: true 0020 function unlock() { 0021 authenticator.tryUnlock("mycroft") 0022 } 0023 MouseArea { 0024 anchors.fill: parent 0025 hoverEnabled: true 0026 onPositionChanged: root.unlock() 0027 onClicked: root.unlock() 0028 } 0029 Keys.onPressed: root.unlock() 0030 }