on 1ea033d help sign in
unity8/tests/mocks/Unity/Launcher/Launcher.qmltypes
184 lines 6.2 kB history raw
1import QtQuick.tooling 1.1
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.Launcher 0.1 tests/mocks'
9Module {
10 Component {
11 name: "MockLauncherItem"
12 prototype: "unity::shell::launcher::LauncherItemInterface"
13 exports: ["Unity.Launcher/LauncherItem 0.1"]
14 isCreatable: false
15 exportMetaObjectRevisions: [0]
16 }
17 Component {
18 name: "MockLauncherModel"
19 prototype: "unity::shell::launcher::LauncherModelInterface"
20 exports: ["Unity.Launcher/LauncherModel 0.1"]
21 isCreatable: false
22 isSingleton: true
23 exportMetaObjectRevisions: [0]
24 Signal {
25 name: "quickListTriggered"
26 Parameter { name: "appId"; type: "string" }
27 Parameter { name: "index"; type: "int" }
28 }
29 Method {
30 name: "get"
31 type: "unity::shell::launcher::LauncherItemInterface*"
32 Parameter { name: "index"; type: "int" }
33 }
34 Method {
35 name: "move"
36 Parameter { name: "oldIndex"; type: "int" }
37 Parameter { name: "newIndex"; type: "int" }
38 }
39 Method {
40 name: "pin"
41 Parameter { name: "appId"; type: "string" }
42 Parameter { name: "index"; type: "int" }
43 }
44 Method {
45 name: "pin"
46 Parameter { name: "appId"; type: "string" }
47 }
48 Method {
49 name: "requestRemove"
50 Parameter { name: "appId"; type: "string" }
51 }
52 Method {
53 name: "quickListActionInvoked"
54 Parameter { name: "appId"; type: "string" }
55 Parameter { name: "actionIndex"; type: "int" }
56 }
57 Method {
58 name: "setUser"
59 Parameter { name: "username"; type: "string" }
60 }
61 Method {
62 name: "getUrlForAppId"
63 type: "string"
64 Parameter { name: "appId"; type: "string" }
65 }
66 }
67 Component {
68 name: "MockQuickListModel"
69 prototype: "unity::shell::launcher::QuickListModelInterface"
70 exports: ["Unity.Launcher/QuickListModel 0.1"]
71 isCreatable: false
72 exportMetaObjectRevisions: [0]
73 }
74 Component {
75 name: "unity::shell::launcher::LauncherItemInterface"
76 prototype: "QObject"
77 exports: ["Unity.Launcher/LauncherItemInterface 0.1"]
78 isCreatable: false
79 exportMetaObjectRevisions: [0]
80 Property { name: "appId"; type: "string"; isReadonly: true }
81 Property { name: "name"; type: "string"; isReadonly: true }
82 Property { name: "icon"; type: "string"; isReadonly: true }
83 Property { name: "pinned"; type: "bool"; isReadonly: true }
84 Property { name: "running"; type: "bool"; isReadonly: true }
85 Property { name: "recent"; type: "bool"; isReadonly: true }
86 Property { name: "progress"; type: "int"; isReadonly: true }
87 Property { name: "count"; type: "int"; isReadonly: true }
88 Property { name: "countVisible"; type: "bool"; isReadonly: true }
89 Property { name: "focused"; type: "bool"; isReadonly: true }
90 Property {
91 name: "quickList"
92 type: "unity::shell::launcher::QuickListModelInterface"
93 isReadonly: true
94 isPointer: true
95 }
96 Signal {
97 name: "nameChanged"
98 Parameter { name: "name"; type: "string" }
99 }
100 Signal {
101 name: "iconChanged"
102 Parameter { name: "icon"; type: "string" }
103 }
104 Signal {
105 name: "pinnedChanged"
106 Parameter { name: "pinned"; type: "bool" }
107 }
108 Signal {
109 name: "runningChanged"
110 Parameter { name: "running"; type: "bool" }
111 }
112 Signal {
113 name: "recentChanged"
114 Parameter { name: "running"; type: "bool" }
115 }
116 Signal {
117 name: "progressChanged"
118 Parameter { name: "progress"; type: "int" }
119 }
120 Signal {
121 name: "countChanged"
122 Parameter { name: "count"; type: "int" }
123 }
124 Signal {
125 name: "countVisibleChanged"
126 Parameter { name: "countVisible"; type: "bool" }
127 }
128 Signal {
129 name: "focusedChanged"
130 Parameter { name: "focused"; type: "bool" }
131 }
132 }
133 Component {
134 name: "unity::shell::launcher::LauncherModelInterface"
135 prototype: "QAbstractListModel"
136 exports: ["Unity.Launcher/LauncherModelInterface 0.1"]
137 isCreatable: false
138 exportMetaObjectRevisions: [0]
139 Property {
140 name: "applicationManager"
141 type: "unity::shell::application::ApplicationManagerInterface"
142 isPointer: true
143 }
144 Method {
145 name: "move"
146 Parameter { name: "oldIndex"; type: "int" }
147 Parameter { name: "newIndex"; type: "int" }
148 }
149 Method {
150 name: "get"
151 type: "unity::shell::launcher::LauncherItemInterface*"
152 Parameter { name: "index"; type: "int" }
153 }
154 Method {
155 name: "pin"
156 Parameter { name: "appId"; type: "string" }
157 Parameter { name: "index"; type: "int" }
158 }
159 Method {
160 name: "pin"
161 Parameter { name: "appId"; type: "string" }
162 }
163 Method {
164 name: "requestRemove"
165 Parameter { name: "appId"; type: "string" }
166 }
167 Method {
168 name: "quickListActionInvoked"
169 Parameter { name: "appId"; type: "string" }
170 Parameter { name: "actionIndex"; type: "int" }
171 }
172 Method {
173 name: "setUser"
174 Parameter { name: "username"; type: "string" }
175 }
176 }
177 Component {
178 name: "unity::shell::launcher::QuickListModelInterface"
179 prototype: "QAbstractListModel"
180 exports: ["Unity.Launcher/QuickListModelInterface 0.1"]
181 isCreatable: false
182 exportMetaObjectRevisions: [0]
183 }