Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/logout/Logout.qml
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 33 | PlasmaCore.ColorScope { | |||
---|---|---|---|---|---|
49 | function sleepRequested() { | 49 | function sleepRequested() { | ||
50 | root.suspendRequested(2); | 50 | root.suspendRequested(2); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | function hibernateRequested() { | 53 | function hibernateRequested() { | ||
54 | root.suspendRequested(4); | 54 | root.suspendRequested(4); | ||
55 | } | 55 | } | ||
56 | 56 | | |||
57 | property real timeout: 30 | 57 | property real timeout: 10 | ||
58 | property real remainingTime: root.timeout | 58 | property real remainingTime: root.timeout | ||
59 | property var currentAction: { | 59 | property var currentAction: { | ||
60 | switch (sdtype) { | 60 | switch (sdtype) { | ||
61 | case ShutdownType.ShutdownTypeReboot: | 61 | case ShutdownType.ShutdownTypeReboot: | ||
62 | return root.rebootRequested; | 62 | return root.rebootRequested; | ||
63 | case ShutdownType.ShutdownTypeHalt: | 63 | case ShutdownType.ShutdownTypeHalt: | ||
64 | return root.haltRequested; | 64 | return root.haltRequested; | ||
65 | default: | 65 | default: | ||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |