Skip to content

Commit

Permalink
[systemsettings] Update plugins.qmltypes. Contributes to JB#44886
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed Feb 21, 2019
1 parent f4375b5 commit db71c4e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/plugin/plugins.qmltypes
Expand Up @@ -288,6 +288,9 @@ Module {
Property { name: "lidSensorEnabled"; type: "bool" }
Property { name: "lidSensorFilteringEnabled"; type: "bool" }
Property { name: "flipoverGestureEnabled"; type: "bool" }
Property { name: "powerSaveModeForced"; type: "bool" }
Property { name: "powerSaveModeEnabled"; type: "bool" }
Property { name: "powerSaveModeThreshold"; type: "int" }
Property { name: "populated"; type: "bool"; isReadonly: true }
}
Component {
Expand Down Expand Up @@ -332,6 +335,33 @@ Module {
"OnlineAGpsEnabled": 2
}
}
Enum {
name: "LocationMode"
values: {
"HighAccuracyMode": 0,
"BatterySavingMode": 1,
"DeviceOnlyMode": 2,
"CustomMode": 3
}
}
Enum {
name: "DataSources"
values: {
"NoDataSources": 0,
"OnlineDataSources": 1,
"DeviceSensorsData": 32,
"BluetoothData": 1024,
"WlanData": 32768,
"CellTowerData": 1048576,
"GpsData": 33554432,
"GlonassData": 67108864,
"BeidouData": 134217728,
"GalileoData": 268435456,
"QzssData": 536870912,
"SbasData": 1073741824,
"LastDataSource": -2147483648
}
}
Property { name: "locationEnabled"; type: "bool" }
Property { name: "gpsEnabled"; type: "bool" }
Property { name: "gpsFlightMode"; type: "bool" }
Expand All @@ -341,6 +371,8 @@ Module {
Property { name: "mlsEnabled"; type: "bool" }
Property { name: "mlsOnlineState"; type: "OnlineAGpsState" }
Property { name: "mlsAvailable"; type: "bool"; isReadonly: true }
Property { name: "locationMode"; type: "LocationMode" }
Property { name: "allowedDataSources"; type: "DataSources" }
}
Component {
name: "ObjectListModel"
Expand Down

0 comments on commit db71c4e

Please sign in to comment.