~mterry/+junk/u8

« back to all changes in this revision

Viewing changes to plugins/Unity/InputInfo/InputInfo.qmltypes

  • Committer: Daniel van Vugt
  • Date: 2016-03-29 03:47:39 UTC
  • mfrom: (2311 unity8)
  • mto: This revision was merged to the branch mainline in revision 2371.
  • Revision ID: daniel.van.vugt@canonical.com-20160329034739-747vgu4bv4dtt53v
Merge latest trunk

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
// This file was auto-generated by:
 
7
// 'qmlplugindump -notrelocatable Unity.InputInfo 0.1 plugins'
 
8
 
 
9
Module {
 
10
    Component {
 
11
        name: "QDeclarativeInputDeviceModel"
 
12
        prototype: "QAbstractListModel"
 
13
        exports: ["Unity.InputInfo/InputDeviceModel 0.1"]
 
14
        exportMetaObjectRevisions: [0]
 
15
        Property { name: "deviceFilter"; type: "QInputDevice::InputType" }
 
16
        Property { name: "count"; type: "int"; isReadonly: true }
 
17
        Signal {
 
18
            name: "deviceAdded"
 
19
            Parameter { name: "devicePath"; type: "string" }
 
20
        }
 
21
        Signal {
 
22
            name: "deviceRemoved"
 
23
            Parameter { name: "devicePath"; type: "string" }
 
24
        }
 
25
        Signal {
 
26
            name: "deviceFilterChanged"
 
27
            Parameter { name: "filter"; type: "QInputDevice::InputType" }
 
28
        }
 
29
        Method { name: "updateDeviceList" }
 
30
        Method {
 
31
            name: "indexOf"
 
32
            type: "int"
 
33
            Parameter { name: "devicePath"; type: "string" }
 
34
        }
 
35
        Method {
 
36
            name: "get"
 
37
            type: "QInputDevice*"
 
38
            Parameter { name: "index"; type: "int" }
 
39
        }
 
40
    }
 
41
    Component {
 
42
        name: "QInputDevice"
 
43
        prototype: "QObject"
 
44
        exports: ["Unity.InputInfo/InputInfo 0.1"]
 
45
        exportMetaObjectRevisions: [0]
 
46
        Enum {
 
47
            name: "InputType"
 
48
            values: {
 
49
                "Unknown": 0,
 
50
                "Button": 1,
 
51
                "Mouse": 2,
 
52
                "TouchPad": 4,
 
53
                "TouchScreen": 8,
 
54
                "Keyboard": 16,
 
55
                "Switch": 32
 
56
            }
 
57
        }
 
58
        Enum {
 
59
            name: "InputTypeFlags"
 
60
            values: {
 
61
                "Unknown": 0,
 
62
                "Button": 1,
 
63
                "Mouse": 2,
 
64
                "TouchPad": 4,
 
65
                "TouchScreen": 8,
 
66
                "Keyboard": 16,
 
67
                "Switch": 32
 
68
            }
 
69
        }
 
70
    }
 
71
}