summaryrefslogtreecommitdiff
path: root/src/imports/qmlwebsockets_compat/plugins.qmltypes
blob: 961ed1c76b88e0b5bb7d6ba9545c8bee438f424a (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
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 Qt.WebSockets 1.0'

Module {
    dependencies: []
    Component {
        name: "QQmlWebSocket"
        prototype: "QObject"
        exports: ["Qt.WebSockets/WebSocket 1.0"]
        exportMetaObjectRevisions: [0]
        Enum {
            name: "Status"
            values: {
                "Connecting": 0,
                "Open": 1,
                "Closing": 2,
                "Closed": 3,
                "Error": 4
            }
        }
        Property { name: "url"; type: "QUrl" }
        Property { name: "status"; type: "Status"; isReadonly: true }
        Property { name: "errorString"; type: "string"; isReadonly: true }
        Property { name: "active"; type: "bool" }
        Signal {
            name: "textMessageReceived"
            Parameter { name: "message"; type: "string" }
        }
        Signal {
            name: "statusChanged"
            Parameter { name: "status"; type: "Status" }
        }
        Signal {
            name: "activeChanged"
            Parameter { name: "isActive"; type: "bool" }
        }
        Signal {
            name: "errorStringChanged"
            Parameter { name: "errorString"; type: "string" }
        }
        Method {
            name: "sendTextMessage"
            type: "qlonglong"
            Parameter { name: "message"; type: "string" }
        }
    }
    Component {
        name: "QQmlWebSocketServer"
        prototype: "QObject"
        exports: ["Qt.WebSockets/WebSocketServer 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "url"; type: "QUrl"; isReadonly: true }
        Property { name: "host"; type: "string" }
        Property { name: "port"; type: "int" }
        Property { name: "name"; type: "string" }
        Property { name: "errorString"; type: "string"; isReadonly: true }
        Property { name: "listen"; type: "bool" }
        Property { name: "accept"; type: "bool" }
        Signal {
            name: "clientConnected"
            Parameter { name: "webSocket"; type: "QQmlWebSocket"; isPointer: true }
        }
        Signal {
            name: "errorStringChanged"
            Parameter { name: "errorString"; type: "string" }
        }
        Signal {
            name: "urlChanged"
            Parameter { name: "url"; type: "QUrl" }
        }
        Signal {
            name: "portChanged"
            Parameter { name: "port"; type: "int" }
        }
        Signal {
            name: "nameChanged"
            Parameter { name: "name"; type: "string" }
        }
        Signal {
            name: "hostChanged"
            Parameter { name: "host"; type: "string" }
        }
        Signal {
            name: "listenChanged"
            Parameter { name: "listen"; type: "bool" }
        }
        Signal {
            name: "acceptChanged"
            Parameter { name: "accept"; type: "bool" }
        }
    }
}