summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@digia.com>2014-05-23 10:31:57 +0200
committerGatis Paeglis <gatis.paeglis@digia.com>2014-05-26 17:57:40 +0300
commit2d0cdf6753fc1801929f4cad5bc97021b22723bd (patch)
treef325bc53be608231f8d435f390114da60b8cc9b0 /src/imports
parent5c160b6fe916e5605eaa1fd8394b62527ff9f997 (diff)
Add plugins.qmltypes for Wi-Fi library
This fixes autocompletion issue in QtCreator. Task-number: QTEE-568 Change-Id: I186a5777e54d8629fd896bd1ee677ac359373a17 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/wifi/plugins.qmltypes60
-rw-r--r--src/imports/wifi/qmldir1
2 files changed, 61 insertions, 0 deletions
diff --git a/src/imports/wifi/plugins.qmltypes b/src/imports/wifi/plugins.qmltypes
new file mode 100644
index 0000000..6667fcb
--- /dev/null
+++ b/src/imports/wifi/plugins.qmltypes
@@ -0,0 +1,60 @@
+import QtQuick.tooling 1.1
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable Qt.labs.wifi 0.1 /system/qml/Qt/labs/wifi/'
+
+Module {
+ Component {
+ name: "QWifiGlobal"
+ prototype: "QObject"
+ exports: ["Qt.labs.wifi/Interface 0.1"]
+ exportMetaObjectRevisions: [0]
+ Method { name: "wifiSupported"; type: "bool" }
+ }
+ Component {
+ name: "QWifiManager"
+ prototype: "QObject"
+ exports: ["Qt.labs.wifi/WifiManager 0.1"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "NetworkState"
+ values: {
+ "Disconnected": 0,
+ "Authenticating": 1,
+ "HandshakeFailed": 2,
+ "ObtainingIPAddress": 3,
+ "DhcpRequestFailed": 4,
+ "Connected": 5
+ }
+ }
+ Property { name: "networkState"; type: "NetworkState"; isReadonly: true }
+ Property { name: "backendReady"; type: "bool"; isReadonly: true }
+ Property { name: "scanning"; type: "bool" }
+ Property { name: "connectedSSID"; type: "string"; isReadonly: true }
+ Property { name: "networks"; type: "QWifiNetworkListModel"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "scanningChanged"
+ Parameter { name: "scanning"; type: "bool" }
+ }
+ Signal {
+ name: "networkStateChanged"
+ Parameter { name: "network"; type: "QWifiNetwork"; isPointer: true }
+ }
+ Signal {
+ name: "connectedSSIDChanged"
+ Parameter { name: "ssid"; type: "string" }
+ }
+ Method { name: "start" }
+ Method { name: "stop" }
+ Method {
+ name: "connect"
+ Parameter { name: "network"; type: "QWifiNetwork"; isPointer: true }
+ Parameter { name: "passphrase"; type: "string" }
+ }
+ Method { name: "disconnect" }
+ }
+ Component { name: "QWifiNetworkListModel"; prototype: "QAbstractListModel" }
+}
diff --git a/src/imports/wifi/qmldir b/src/imports/wifi/qmldir
index 4c36784..d4f65d9 100644
--- a/src/imports/wifi/qmldir
+++ b/src/imports/wifi/qmldir
@@ -1,2 +1,3 @@
module Qt.labs.wifi
plugin qwifimodule
+typeinfo plugins.qmltypes