Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[systemsettings] Update plugins.qmltypes. Contributes to JB#48047
  • Loading branch information
martyone committed Nov 15, 2019
1 parent e9b24d6 commit 0678c09
Showing 1 changed file with 36 additions and 58 deletions.
94 changes: 36 additions & 58 deletions src/plugin/plugins.qmltypes
Expand Up @@ -372,52 +372,12 @@ Module {
Property { name: "mlsEnabled"; type: "bool" }
Property { name: "mlsOnlineState"; type: "OnlineAGpsState" }
Property { name: "mlsAvailable"; type: "bool"; isReadonly: true }
Property { name: "yandexLocatorEnabled"; type: "bool" }
Property { name: "yandexLocatorOnlineState"; type: "OnlineAGpsState" }
Property { name: "yandexLocatorAvailable"; type: "bool"; isReadonly: true }
Property { name: "locationMode"; type: "LocationMode" }
Property { name: "allowedDataSources"; type: "DataSources" }
}
Component {
name: "ObjectListModel"
prototype: "QAbstractListModel"
Property { name: "automaticRoles"; type: "bool" }
Property { name: "populated"; type: "bool" }
Property { name: "count"; type: "int"; isReadonly: true }
Signal {
name: "itemAdded"
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
Signal {
name: "itemRemoved"
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
Method {
name: "insertItem"
Parameter { name: "index"; type: "int" }
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
Method {
name: "appendItem"
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
Method {
name: "removeItem"
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
Method {
name: "removeItemAt"
Parameter { name: "index"; type: "int" }
}
Method { name: "clear" }
Method {
name: "get"
type: "QObject*"
Parameter { name: "index"; type: "int" }
}
Method {
name: "indexOf"
type: "int"
Parameter { name: "item"; type: "QObject"; isPointer: true }
}
}
Component {
name: "PartitionModel"
prototype: "QAbstractListModel"
Expand Down Expand Up @@ -496,6 +456,7 @@ Module {
Property { name: "count"; type: "int"; isReadonly: true }
Property { name: "storageTypes"; type: "StorageTypes" }
Property { name: "supportedFormatTypes"; type: "QStringList"; isReadonly: true }
Property { name: "externalStoragesPopulated"; type: "bool"; isReadonly: true }
Signal {
name: "errorMessage"
Parameter { name: "objectPath"; type: "string" }
Expand Down Expand Up @@ -691,29 +652,24 @@ Module {
}
}
Component {
name: "VpnModel"
prototype: "ObjectListModel"
exports: ["org.nemomobile.systemsettings/VpnModel 1.0"]
name: "SettingsVpnModel"
prototype: "VpnModel"
exports: ["org.nemomobile.systemsettings/SettingsVpnModel 1.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "ConnectionState"
values: {
"Idle": 0,
"Failure": 1,
"Configuration": 2,
"Ready": 3,
"Disconnect": 4
}
}
Property { name: "bestState"; type: "int"; isReadonly: true }
Property { name: "bestState"; type: "VpnConnection::ConnectionState"; isReadonly: true }
Property { name: "autoConnect"; type: "bool"; isReadonly: true }
Property { name: "orderByConnected"; type: "bool" }
Signal {
name: "connectionStateChanged"
Parameter { name: "path"; type: "string" }
Parameter { name: "state"; type: "int" }
Parameter { name: "state"; type: "VpnConnection::ConnectionState" }
}
Method {
name: "isDefaultDomain"
type: "bool"
Parameter { name: "domain"; type: "string" }
}
Method {
name: "createConnection"
Expand Down Expand Up @@ -766,5 +722,27 @@ Module {
Parameter { name: "path"; type: "string" }
Parameter { name: "type"; type: "string" }
}
Method {
name: "get"
type: "VpnConnection*"
Parameter { name: "index"; type: "int" }
}
}
Component {
name: "VpnModel"
prototype: "QAbstractListModel"
Property { name: "connected"; type: "bool"; isReadonly: true }
Property { name: "count"; type: "int"; isReadonly: true }
Property { name: "vpnManager"; type: "VpnManager"; isReadonly: true; isPointer: true }
Property { name: "populated"; type: "bool"; isReadonly: true }
Signal {
name: "connectedChanged"
Parameter { name: "connected"; type: "bool" }
}
Method {
name: "connectionSettings"
type: "QVariantMap"
Parameter { name: "path"; type: "string" }
}
}
}

0 comments on commit 0678c09

Please sign in to comment.