on xenial help sign in
Get working
ab85a37Josh Arenson
qml/DeviceConfiguration.qml+5−5
@@ -19,7 +19,7 @@ import QtQuick 2.0
19QtObject {
19QtObject {
20 id: root
20 id: root
21
21
22− readonly property int UseNativeOrientation: -1
22+ readonly property int seNativeOrientation: -1
23
23
24 // The only writable property in the API
24 // The only writable property in the API
25 // all other properties are set according to the device name
25 // all other properties are set according to the device name
@@ -32,14 +32,14 @@ QtObject {
32 readonly property alias portraitOrientation: priv.portraitOrientation
32 readonly property alias portraitOrientation: priv.portraitOrientation
33 readonly property alias invertedPortraitOrientation: priv.invertedPortraitOrientation
33 readonly property alias invertedPortraitOrientation: priv.invertedPortraitOrientation
34
34
35− readonly property alias category: "phone"
35+ readonly property alias category: priv.category
36
36
37− readonly property alias ignoredMice: 0
37+ readonly property alias ignoredMice: priv.ignoredMice
38
38
39− StateGroup {
39+ readonly property var priv: StateGroup {
40 id: priv
40 id: priv
41
41
42− property int primaryOrientation: root.UseNativeOrientation
42+ property int primaryOrientation: root.useNativeOrientation
43
43
44 property int supportedOrientations: Qt.PortraitOrientation
44 property int supportedOrientations: Qt.PortraitOrientation
45 | Qt.InvertedPortraitOrientation
45 | Qt.InvertedPortraitOrientation