Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/lockscreen/MainBlock.qml
Show All 22 Lines | |||||
23 | import QtQuick.Controls 1.1 | 23 | import QtQuick.Controls 1.1 | ||
24 | 24 | | |||
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.components 2.0 as PlasmaComponents | 26 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
27 | 27 | | |||
28 | import "../components" | 28 | import "../components" | ||
29 | 29 | | |||
30 | SessionManagementScreen { | 30 | SessionManagementScreen { | ||
31 | | ||||
32 | property Item mainPasswordBox: passwordBox | ||||
31 | /* | 33 | /* | ||
32 | * Login has been requested with the following username and password | 34 | * Login has been requested with the following username and password | ||
33 | * If username field is visible, it will be taken from that, otherwise from the "name" property of the currentIndex | 35 | * If username field is visible, it will be taken from that, otherwise from the "name" property of the currentIndex | ||
34 | */ | 36 | */ | ||
35 | signal loginRequest(string password) | 37 | signal loginRequest(string password) | ||
36 | 38 | | |||
37 | function startLogin() { | 39 | function startLogin() { | ||
38 | var password = passwordBox.text | 40 | var password = passwordBox.text | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |