summaryrefslogtreecommitdiffstats
path: root/src/imports/bluetooth/plugins.qmltypes
blob: 9318fe937ea6d8c07ff19a4786d2daca13b420a5 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
import QtQuick.tooling 1.2

// 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 QtBluetooth 5.13'

Module {
    dependencies: ["QtQuick 2.0"]
    Component {
        name: "QDeclarativeBluetoothDiscoveryModel"
        prototype: "QAbstractListModel"
        exports: [
            "QtBluetooth/BluetoothDiscoveryModel 5.0",
            "QtBluetooth/BluetoothDiscoveryModel 5.2"
        ]
        exportMetaObjectRevisions: [0, 0]
        Enum {
            name: "DiscoveryMode"
            values: {
                "MinimalServiceDiscovery": 0,
                "FullServiceDiscovery": 1,
                "DeviceDiscovery": 2
            }
        }
        Enum {
            name: "Error"
            values: {
                "NoError": 0,
                "InputOutputError": 1,
                "PoweredOffError": 2,
                "UnknownError": 3,
                "InvalidBluetoothAdapterError": 4
            }
        }
        Property { name: "error"; type: "Error"; isReadonly: true }
        Property { name: "discoveryMode"; type: "DiscoveryMode" }
        Property { name: "running"; type: "bool" }
        Property { name: "uuidFilter"; type: "string" }
        Property { name: "remoteAddress"; type: "string" }
        Signal {
            name: "serviceDiscovered"
            Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
        }
        Signal {
            name: "deviceDiscovered"
            Parameter { name: "device"; type: "string" }
        }
    }
    Component {
        name: "QDeclarativeBluetoothService"
        prototype: "QObject"
        exports: [
            "QtBluetooth/BluetoothService 5.0",
            "QtBluetooth/BluetoothService 5.2"
        ]
        exportMetaObjectRevisions: [0, 0]
        Enum {
            name: "Protocol"
            values: {
                "RfcommProtocol": 2,
                "L2CapProtocol": 1,
                "UnknownProtocol": 0
            }
        }
        Property { name: "deviceName"; type: "string"; isReadonly: true }
        Property { name: "deviceAddress"; type: "string" }
        Property { name: "serviceName"; type: "string" }
        Property { name: "serviceDescription"; type: "string" }
        Property { name: "serviceUuid"; type: "string" }
        Property { name: "serviceProtocol"; type: "Protocol" }
        Property { name: "registered"; type: "bool" }
        Signal { name: "detailsChanged" }
        Signal { name: "newClient" }
        Method { name: "nextClient"; type: "QDeclarativeBluetoothSocket*" }
        Method {
            name: "assignNextClient"
            Parameter { name: "dbs"; type: "QDeclarativeBluetoothSocket"; isPointer: true }
        }
    }
    Component {
        name: "QDeclarativeBluetoothSocket"
        prototype: "QObject"
        exports: [
            "QtBluetooth/BluetoothSocket 5.0",
            "QtBluetooth/BluetoothSocket 5.2"
        ]
        exportMetaObjectRevisions: [0, 0]
        Enum {
            name: "Error"
            values: {
                "NoError": -2,
                "UnknownSocketError": -1,
                "RemoteHostClosedError": 1,
                "HostNotFoundError": 2,
                "ServiceNotFoundError": 9,
                "NetworkError": 7,
                "UnsupportedProtocolError": 8
            }
        }
        Enum {
            name: "SocketState"
            values: {
                "Unconnected": 0,
                "ServiceLookup": 1,
                "Connecting": 2,
                "Connected": 3,
                "Bound": 4,
                "Closing": 6,
                "Listening": 5,
                "NoServiceSet": 100
            }
        }
        Property { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
        Property { name: "connected"; type: "bool" }
        Property { name: "error"; type: "Error"; isReadonly: true }
        Property { name: "socketState"; type: "SocketState"; isReadonly: true }
        Property { name: "stringData"; type: "string" }
        Signal { name: "stateChanged" }
        Signal { name: "dataAvailable" }
        Method {
            name: "setService"
            Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
        }
        Method {
            name: "setConnected"
            Parameter { name: "connected"; type: "bool" }
        }
        Method {
            name: "sendStringData"
            Parameter { name: "data"; type: "string" }
        }
    }
}