struct_marshallers.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/platformsupport/linuxaccessibility/struct_marshallers.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7QSpiObjectReference::QSpiObjectReference()-
8 : path(QDBusObjectPath("/org/a11y/atspi/null"))-
9{}
never executed: end of block
0
10-
11-
12-
13-
14QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAccessibleCacheItem &item)-
15{-
16 argument.beginStructure();-
17 argument << item.path;-
18 argument << item.application;-
19 argument << item.parent;-
20 argument << item.children;-
21 argument << item.supportedInterfaces;-
22 argument << item.name;-
23 argument << item.role;-
24 argument << item.description;-
25 argument << item.state;-
26 argument.endStructure();-
27 return
never executed: return argument;
argument;
never executed: return argument;
0
28}-
29-
30const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAccessibleCacheItem &item)-
31{-
32 argument.beginStructure();-
33 argument >> item.path;-
34 argument >> item.application;-
35 argument >> item.parent;-
36 argument >> item.children;-
37 argument >> item.supportedInterfaces;-
38 argument >> item.name;-
39 argument >> item.role;-
40 argument >> item.description;-
41 argument >> item.state;-
42 argument.endStructure();-
43 return
never executed: return argument;
argument;
never executed: return argument;
0
44}-
45-
46-
47-
48-
49QDBusArgument &operator<<(QDBusArgument &argument, const QSpiObjectReference &address)-
50{-
51 argument.beginStructure();-
52 argument << address.service;-
53 argument << address.path;-
54 argument.endStructure();-
55 return
never executed: return argument;
argument;
never executed: return argument;
0
56}-
57-
58const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiObjectReference &address)-
59{-
60 argument.beginStructure();-
61 argument >> address.service;-
62 argument >> address.path;-
63 argument.endStructure();-
64 return
never executed: return argument;
argument;
never executed: return argument;
0
65}-
66-
67-
68-
69-
70QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAction &action)-
71{-
72 argument.beginStructure();-
73 argument << action.name;-
74 argument << action.description;-
75 argument << action.keyBinding;-
76 argument.endStructure();-
77 return
never executed: return argument;
argument;
never executed: return argument;
0
78}-
79-
80const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAction &action)-
81{-
82 argument.beginStructure();-
83 argument >> action.name;-
84 argument >> action.description;-
85 argument >> action.keyBinding;-
86 argument.endStructure();-
87 return
never executed: return argument;
argument;
never executed: return argument;
0
88}-
89-
90-
91QDBusArgument &operator<<(QDBusArgument &argument, const QSpiEventListener &ev)-
92{-
93 argument.beginStructure();-
94 argument << ev.listenerAddress;-
95 argument << ev.eventName;-
96 argument.endStructure();-
97 return
never executed: return argument;
argument;
never executed: return argument;
0
98}-
99-
100const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiEventListener &ev)-
101{-
102 argument.beginStructure();-
103 argument >> ev.listenerAddress;-
104 argument >> ev.eventName;-
105 argument.endStructure();-
106 return
never executed: return argument;
argument;
never executed: return argument;
0
107}-
108-
109-
110-
111-
112QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAppUpdate &update) {-
113 argument.beginStructure();-
114 argument << update.type << update.address;-
115 argument.endStructure();-
116 return
never executed: return argument;
argument;
never executed: return argument;
0
117}-
118-
119const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAppUpdate &update) {-
120 argument.beginStructure();-
121 argument >> update.type >> update.address;-
122 argument.endStructure();-
123 return
never executed: return argument;
argument;
never executed: return argument;
0
124}-
125-
126-
127-
128-
129QDBusArgument &operator<<(QDBusArgument &argument, const QSpiRelationArrayEntry &entry) {-
130 argument.beginStructure();-
131 argument << entry.first << entry.second;-
132 argument.endStructure();-
133 return
never executed: return argument;
argument;
never executed: return argument;
0
134}-
135-
136const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiRelationArrayEntry &entry) {-
137 argument.beginStructure();-
138 argument >> entry.first >> entry.second;-
139 argument.endStructure();-
140 return
never executed: return argument;
argument;
never executed: return argument;
0
141}-
142-
143-
144-
145-
146QDBusArgument &operator<<(QDBusArgument &argument, const QSpiDeviceEvent &event) {-
147 argument.beginStructure();-
148 argument << event.type-
149 << event.id-
150 << event.hardwareCode-
151 << event.modifiers-
152 << event.timestamp-
153 << event.text-
154 << event.isText;-
155 argument.endStructure();-
156 return
never executed: return argument;
argument;
never executed: return argument;
0
157}-
158-
159const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiDeviceEvent &event) {-
160 argument.beginStructure();-
161 argument >> event.type-
162 >> event.id-
163 >> event.hardwareCode-
164 >> event.modifiers-
165 >> event.timestamp-
166 >> event.text-
167 >> event.isText;-
168 argument.endStructure();-
169 return
never executed: return argument;
argument;
never executed: return argument;
0
170}-
171-
172void qSpiInitializeStructTypes()-
173{-
174 qDBusRegisterMetaType<QSpiIntList>();-
175 qDBusRegisterMetaType<QSpiUIntList>();-
176 qDBusRegisterMetaType<QSpiAccessibleCacheItem>();-
177 qDBusRegisterMetaType<QSpiAccessibleCacheArray>();-
178 qDBusRegisterMetaType<QSpiObjectReference>();-
179 qDBusRegisterMetaType<QSpiObjectReferenceArray>();-
180 qDBusRegisterMetaType<QSpiAttributeSet>();-
181 qDBusRegisterMetaType<QSpiAction>();-
182 qDBusRegisterMetaType<QSpiActionArray>();-
183 qDBusRegisterMetaType<QSpiEventListener>();-
184 qDBusRegisterMetaType<QSpiEventListenerArray>();-
185 qDBusRegisterMetaType<QSpiDeviceEvent>();-
186 qDBusRegisterMetaType<QSpiAppUpdate>();-
187 qDBusRegisterMetaType<QSpiRelationArrayEntry>();-
188 qDBusRegisterMetaType<QSpiRelationArray>();-
189}
never executed: end of block
0
190-
191-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9