summaryrefslogtreecommitdiffstats
path: root/src/imports/wifi/plugins.qmltypes
blob: 6667fcb3625047912ab8ade0568518d224fb035a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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" }
}