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

Commit 0678c09

Browse files
committed
[systemsettings] Update plugins.qmltypes. Contributes to JB#48047
1 parent e9b24d6 commit 0678c09

File tree

1 file changed

+36
-58
lines changed

1 file changed

+36
-58
lines changed

src/plugin/plugins.qmltypes

Lines changed: 36 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -372,52 +372,12 @@ Module {
372372
Property { name: "mlsEnabled"; type: "bool" }
373373
Property { name: "mlsOnlineState"; type: "OnlineAGpsState" }
374374
Property { name: "mlsAvailable"; type: "bool"; isReadonly: true }
375+
Property { name: "yandexLocatorEnabled"; type: "bool" }
376+
Property { name: "yandexLocatorOnlineState"; type: "OnlineAGpsState" }
377+
Property { name: "yandexLocatorAvailable"; type: "bool"; isReadonly: true }
375378
Property { name: "locationMode"; type: "LocationMode" }
376379
Property { name: "allowedDataSources"; type: "DataSources" }
377380
}
378-
Component {
379-
name: "ObjectListModel"
380-
prototype: "QAbstractListModel"
381-
Property { name: "automaticRoles"; type: "bool" }
382-
Property { name: "populated"; type: "bool" }
383-
Property { name: "count"; type: "int"; isReadonly: true }
384-
Signal {
385-
name: "itemAdded"
386-
Parameter { name: "item"; type: "QObject"; isPointer: true }
387-
}
388-
Signal {
389-
name: "itemRemoved"
390-
Parameter { name: "item"; type: "QObject"; isPointer: true }
391-
}
392-
Method {
393-
name: "insertItem"
394-
Parameter { name: "index"; type: "int" }
395-
Parameter { name: "item"; type: "QObject"; isPointer: true }
396-
}
397-
Method {
398-
name: "appendItem"
399-
Parameter { name: "item"; type: "QObject"; isPointer: true }
400-
}
401-
Method {
402-
name: "removeItem"
403-
Parameter { name: "item"; type: "QObject"; isPointer: true }
404-
}
405-
Method {
406-
name: "removeItemAt"
407-
Parameter { name: "index"; type: "int" }
408-
}
409-
Method { name: "clear" }
410-
Method {
411-
name: "get"
412-
type: "QObject*"
413-
Parameter { name: "index"; type: "int" }
414-
}
415-
Method {
416-
name: "indexOf"
417-
type: "int"
418-
Parameter { name: "item"; type: "QObject"; isPointer: true }
419-
}
420-
}
421381
Component {
422382
name: "PartitionModel"
423383
prototype: "QAbstractListModel"
@@ -496,6 +456,7 @@ Module {
496456
Property { name: "count"; type: "int"; isReadonly: true }
497457
Property { name: "storageTypes"; type: "StorageTypes" }
498458
Property { name: "supportedFormatTypes"; type: "QStringList"; isReadonly: true }
459+
Property { name: "externalStoragesPopulated"; type: "bool"; isReadonly: true }
499460
Signal {
500461
name: "errorMessage"
501462
Parameter { name: "objectPath"; type: "string" }
@@ -691,29 +652,24 @@ Module {
691652
}
692653
}
693654
Component {
694-
name: "VpnModel"
695-
prototype: "ObjectListModel"
696-
exports: ["org.nemomobile.systemsettings/VpnModel 1.0"]
655+
name: "SettingsVpnModel"
656+
prototype: "VpnModel"
657+
exports: ["org.nemomobile.systemsettings/SettingsVpnModel 1.0"]
697658
isCreatable: false
698659
isSingleton: true
699660
exportMetaObjectRevisions: [0]
700-
Enum {
701-
name: "ConnectionState"
702-
values: {
703-
"Idle": 0,
704-
"Failure": 1,
705-
"Configuration": 2,
706-
"Ready": 3,
707-
"Disconnect": 4
708-
}
709-
}
710-
Property { name: "bestState"; type: "int"; isReadonly: true }
661+
Property { name: "bestState"; type: "VpnConnection::ConnectionState"; isReadonly: true }
711662
Property { name: "autoConnect"; type: "bool"; isReadonly: true }
712663
Property { name: "orderByConnected"; type: "bool" }
713664
Signal {
714665
name: "connectionStateChanged"
715666
Parameter { name: "path"; type: "string" }
716-
Parameter { name: "state"; type: "int" }
667+
Parameter { name: "state"; type: "VpnConnection::ConnectionState" }
668+
}
669+
Method {
670+
name: "isDefaultDomain"
671+
type: "bool"
672+
Parameter { name: "domain"; type: "string" }
717673
}
718674
Method {
719675
name: "createConnection"
@@ -766,5 +722,27 @@ Module {
766722
Parameter { name: "path"; type: "string" }
767723
Parameter { name: "type"; type: "string" }
768724
}
725+
Method {
726+
name: "get"
727+
type: "VpnConnection*"
728+
Parameter { name: "index"; type: "int" }
729+
}
730+
}
731+
Component {
732+
name: "VpnModel"
733+
prototype: "QAbstractListModel"
734+
Property { name: "connected"; type: "bool"; isReadonly: true }
735+
Property { name: "count"; type: "int"; isReadonly: true }
736+
Property { name: "vpnManager"; type: "VpnManager"; isReadonly: true; isPointer: true }
737+
Property { name: "populated"; type: "bool"; isReadonly: true }
738+
Signal {
739+
name: "connectedChanged"
740+
Parameter { name: "connected"; type: "bool" }
741+
}
742+
Method {
743+
name: "connectionSettings"
744+
type: "QVariantMap"
745+
Parameter { name: "path"; type: "string" }
746+
}
769747
}
770748
}

0 commit comments

Comments
 (0)