~mterry/+junk/u8

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Notifications/Notifications.qmltypes

Merge

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.Notifications 1.0 tests/mocks'
8
 
 
9
 
Module {
10
 
    Component {
11
 
        name: "ActionModel"
12
 
        prototype: "QStringListModel"
13
 
        exports: ["Unity.Notifications/ActionModel 1.0"]
14
 
        exportMetaObjectRevisions: [0]
15
 
        Enum {
16
 
            name: "ActionsRoles"
17
 
            values: {
18
 
                "RoleActionLabel": 257,
19
 
                "RoleActionId": 258
20
 
            }
21
 
        }
22
 
        Property { name: "count"; type: "int"; isReadonly: true }
23
 
        Method {
24
 
            name: "data"
25
 
            type: "QVariant"
26
 
            Parameter { name: "row"; type: "int" }
27
 
            Parameter { name: "role"; type: "int" }
28
 
        }
29
 
        Method {
30
 
            name: "append"
31
 
            Parameter { name: "id"; type: "string" }
32
 
            Parameter { name: "label"; type: "string" }
33
 
        }
34
 
    }
35
 
    Component {
36
 
        name: "MockNotification"
37
 
        prototype: "QObject"
38
 
        exports: ["Unity.Notifications/Notification 1.0"]
39
 
        exportMetaObjectRevisions: [0]
40
 
        Enum {
41
 
            name: "Type"
42
 
            values: {
43
 
                "PlaceHolder": 0,
44
 
                "Confirmation": 1,
45
 
                "Ephemeral": 2,
46
 
                "Interactive": 3,
47
 
                "SnapDecision": 4
48
 
            }
49
 
        }
50
 
        Property { name: "summary"; type: "string" }
51
 
        Property { name: "body"; type: "string" }
52
 
        Property { name: "nid"; type: "int" }
53
 
        Property { name: "value"; type: "int" }
54
 
        Property { name: "icon"; type: "string" }
55
 
        Property { name: "secondaryIcon"; type: "string" }
56
 
        Property { name: "type"; type: "Type" }
57
 
        Property { name: "rawActions"; type: "QStringList" }
58
 
        Property { name: "actions"; type: "ActionModel"; isReadonly: true; isPointer: true }
59
 
        Property { name: "hints"; type: "QVariantMap" }
60
 
        Signal {
61
 
            name: "summaryChanged"
62
 
            Parameter { name: "summary"; type: "string" }
63
 
        }
64
 
        Signal {
65
 
            name: "bodyChanged"
66
 
            Parameter { name: "body"; type: "string" }
67
 
        }
68
 
        Signal {
69
 
            name: "idChanged"
70
 
            Parameter { name: "id"; type: "int" }
71
 
        }
72
 
        Signal {
73
 
            name: "valueChanged"
74
 
            Parameter { name: "value"; type: "int" }
75
 
        }
76
 
        Signal {
77
 
            name: "iconChanged"
78
 
            Parameter { name: "icon"; type: "string" }
79
 
        }
80
 
        Signal {
81
 
            name: "secondaryIconChanged"
82
 
            Parameter { name: "secondaryIcon"; type: "string" }
83
 
        }
84
 
        Signal {
85
 
            name: "typeChanged"
86
 
            Parameter { name: "type"; type: "Type" }
87
 
        }
88
 
        Signal {
89
 
            name: "actionsChanged"
90
 
            Parameter { name: "actions"; type: "QStringList" }
91
 
        }
92
 
        Signal {
93
 
            name: "hintsChanged"
94
 
            Parameter { name: "hints"; type: "QVariantMap" }
95
 
        }
96
 
        Signal {
97
 
            name: "dataChanged"
98
 
            Parameter { name: "nid"; type: "int" }
99
 
        }
100
 
        Signal {
101
 
            name: "completed"
102
 
            Parameter { name: "nid"; type: "int" }
103
 
        }
104
 
        Signal {
105
 
            name: "actionInvoked"
106
 
            Parameter { name: "action"; type: "string" }
107
 
        }
108
 
        Method {
109
 
            name: "invokeAction"
110
 
            Parameter { name: "action"; type: "string" }
111
 
        }
112
 
        Method { name: "close" }
113
 
    }
114
 
    Component {
115
 
        name: "MockNotificationModel"
116
 
        prototype: "QAbstractListModel"
117
 
        exports: ["Unity.Notifications/NotificationModel 1.0"]
118
 
        exportMetaObjectRevisions: [0]
119
 
        Property { name: "count"; type: "int"; isReadonly: true }
120
 
        Signal {
121
 
            name: "actionInvoked"
122
 
            Parameter { name: "action"; type: "string" }
123
 
        }
124
 
        Signal {
125
 
            name: "queueSizeChanged"
126
 
            Parameter { name: "newSize"; type: "int" }
127
 
        }
128
 
        Method {
129
 
            name: "onCompleted"
130
 
            Parameter { name: "id"; type: "int" }
131
 
        }
132
 
        Method {
133
 
            name: "append"
134
 
            Parameter { name: "n"; type: "MockNotification"; isPointer: true }
135
 
        }
136
 
        Method {
137
 
            name: "getRaw"
138
 
            type: "MockNotification*"
139
 
            Parameter { name: "notificationId"; type: "int" }
140
 
        }
141
 
        Method { name: "queued"; type: "int" }
142
 
        Method {
143
 
            name: "remove"
144
 
            Parameter { name: "id"; type: "int" }
145
 
        }
146
 
        Method { name: "removeSecond" }
147
 
    }
148
 
    Component { name: "QStringListModel"; prototype: "QAbstractListModel" }
149
 
}