Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit ba97282

Browse files
committed
Merge branch 'jb44886' into 'master'
[systemsettings] Update plugins.qmltypes. Contributes to JB#44886 See merge request mer-core/nemo-qml-plugin-systemsettings!99
2 parents 42e7f11 + db71c4e commit ba97282

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/plugin/plugins.qmltypes

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ Module {
288288
Property { name: "lidSensorEnabled"; type: "bool" }
289289
Property { name: "lidSensorFilteringEnabled"; type: "bool" }
290290
Property { name: "flipoverGestureEnabled"; type: "bool" }
291+
Property { name: "powerSaveModeForced"; type: "bool" }
292+
Property { name: "powerSaveModeEnabled"; type: "bool" }
293+
Property { name: "powerSaveModeThreshold"; type: "int" }
291294
Property { name: "populated"; type: "bool"; isReadonly: true }
292295
}
293296
Component {
@@ -332,6 +335,33 @@ Module {
332335
"OnlineAGpsEnabled": 2
333336
}
334337
}
338+
Enum {
339+
name: "LocationMode"
340+
values: {
341+
"HighAccuracyMode": 0,
342+
"BatterySavingMode": 1,
343+
"DeviceOnlyMode": 2,
344+
"CustomMode": 3
345+
}
346+
}
347+
Enum {
348+
name: "DataSources"
349+
values: {
350+
"NoDataSources": 0,
351+
"OnlineDataSources": 1,
352+
"DeviceSensorsData": 32,
353+
"BluetoothData": 1024,
354+
"WlanData": 32768,
355+
"CellTowerData": 1048576,
356+
"GpsData": 33554432,
357+
"GlonassData": 67108864,
358+
"BeidouData": 134217728,
359+
"GalileoData": 268435456,
360+
"QzssData": 536870912,
361+
"SbasData": 1073741824,
362+
"LastDataSource": -2147483648
363+
}
364+
}
335365
Property { name: "locationEnabled"; type: "bool" }
336366
Property { name: "gpsEnabled"; type: "bool" }
337367
Property { name: "gpsFlightMode"; type: "bool" }
@@ -341,6 +371,8 @@ Module {
341371
Property { name: "mlsEnabled"; type: "bool" }
342372
Property { name: "mlsOnlineState"; type: "OnlineAGpsState" }
343373
Property { name: "mlsAvailable"; type: "bool"; isReadonly: true }
374+
Property { name: "locationMode"; type: "LocationMode" }
375+
Property { name: "allowedDataSources"; type: "DataSources" }
344376
}
345377
Component {
346378
name: "ObjectListModel"

0 commit comments

Comments
 (0)