Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/logout/Logout.qml
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 75 | SessionsModel { | |||
---|---|---|---|---|---|
77 | includeUnusedSessions: false | 77 | includeUnusedSessions: false | ||
78 | } | 78 | } | ||
79 | 79 | | |||
80 | Controls.Action { | 80 | Controls.Action { | ||
81 | onTriggered: root.cancelRequested() | 81 | onTriggered: root.cancelRequested() | ||
82 | shortcut: "Escape" | 82 | shortcut: "Escape" | ||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | onRemainingTimeChanged: { | 85 | function onRemainingTimeChanged() { | ||
86 | if (remainingTime <= 0) { | 86 | if (remainingTime <= 0) { | ||
87 | root.currentAction(); | 87 | root.currentAction(); | ||
88 | } | 88 | } | ||
89 | } | 89 | } | ||
90 | 90 | | |||
91 | Timer { | 91 | Timer { | ||
92 | id: countDownTimer | 92 | id: countDownTimer | ||
93 | running: true | 93 | running: true | ||
▲ Show 20 Lines • Show All 169 Lines • Show Last 20 Lines |