on 239fdcc help sign in
unity8/tests/mocks/Unity/Launcher/Launcher.qmltypes
187 lines 6.4 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 Method { name: "emitHint" }
67 }
68 Component {
69 name: "MockQuickListModel"
70 prototype: "unity::shell::launcher::QuickListModelInterface"
71 exports: ["Unity.Launcher/QuickListModel 0.1"]
72 isCreatable: false
73 exportMetaObjectRevisions: [0]
74 }
75 Component {
76 name: "unity::shell::launcher::LauncherItemInterface"
77 prototype: "QObject"
78 exports: ["Unity.Launcher/LauncherItemInterface 0.1"]
79 isCreatable: false
80 exportMetaObjectRevisions: [0]
81 Property { name: "appId"; type: "string"; isReadonly: true }
82 Property { name: "name"; type: "string"; isReadonly: true }
83 Property { name: "icon"; type: "string"; isReadonly: true }
84 Property { name: "pinned"; type: "bool"; isReadonly: true }
85 Property { name: "running"; type: "bool"; isReadonly: true }
86 Property { name: "recent"; type: "bool"; isReadonly: true }
87 Property { name: "progress"; type: "int"; isReadonly: true }
88 Property { name: "count"; type: "int"; isReadonly: true }
89 Property { name: "countVisible"; type: "bool"; isReadonly: true }
90 Property { name: "focused"; type: "bool"; isReadonly: true }
91 Property {
92 name: "quickList"
93 type: "unity::shell::launcher::QuickListModelInterface"
94 isReadonly: true
95 isPointer: true
96 }
97 Signal {
98 name: "nameChanged"
99 Parameter { name: "name"; type: "string" }
100 }
101 Signal {
102 name: "iconChanged"
103 Parameter { name: "icon"; type: "string" }
104 }
105 Signal {
106 name: "pinnedChanged"
107 Parameter { name: "pinned"; type: "bool" }
108 }
109 Signal {
110 name: "runningChanged"
111 Parameter { name: "running"; type: "bool" }
112 }
113 Signal {
114 name: "recentChanged"
115 Parameter { name: "running"; type: "bool" }
116 }
117 Signal {
118 name: "progressChanged"
119 Parameter { name: "progress"; type: "int" }
120 }
121 Signal {
122 name: "countChanged"
123 Parameter { name: "count"; type: "int" }
124 }
125 Signal {
126 name: "countVisibleChanged"
127 Parameter { name: "countVisible"; type: "bool" }
128 }
129 Signal {
130 name: "focusedChanged"
131 Parameter { name: "focused"; type: "bool" }
132 }
133 }
134 Component {
135 name: "unity::shell::launcher::LauncherModelInterface"
136 prototype: "QAbstractListModel"
137 exports: ["Unity.Launcher/LauncherModelInterface 0.1"]
138 isCreatable: false
139 exportMetaObjectRevisions: [0]
140 Property {
141 name: "applicationManager"
142 type: "unity::shell::application::ApplicationManagerInterface"
143 isPointer: true
144 }
145 Property { name: "onlyPinned"; type: "bool" }
146 Signal { name: "hint" }
147 Method {
148 name: "move"
149 Parameter { name: "oldIndex"; type: "int" }
150 Parameter { name: "newIndex"; type: "int" }
151 }
152 Method {
153 name: "get"
154 type: "unity::shell::launcher::LauncherItemInterface*"
155 Parameter { name: "index"; type: "int" }
156 }
157 Method {
158 name: "pin"
159 Parameter { name: "appId"; type: "string" }
160 Parameter { name: "index"; type: "int" }
161 }
162 Method {
163 name: "pin"
164 Parameter { name: "appId"; type: "string" }
165 }
166 Method {
167 name: "requestRemove"
168 Parameter { name: "appId"; type: "string" }
169 }
170 Method {
171 name: "quickListActionInvoked"
172 Parameter { name: "appId"; type: "string" }
173 Parameter { name: "actionIndex"; type: "int" }
174 }
175 Method {
176 name: "setUser"
177 Parameter { name: "username"; type: "string" }
178 }
179 }
180 Component {
181 name: "unity::shell::launcher::QuickListModelInterface"
182 prototype: "QAbstractListModel"
183 exports: ["Unity.Launcher/QuickListModelInterface 0.1"]
184 isCreatable: false
185 exportMetaObjectRevisions: [0]
186 }