summaryrefslogtreecommitdiff
path: root/src/enginio_plugin/plugins.qmltypes
blob: ab7a8b2eb19d5226d78d45b26fed75ab986b9029 (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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
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 -notrelocatable Enginio 1.0'

Module {
    Component {
        name: "Enginio"
        exports: ["Enginio/Enginio 1.0"]
        exportMetaObjectRevisions: [0]
        Enum {
            name: "AuthenticationState"
            values: {
                "NotAuthenticated": 0,
                "Authenticating": 1,
                "Authenticated": 2,
                "AuthenticationFailure": 3
            }
        }
        Enum {
            name: "Operation"
            values: {
                "ObjectOperation": 0,
                "AccessControlOperation": 1,
                "UserOperation": 2,
                "UsergroupOperation": 3,
                "UsergroupMembersOperation": 4,
                "FileOperation": 5,
                "SessionOperation": 6,
                "SearchOperation": 7,
                "FileChunkUploadOperation": 8,
                "FileGetDownloadUrlOperation": 9
            }
        }
        Enum {
            name: "Role"
            values: {
                "InvalidRole": -1,
                "SyncedRole": 257,
                "CreatedAtRole": 258,
                "UpdatedAtRole": 259,
                "IdRole": 260,
                "ObjectTypeRole": 261,
                "CustomPropertyRole": 266
            }
        }
        Enum {
            name: "ErrorType"
            values: {
                "NoError": 0,
                "NetworkError": 1,
                "BackendError": 2
            }
        }
    }
    Component {
        name: "EnginioBaseModel"
        prototype: "QAbstractListModel"
        exports: ["Enginio/EnginioBaseModel 1.0"]
        exportMetaObjectRevisions: [0]
    }
    Component {
        name: "EnginioClientConnection"
        prototype: "QObject"
        exports: ["Enginio/EnginioClientConnection 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "backendId"; type: "QByteArray" }
        Property { name: "serviceUrl"; type: "QUrl" }
        Property { name: "identity"; type: "EnginioIdentity"; isPointer: true }
        Property { name: "authenticationState"; type: "Enginio::AuthenticationState"; isReadonly: true }
        Signal {
            name: "backendIdChanged"
            Parameter { name: "backendId"; type: "QByteArray" }
        }
        Signal {
            name: "serviceUrlChanged"
            Parameter { name: "url"; type: "QUrl" }
        }
        Signal {
            name: "authenticationStateChanged"
            Parameter { name: "state"; type: "Enginio::AuthenticationState" }
        }
        Signal {
            name: "identityChanged"
            Parameter { name: "identity"; type: "EnginioIdentity"; isPointer: true }
        }
    }
    Component {
        name: "EnginioIdentity"
        prototype: "QObject"
        exports: ["Enginio/EnginioIdentity 1.0"]
        exportMetaObjectRevisions: [0]
        Signal { name: "dataChanged" }
        Signal { name: "aboutToDestroy" }
    }
    Component {
        name: "EnginioOAuth2Authentication"
        prototype: "EnginioIdentity"
        exports: ["Enginio/EnginioOAuth2Authentication 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "user"; type: "string" }
        Property { name: "password"; type: "string" }
        Signal {
            name: "userChanged"
            Parameter { name: "user"; type: "string" }
        }
        Signal {
            name: "passwordChanged"
            Parameter { name: "password"; type: "string" }
        }
        Method {
            name: "setUser"
            Parameter { name: "user"; type: "string" }
        }
        Method {
            name: "setPassword"
            Parameter { name: "password"; type: "string" }
        }
    }
    Component {
        name: "EnginioQmlClient"
        prototype: "EnginioClientConnection"
        exports: ["Enginio/EnginioClient 1.0"]
        exportMetaObjectRevisions: [0]
        Signal {
            name: "sessionAuthenticated"
            Parameter { name: "reply"; type: "QJSValue" }
        }
        Signal {
            name: "sessionAuthenticationError"
            Parameter { name: "reply"; type: "QJSValue" }
        }
        Signal { name: "sessionTerminated" }
        Signal {
            name: "finished"
            Parameter { name: "reply"; type: "QJSValue" }
        }
        Signal {
            name: "error"
            Parameter { name: "reply"; type: "QJSValue" }
        }
        Method {
            name: "fullTextSearch"
            type: "EnginioQmlReply*"
            Parameter { name: "query"; type: "QJSValue" }
        }
        Method {
            name: "query"
            type: "EnginioQmlReply*"
            Parameter { name: "query"; type: "QJSValue" }
            Parameter { name: "operation"; type: "Enginio::Operation" }
        }
        Method {
            name: "query"
            type: "EnginioQmlReply*"
            Parameter { name: "query"; type: "QJSValue" }
        }
        Method {
            name: "create"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
            Parameter { name: "operation"; type: "Enginio::Operation" }
        }
        Method {
            name: "create"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
        }
        Method {
            name: "update"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
            Parameter { name: "operation"; type: "Enginio::Operation" }
        }
        Method {
            name: "update"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
        }
        Method {
            name: "remove"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
            Parameter { name: "operation"; type: "Enginio::Operation" }
        }
        Method {
            name: "remove"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
        }
        Method {
            name: "downloadUrl"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
        }
        Method {
            name: "uploadFile"
            type: "EnginioQmlReply*"
            Parameter { name: "object"; type: "QJSValue" }
            Parameter { name: "url"; type: "QUrl" }
        }
    }
    Component {
        name: "EnginioQmlModel"
        prototype: "EnginioBaseModel"
        exports: ["Enginio/EnginioModel 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "client"; type: "EnginioQmlClient"; isPointer: true }
        Property { name: "query"; type: "QJSValue" }
        Property { name: "operation"; type: "Enginio::Operation" }
        Property { name: "rowCount"; type: "int"; isReadonly: true }
        Signal {
            name: "queryChanged"
            Parameter { name: "query"; type: "QJSValue" }
        }
        Signal {
            name: "clientChanged"
            Parameter { name: "client"; type: "EnginioQmlClient"; isPointer: true }
        }
        Signal {
            name: "operationChanged"
            Parameter { name: "operation"; type: "Enginio::Operation" }
        }
        Method {
            name: "append"
            type: "EnginioQmlReply*"
            Parameter { name: "value"; type: "QJSValue" }
        }
        Method {
            name: "remove"
            type: "EnginioQmlReply*"
            Parameter { name: "row"; type: "int" }
        }
        Method {
            name: "setProperty"
            type: "EnginioQmlReply*"
            Parameter { name: "row"; type: "int" }
            Parameter { name: "role"; type: "string" }
            Parameter { name: "value"; type: "QVariant" }
        }
    }
    Component {
        name: "EnginioQmlReply"
        prototype: "EnginioReplyState"
        exports: ["Enginio/EnginioReply 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "data"; type: "QJSValue"; isReadonly: true }
        Property { name: "isError"; type: "bool"; isReadonly: true }
        Property { name: "isFinished"; type: "bool"; isReadonly: true }
        Signal {
            name: "finished"
            Parameter { name: "reply"; type: "QJSValue" }
        }
    }
    Component {
        name: "EnginioReplyState"
        prototype: "QObject"
        exports: ["Enginio/EnginioReplyState 1.0"]
        exportMetaObjectRevisions: [0]
        Property { name: "errorType"; type: "Enginio::ErrorType"; isReadonly: true }
        Property { name: "networkError"; type: "QNetworkReply::NetworkError"; isReadonly: true }
        Property { name: "errorString"; type: "string"; isReadonly: true }
        Property { name: "backendStatus"; type: "int"; isReadonly: true }
        Property { name: "requestId"; type: "string"; isReadonly: true }
        Signal { name: "dataChanged" }
        Signal {
            name: "progress"
            Parameter { name: "bytesSent"; type: "qlonglong" }
            Parameter { name: "bytesTotal"; type: "qlonglong" }
        }
        Method { name: "dumpDebugInfo" }
    }
    Component {
        name: "QIODevice"
        prototype: "QObject"
        Signal { name: "readyRead" }
        Signal {
            name: "bytesWritten"
            Parameter { name: "bytes"; type: "qlonglong" }
        }
        Signal { name: "aboutToClose" }
        Signal { name: "readChannelFinished" }
    }
    Component {
        name: "QNetworkReply"
        prototype: "QIODevice"
        exports: ["Enginio/QNetworkReply 1.0"]
        exportMetaObjectRevisions: [0]
        Enum {
            name: "NetworkError"
            values: {
                "NoError": 0,
                "ConnectionRefusedError": 1,
                "RemoteHostClosedError": 2,
                "HostNotFoundError": 3,
                "TimeoutError": 4,
                "OperationCanceledError": 5,
                "SslHandshakeFailedError": 6,
                "TemporaryNetworkFailureError": 7,
                "NetworkSessionFailedError": 8,
                "BackgroundRequestNotAllowedError": 9,
                "UnknownNetworkError": 99,
                "ProxyConnectionRefusedError": 101,
                "ProxyConnectionClosedError": 102,
                "ProxyNotFoundError": 103,
                "ProxyTimeoutError": 104,
                "ProxyAuthenticationRequiredError": 105,
                "UnknownProxyError": 199,
                "ContentAccessDenied": 201,
                "ContentOperationNotPermittedError": 202,
                "ContentNotFoundError": 203,
                "AuthenticationRequiredError": 204,
                "ContentReSendError": 205,
                "UnknownContentError": 299,
                "ProtocolUnknownError": 301,
                "ProtocolInvalidOperationError": 302,
                "ProtocolFailure": 399
            }
        }
        Signal { name: "metaDataChanged" }
        Signal { name: "finished" }
        Signal {
            name: "error"
            Parameter { type: "QNetworkReply::NetworkError" }
        }
        Signal { name: "encrypted" }
        Signal {
            name: "sslErrors"
            Parameter { name: "errors"; type: "QList<QSslError>" }
        }
        Signal {
            name: "uploadProgress"
            Parameter { name: "bytesSent"; type: "qlonglong" }
            Parameter { name: "bytesTotal"; type: "qlonglong" }
        }
        Signal {
            name: "downloadProgress"
            Parameter { name: "bytesReceived"; type: "qlonglong" }
            Parameter { name: "bytesTotal"; type: "qlonglong" }
        }
        Method { name: "abort" }
        Method { name: "ignoreSslErrors" }
    }
}