~carlos-mazieri/ubuntu-filemanager-app/model-using-qfilesystemwatcher

« back to all changes in this revision

Viewing changes to test_folderlistmodel/regression/mimetypes/src/imports/mimetypes/plugins.qmltypes

  • Committer: carlos.mazieri at gmail
  • Date: 2013-05-25 17:21:13 UTC
  • Revision ID: carlos.mazieri@gmail.com-20130525172113-s8e1ajb7c4egpjw5
added QMimeType to try QIcon::fromTheme() to get icons.

added a private Clipboard handling to prevent Qcliboard not working on Nemo emulator

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick.tooling 1.1
 
2
 
 
3
// This file describes the plugin-supplied types contained in the library.
 
4
// It is used for QML tooling purposes only.
 
5
 
 
6
Module {
 
7
    Component {
 
8
        name: "QDeclarativeMimeDatabase"
 
9
        prototype: "QObject"
 
10
        exports: ["MimeDatabase 1.0"]
 
11
        Property { name: "mimeTypeNames"; type: "QVariantList"; isReadonly: true }
 
12
        Method {
 
13
            name: "mimeTypeForName"
 
14
            type: "QDeclarativeMimeType*"
 
15
            Parameter { name: "nameOrAlias"; type: "string" }
 
16
        }
 
17
        Method {
 
18
            name: "mimeTypeForFileName"
 
19
            type: "QDeclarativeMimeType*"
 
20
            Parameter { name: "fileName"; type: "string" }
 
21
        }
 
22
        Method {
 
23
            name: "mimeTypeForFile"
 
24
            type: "QDeclarativeMimeType*"
 
25
            Parameter { name: "fileName"; type: "string" }
 
26
        }
 
27
    }
 
28
    Component {
 
29
        name: "QDeclarativeMimeType"
 
30
        prototype: "QObject"
 
31
        exports: ["MimeType 1.0"]
 
32
        Property { name: "name"; type: "string" }
 
33
        Property { name: "genericIconName"; type: "string" }
 
34
        Property { name: "iconName"; type: "string" }
 
35
        Property { name: "globPatterns"; type: "QVariantList" }
 
36
        Property { name: "suffixes"; type: "QVariantList"; isReadonly: true }
 
37
        Property { name: "preferredSuffix"; type: "string"; isReadonly: true }
 
38
        Property { name: "isValid"; type: "bool"; isReadonly: true }
 
39
        Method {
 
40
            name: "assign"
 
41
            Parameter { name: "other"; type: "QDeclarativeMimeType"; isPointer: true }
 
42
        }
 
43
        Method {
 
44
            name: "equals"
 
45
            type: "bool"
 
46
            Parameter { name: "other"; type: "QDeclarativeMimeType"; isPointer: true }
 
47
        }
 
48
        Method { name: "properties"; type: "QVariantMap" }
 
49
        Method {
 
50
            name: "assignProperties"
 
51
            Parameter { name: "other"; type: "QVariantMap" }
 
52
        }
 
53
        Method {
 
54
            name: "equalsProperties"
 
55
            type: "bool"
 
56
            Parameter { name: "other"; type: "QVariantMap" }
 
57
        }
 
58
    }
 
59
}