summaryrefslogtreecommitdiffstats
path: root/src/imports/networksettings/plugins.qmltypes
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-10-31 13:46:40 +0200
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-11-22 10:41:58 +0000
commitd1fcfe58025603ae28e8fda31d96519a92cdb7dd (patch)
treeff1dc34b7a97fe5695e82504d7313678fad4c6d3 /src/imports/networksettings/plugins.qmltypes
parent50b66ec25694e30caa5fbc556bc172d6319522ba (diff)
Add Wi-Fi enable button to network settings
Task-number: QTBUG-64230 Change-Id: I2aad07fb98a45997b116fc9a06924ba8be3dff2a Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/imports/networksettings/plugins.qmltypes')
-rw-r--r--src/imports/networksettings/plugins.qmltypes20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/imports/networksettings/plugins.qmltypes b/src/imports/networksettings/plugins.qmltypes
index 5022d6f..ac0d3fc 100644
--- a/src/imports/networksettings/plugins.qmltypes
+++ b/src/imports/networksettings/plugins.qmltypes
@@ -7,7 +7,7 @@ import QtQuick.tooling 1.2
// 'qmlplugindump -nonrelocatable QtDeviceUtilities.NetworkSettings 1.0'
Module {
- dependencies: []
+ dependencies: ["QtQuick 2.8"]
Component {
name: "QNetworkSettingsIPv4"
prototype: "QObject"
@@ -56,6 +56,18 @@ Module {
Property { name: "prefixLength"; type: "int" }
}
Component {
+ name: "QNetworkSettingsInterface"
+ prototype: "QObject"
+ exports: ["QtDeviceUtilities.NetworkSettings/NetworkInterface 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Property { name: "name"; type: "string"; isReadonly: true }
+ Property { name: "state"; type: "QNetworkSettingsState::States"; isReadonly: true }
+ Property { name: "type"; type: "QNetworkSettingsType::Types"; isReadonly: true }
+ Property { name: "powered"; type: "bool" }
+ Method { name: "scanServices" }
+ }
+ Component {
name: "QNetworkSettingsManager"
prototype: "QObject"
exports: [
@@ -88,6 +100,12 @@ Module {
Parameter { name: "name"; type: "string" }
Parameter { name: "type"; type: "int" }
}
+ Method {
+ name: "interface"
+ type: "QNetworkSettingsInterface*"
+ Parameter { name: "type"; type: "int" }
+ Parameter { name: "instance"; type: "int" }
+ }
}
Component {
name: "QNetworkSettingsProxy"