summaryrefslogtreecommitdiffstats
path: root/src/imports/wifi/plugins.qmltypes
blob: c59d12c17db8dd1a91ab731c0643b5bf8bf28276 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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 B2Qt.Wifi 1.0 /system/qml/B2Qt/Wifi/'

Module {
    Component {
        name: "QWifiConfiguration"
        prototype: "QObject"
        exports: ["B2Qt.Wifi/WifiConfiguration 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "ssid"; type: "string" }
        Property { name: "passphrase"; type: "string" }
        Property { name: "protocol"; type: "string" }
    }
    Component {
        name: "QWifiDevice"
        prototype: "QObject"
        exports: ["B2Qt.Wifi/WifiDevice 1.0"]
        isCreatable: false
        isSingleton: true
        exportMetaObjectRevisions: [0]
        Method { name: "wifiSupported"; type: "bool" }
    }
    Component {
        name: "QWifiManager"
        prototype: "QObject"
        exports: ["B2Qt.Wifi/WifiManager 1.0"]
        isCreatable: false
        isSingleton: true
        exportMetaObjectRevisions: [0]
        Enum {
            name: "NetworkState"
            values: {
                "Disconnected": 0,
                "Authenticating": 1,
                "HandshakeFailed": 2,
                "ObtainingIPAddress": 3,
                "DhcpRequestFailed": 4,
                "Connected": 5
            }
        }
        Enum {
            name: "BackendState"
            values: {
                "Initializing": 0,
                "Running": 1,
                "Terminating": 2,
                "NotRunning": 3
            }
        }
        Property { name: "networkState"; type: "NetworkState"; isReadonly: true }
        Property { name: "backendState"; type: "BackendState"; isReadonly: true }
        Property { name: "scanning"; type: "bool" }
        Property { name: "currentSSID"; type: "string"; isReadonly: true }
        Property { name: "lastError"; type: "string"; isReadonly: true }
        Property { name: "networks"; type: "QAbstractListModel"; isReadonly: true; isPointer: true }
        Signal {
            name: "scanningChanged"
            Parameter { name: "scanning"; type: "bool" }
        }
        Signal {
            name: "networkStateChanged"
            Parameter { name: "networkState"; type: "NetworkState" }
        }
        Signal {
            name: "backendStateChanged"
            Parameter { name: "backendState"; type: "BackendState" }
        }
        Signal {
            name: "currentSSIDChanged"
            Parameter { name: "currentSSID"; type: "string" }
        }
        Signal {
            name: "lastErrorChanged"
            Parameter { name: "error"; type: "string" }
        }
        Method { name: "start" }
        Method { name: "stop" }
        Method {
            name: "connect"
            type: "bool"
            Parameter { name: "config"; type: "QWifiConfiguration"; isPointer: true }
        }
        Method { name: "disconnect" }
    }
}