summaryrefslogtreecommitdiffstats
path: root/src/imports/mimetypes/plugins.qmltypes
blob: 3a2f099f7e8f1e2c4a5ecce569e7c5611134ca2b (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
import QtQuick.tooling 1.1

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.

Module {
    Component {
        name: "QDeclarativeMimeDatabase"
        prototype: "QObject"
        exports: ["MimeDatabase 1.0"]
        Property { name: "mimeTypeNames"; type: "QVariantList"; isReadonly: true }
        Method {
            name: "mimeTypeForName"
            type: "QDeclarativeMimeType*"
            Parameter { name: "nameOrAlias"; type: "string" }
        }
        Method {
            name: "findByFileName"
            type: "QDeclarativeMimeType*"
            Parameter { name: "fileName"; type: "string" }
        }
        Method {
            name: "findByFile"
            type: "QDeclarativeMimeType*"
            Parameter { name: "fileName"; type: "string" }
        }
    }
    Component {
        name: "QDeclarativeMimeType"
        prototype: "QObject"
        exports: ["MimeType 1.0"]
        Property { name: "name"; type: "string" }
        Property { name: "genericIconName"; type: "string" }
        Property { name: "iconName"; type: "string" }
        Property { name: "globPatterns"; type: "QVariantList" }
        Property { name: "suffixes"; type: "QVariantList"; isReadonly: true }
        Property { name: "preferredSuffix"; type: "string"; isReadonly: true }
        Property { name: "isValid"; type: "bool"; isReadonly: true }
        Method {
            name: "assign"
            Parameter { name: "other"; type: "QDeclarativeMimeType"; isPointer: true }
        }
        Method {
            name: "equals"
            type: "bool"
            Parameter { name: "other"; type: "QDeclarativeMimeType"; isPointer: true }
        }
        Method { name: "properties"; type: "QVariantMap" }
        Method {
            name: "assignProperties"
            Parameter { name: "other"; type: "QVariantMap" }
        }
        Method {
            name: "equalsProperties"
            type: "bool"
            Parameter { name: "other"; type: "QVariantMap" }
        }
    }
}