Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickpositioners_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | static_assert(bool(1 == 1), "Required feature " "quick_positioners" " for file " __FILE__ " not available."); | - |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | - | |
8 | - | |
9 | - | |
10 | - | |
11 | class QQuickBasePositionerPrivate; | - |
12 | - | |
13 | class QQuickPositionerAttached : public QObject | - |
14 | { | - |
15 | public: | - |
16 | #pragma GCC diagnostic push | - |
17 | - | |
18 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
19 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
20 | #pragma GCC diagnostic ignored "-Wattributes" | - |
21 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
22 | #pragma GCC diagnostic pop | - |
23 | struct QPrivateSignal {}; | - |
24 | - | |
25 | public: | - |
26 | QQuickPositionerAttached(QObject *parent); | - |
27 | - | |
28 | - | |
29 | - | |
30 | - | |
31 | - | |
32 | int index() const { return executed 36 times by 1 test: m_index;return m_index; Executed by:
executed 36 times by 1 test: }return m_index; Executed by:
| 36 |
33 | void setIndex(int index); | - |
34 | - | |
35 | bool isFirstItem() const { return executed 32 times by 1 test: m_isFirstItem;return m_isFirstItem; Executed by:
executed 32 times by 1 test: }return m_isFirstItem; Executed by:
| 32 |
36 | void setIsFirstItem(bool isFirstItem); | - |
37 | - | |
38 | bool isLastItem() const { return executed 62 times by 1 test: m_isLastItem;return m_isLastItem; Executed by:
executed 62 times by 1 test: }return m_isLastItem; Executed by:
| 62 |
39 | void setIsLastItem(bool isLastItem); | - |
40 | - | |
41 | public : | - |
42 | void indexChanged(); | - |
43 | void isFirstItemChanged(); | - |
44 | void isLastItemChanged(); | - |
45 | - | |
46 | private: | - |
47 | int m_index; | - |
48 | bool m_isFirstItem; | - |
49 | bool m_isLastItem; | - |
50 | }; | - |
51 | - | |
52 | class __attribute__((visibility("default"))) QQuickBasePositioner : public QQuickImplicitSizeItem | - |
53 | { | - |
54 | public: | - |
55 | #pragma GCC diagnostic push | - |
56 | - | |
57 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
58 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
59 | #pragma GCC diagnostic ignored "-Wattributes" | - |
60 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
61 | #pragma GCC diagnostic pop | - |
62 | struct QPrivateSignal {}; | - |
63 | - | |
64 | - | |
65 | - | |
66 | - | |
67 | - | |
68 | - | |
69 | - | |
70 | - | |
71 | - | |
72 | - | |
73 | - | |
74 | public: | - |
75 | enum PositionerType { None = 0x0, Horizontal = 0x1, Vertical = 0x2, Both = 0x3 }; | - |
76 | - | |
77 | QQuickBasePositioner(PositionerType, QQuickItem *parent); | - |
78 | ~QQuickBasePositioner(); | - |
79 | - | |
80 | qreal spacing() const; | - |
81 | void setSpacing(qreal); | - |
82 | - | |
83 | QQuickTransition *populate() const; | - |
84 | void setPopulate(QQuickTransition *); | - |
85 | - | |
86 | QQuickTransition *move() const; | - |
87 | void setMove(QQuickTransition *); | - |
88 | - | |
89 | QQuickTransition *add() const; | - |
90 | void setAdd(QQuickTransition *); | - |
91 | - | |
92 | static QQuickPositionerAttached *qmlAttachedProperties(QObject *obj); | - |
93 | - | |
94 | void updateAttachedProperties(QQuickPositionerAttached *specificProperty = nullptr, QQuickItem *specificPropertyOwner = nullptr) const; | - |
95 | - | |
96 | qreal padding() const; | - |
97 | void setPadding(qreal padding); | - |
98 | void resetPadding(); | - |
99 | - | |
100 | qreal topPadding() const; | - |
101 | void setTopPadding(qreal padding); | - |
102 | void resetTopPadding(); | - |
103 | - | |
104 | qreal leftPadding() const; | - |
105 | void setLeftPadding(qreal padding); | - |
106 | void resetLeftPadding(); | - |
107 | - | |
108 | qreal rightPadding() const; | - |
109 | void setRightPadding(qreal padding); | - |
110 | void resetRightPadding(); | - |
111 | - | |
112 | qreal bottomPadding() const; | - |
113 | void setBottomPadding(qreal padding); | - |
114 | void resetBottomPadding(); | - |
115 | - | |
116 | void forceLayout(); | - |
117 | - | |
118 | protected: | - |
119 | QQuickBasePositioner(QQuickBasePositionerPrivate &dd, PositionerType at, QQuickItem *parent); | - |
120 | void componentComplete() override; | - |
121 | void itemChange(ItemChange, const ItemChangeData &) override; | - |
122 | - | |
123 | void updatePolish() override; | - |
124 | - | |
125 | public : | - |
126 | void spacingChanged(); | - |
127 | void populateChanged(); | - |
128 | void moveChanged(); | - |
129 | void addChanged(); | - |
130 | void paddingChanged(); | - |
131 | void topPaddingChanged(); | - |
132 | void leftPaddingChanged(); | - |
133 | void rightPaddingChanged(); | - |
134 | void bottomPaddingChanged(); | - |
135 | void positioningComplete(); | - |
136 | - | |
137 | protected : | - |
138 | void prePositioning(); | - |
139 | - | |
140 | protected: | - |
141 | virtual void doPositioning(QSizeF *contentSize)=0; | - |
142 | virtual void reportConflictingAnchors()=0; | - |
143 | - | |
144 | class PositionedItem | - |
145 | { | - |
146 | public : | - |
147 | PositionedItem(QQuickItem *i); | - |
148 | ~PositionedItem(); | - |
149 | bool operator==(const PositionedItem &other) const { return executed 203823 times by 10 tests: other.item == item;return other.item == item; Executed by:
executed 203823 times by 10 tests: }return other.item == item; Executed by:
| 203823 |
150 | - | |
151 | qreal itemX() const; | - |
152 | qreal itemY() const; | - |
153 | - | |
154 | void moveTo(const QPointF &pos); | - |
155 | - | |
156 | void transitionNextReposition(QQuickItemViewTransitioner *transitioner, QQuickItemViewTransitioner::TransitionType type, bool asTarget); | - |
157 | bool prepareTransition(QQuickItemViewTransitioner *transitioner, const QRectF &viewBounds); | - |
158 | void startTransition(QQuickItemViewTransitioner *transitioner); | - |
159 | - | |
160 | void updatePadding(qreal lp, qreal tp, qreal rp, qreal bp); | - |
161 | - | |
162 | QQuickItem *item; | - |
163 | QQuickItemViewTransitionableItem *transitionableItem; | - |
164 | int index; | - |
165 | bool isNew; | - |
166 | bool isVisible; | - |
167 | - | |
168 | qreal topPadding; | - |
169 | qreal leftPadding; | - |
170 | qreal rightPadding; | - |
171 | qreal bottomPadding; | - |
172 | }; | - |
173 | - | |
174 | QPODVector<PositionedItem,8> positionedItems; | - |
175 | QPODVector<PositionedItem,8> unpositionedItems; | - |
176 | - | |
177 | void positionItem(qreal x, qreal y, PositionedItem *target); | - |
178 | void positionItemX(qreal, PositionedItem *target); | - |
179 | void positionItemY(qreal, PositionedItem *target); | - |
180 | - | |
181 | void removePositionedItem(QPODVector<PositionedItem,8> *items, int index); | - |
182 | void clearPositionedItems(QPODVector<PositionedItem,8> *items); | - |
183 | - | |
184 | private: | - |
185 | QQuickBasePositioner(const QQuickBasePositioner &) = delete; QQuickBasePositioner &operator=(const QQuickBasePositioner &) = delete; | - |
186 | inline QQuickBasePositionerPrivate* d_func() { return executed 205579 times by 23 tests: reinterpret_cast<QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 205579 times by 23 tests: } inline const QQuickBasePositionerPrivate* d_func() const { returnreturn reinterpret_cast<QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 967968 times by 23 tests: reinterpret_cast<const QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 967968 times by 23 tests: } friend class QQuickBasePositionerPrivate;return reinterpret_cast<const QQuickBasePositionerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 205579-967968 |
187 | }; | - |
188 | - | |
189 | class __attribute__((visibility("default"))) QQuickColumn : public QQuickBasePositioner | - |
190 | { | - |
191 | public: | - |
192 | #pragma GCC diagnostic push | - |
193 | - | |
194 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
195 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
196 | #pragma GCC diagnostic ignored "-Wattributes" | - |
197 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
198 | #pragma GCC diagnostic pop | - |
199 | struct QPrivateSignal {}; | - |
200 | public: | - |
201 | QQuickColumn(QQuickItem *parent=nullptr); | - |
202 | - | |
203 | protected: | - |
204 | void doPositioning(QSizeF *contentSize) override; | - |
205 | void reportConflictingAnchors() override; | - |
206 | private: | - |
207 | QQuickColumn(const QQuickColumn &) = delete; QQuickColumn &operator=(const QQuickColumn &) = delete; | - |
208 | }; | - |
209 | - | |
210 | class QQuickRowPrivate; | - |
211 | class __attribute__((visibility("default"))) QQuickRow: public QQuickBasePositioner | - |
212 | { | - |
213 | public: | - |
214 | #pragma GCC diagnostic push | - |
215 | - | |
216 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
217 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
218 | #pragma GCC diagnostic ignored "-Wattributes" | - |
219 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
220 | #pragma GCC diagnostic pop | - |
221 | struct QPrivateSignal {}; | - |
222 | - | |
223 | - | |
224 | public: | - |
225 | QQuickRow(QQuickItem *parent=nullptr); | - |
226 | - | |
227 | Qt::LayoutDirection layoutDirection() const; | - |
228 | void setLayoutDirection (Qt::LayoutDirection); | - |
229 | Qt::LayoutDirection effectiveLayoutDirection() const; | - |
230 | - | |
231 | public : | - |
232 | void layoutDirectionChanged(); | - |
233 | void effectiveLayoutDirectionChanged(); | - |
234 | - | |
235 | protected: | - |
236 | void doPositioning(QSizeF *contentSize) override; | - |
237 | void reportConflictingAnchors() override; | - |
238 | private: | - |
239 | QQuickRow(const QQuickRow &) = delete; QQuickRow &operator=(const QQuickRow &) = delete; | - |
240 | inline QQuickRowPrivate* d_func() { return never executed: reinterpret_cast<QQuickRowPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickRowPrivate *>(qGetPtrHelper(d_ptr)); never executed: } inline const QQuickRowPrivate* d_func() const { returnreturn reinterpret_cast<QQuickRowPrivate *>(qGetPtrHelper(d_ptr)); never executed: reinterpret_cast<const QQuickRowPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickRowPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickRowPrivate;return reinterpret_cast<const QQuickRowPrivate *>(qGetPtrHelper(d_ptr)); | 0 |
241 | }; | - |
242 | - | |
243 | class QQuickGridPrivate; | - |
244 | class __attribute__((visibility("default"))) QQuickGrid : public QQuickBasePositioner | - |
245 | { | - |
246 | public: | - |
247 | #pragma GCC diagnostic push | - |
248 | - | |
249 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
250 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
251 | #pragma GCC diagnostic ignored "-Wattributes" | - |
252 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
253 | #pragma GCC diagnostic pop | - |
254 | struct QPrivateSignal {}; | - |
255 | - | |
256 | - | |
257 | - | |
258 | - | |
259 | - | |
260 | - | |
261 | - | |
262 | - | |
263 | - | |
264 | - | |
265 | - | |
266 | public: | - |
267 | QQuickGrid(QQuickItem *parent=nullptr); | - |
268 | - | |
269 | int rows() const { return executed 12 times by 2 tests: m_rows;return m_rows; Executed by:
executed 12 times by 2 tests: }return m_rows; Executed by:
| 12 |
270 | void setRows(const int rows); | - |
271 | - | |
272 | int columns() const { return executed 12 times by 2 tests: m_columns;return m_columns; Executed by:
executed 12 times by 2 tests: }return m_columns; Executed by:
| 12 |
273 | void setColumns(const int columns); | - |
274 | - | |
275 | qreal rowSpacing() const { return executed 4 times by 1 test: m_rowSpacing;return m_rowSpacing; Executed by:
executed 4 times by 1 test: }return m_rowSpacing; Executed by:
| 4 |
276 | void setRowSpacing(qreal); | - |
277 | void resetRowSpacing() { m_useRowSpacing = false; } never executed: end of block | 0 |
278 | - | |
279 | qreal columnSpacing() const { return executed 4 times by 1 test: m_columnSpacing;return m_columnSpacing; Executed by:
executed 4 times by 1 test: }return m_columnSpacing; Executed by:
| 4 |
280 | void setColumnSpacing(qreal); | - |
281 | void resetColumnSpacing() { m_useColumnSpacing = false; } never executed: end of block | 0 |
282 | - | |
283 | enum Flow { LeftToRight, TopToBottom }; | - |
284 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Flow) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Flow) noexcept { return "Flow"; } | - |
285 | Flow flow() const; | - |
286 | void setFlow(Flow); | - |
287 | - | |
288 | Qt::LayoutDirection layoutDirection() const; | - |
289 | void setLayoutDirection (Qt::LayoutDirection); | - |
290 | Qt::LayoutDirection effectiveLayoutDirection() const; | - |
291 | - | |
292 | enum HAlignment { AlignLeft = Qt::AlignLeft, | - |
293 | AlignRight = Qt::AlignRight, | - |
294 | AlignHCenter = Qt::AlignHCenter}; | - |
295 | friend constexpr const QMetaObject *qt_getEnumMetaObject(HAlignment) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(HAlignment) noexcept { return "HAlignment"; } | - |
296 | enum VAlignment { AlignTop = Qt::AlignTop, | - |
297 | AlignBottom = Qt::AlignBottom, | - |
298 | AlignVCenter = Qt::AlignVCenter }; | - |
299 | friend constexpr const QMetaObject *qt_getEnumMetaObject(VAlignment) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(VAlignment) noexcept { return "VAlignment"; } | - |
300 | - | |
301 | HAlignment hItemAlign() const; | - |
302 | void setHItemAlign(HAlignment align); | - |
303 | HAlignment effectiveHAlign() const; | - |
304 | - | |
305 | VAlignment vItemAlign() const; | - |
306 | void setVItemAlign(VAlignment align); | - |
307 | - | |
308 | public : | - |
309 | void rowsChanged(); | - |
310 | void columnsChanged(); | - |
311 | void flowChanged(); | - |
312 | void layoutDirectionChanged(); | - |
313 | void effectiveLayoutDirectionChanged(); | - |
314 | void rowSpacingChanged(); | - |
315 | void columnSpacingChanged(); | - |
316 | void horizontalAlignmentChanged(HAlignment alignment); | - |
317 | void effectiveHorizontalAlignmentChanged(HAlignment alignment); | - |
318 | void verticalAlignmentChanged(VAlignment alignment); | - |
319 | - | |
320 | protected: | - |
321 | void doPositioning(QSizeF *contentSize) override; | - |
322 | void reportConflictingAnchors() override; | - |
323 | - | |
324 | private: | - |
325 | int m_rows; | - |
326 | int m_columns; | - |
327 | qreal m_rowSpacing; | - |
328 | qreal m_columnSpacing; | - |
329 | bool m_useRowSpacing; | - |
330 | bool m_useColumnSpacing; | - |
331 | Flow m_flow; | - |
332 | HAlignment m_hItemAlign; | - |
333 | VAlignment m_vItemAlign; | - |
334 | QQuickGrid(const QQuickGrid &) = delete; QQuickGrid &operator=(const QQuickGrid &) = delete; | - |
335 | inline QQuickGridPrivate* d_func() { return never executed: reinterpret_cast<QQuickGridPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickGridPrivate *>(qGetPtrHelper(d_ptr)); never executed: } inline const QQuickGridPrivate* d_func() const { returnreturn reinterpret_cast<QQuickGridPrivate *>(qGetPtrHelper(d_ptr)); never executed: reinterpret_cast<const QQuickGridPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickGridPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickGridPrivate;return reinterpret_cast<const QQuickGridPrivate *>(qGetPtrHelper(d_ptr)); | 0 |
336 | }; | - |
337 | - | |
338 | class QQuickFlowPrivate; | - |
339 | class __attribute__((visibility("default"))) QQuickFlow: public QQuickBasePositioner | - |
340 | { | - |
341 | public: | - |
342 | #pragma GCC diagnostic push | - |
343 | - | |
344 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
345 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
346 | #pragma GCC diagnostic ignored "-Wattributes" | - |
347 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
348 | #pragma GCC diagnostic pop | - |
349 | struct QPrivateSignal {}; | - |
350 | - | |
351 | - | |
352 | - | |
353 | public: | - |
354 | QQuickFlow(QQuickItem *parent=nullptr); | - |
355 | - | |
356 | enum Flow { LeftToRight, TopToBottom }; | - |
357 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Flow) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Flow) noexcept { return "Flow"; } | - |
358 | Flow flow() const; | - |
359 | void setFlow(Flow); | - |
360 | - | |
361 | Qt::LayoutDirection layoutDirection() const; | - |
362 | void setLayoutDirection (Qt::LayoutDirection); | - |
363 | Qt::LayoutDirection effectiveLayoutDirection() const; | - |
364 | - | |
365 | public : | - |
366 | void flowChanged(); | - |
367 | void layoutDirectionChanged(); | - |
368 | void effectiveLayoutDirectionChanged(); | - |
369 | - | |
370 | protected: | - |
371 | void doPositioning(QSizeF *contentSize) override; | - |
372 | void reportConflictingAnchors() override; | - |
373 | protected: | - |
374 | QQuickFlow(QQuickFlowPrivate &dd, QQuickItem *parent); | - |
375 | private: | - |
376 | QQuickFlow(const QQuickFlow &) = delete; QQuickFlow &operator=(const QQuickFlow &) = delete; | - |
377 | inline QQuickFlowPrivate* d_func() { return executed 1580 times by 3 tests: reinterpret_cast<QQuickFlowPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickFlowPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 1580 times by 3 tests: } inline const QQuickFlowPrivate* d_func() const { returnreturn reinterpret_cast<QQuickFlowPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 12 times by 1 test: reinterpret_cast<const QQuickFlowPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickFlowPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 12 times by 1 test: } friend class QQuickFlowPrivate;return reinterpret_cast<const QQuickFlowPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 12-1580 |
378 | }; | - |
379 | - | |
380 | - | |
381 | - | |
382 | - | |
383 | template <> struct QMetaTypeId< QQuickColumn * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickColumn * >("QQuickColumn *", reinterpret_cast< QQuickColumn * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickColumn> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickColumn> >("QQmlListProperty<QQuickColumn>", reinterpret_cast< QQmlListProperty<QQuickColumn> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
384 | template <> struct QMetaTypeId< QQuickRow * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickRow * >("QQuickRow *", reinterpret_cast< QQuickRow * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickRow> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickRow> >("QQmlListProperty<QQuickRow>", reinterpret_cast< QQmlListProperty<QQuickRow> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
385 | template <> struct QMetaTypeId< QQuickGrid * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickGrid * >("QQuickGrid *", reinterpret_cast< QQuickGrid * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickGrid> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickGrid> >("QQmlListProperty<QQuickGrid>", reinterpret_cast< QQmlListProperty<QQuickGrid> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
386 | template <> struct QMetaTypeId< QQuickFlow * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickFlow * >("QQuickFlow *", reinterpret_cast< QQuickFlow * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickFlow> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickFlow> >("QQmlListProperty<QQuickFlow>", reinterpret_cast< QQmlListProperty<QQuickFlow> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
387 | - | |
388 | template <> struct QMetaTypeId< QQuickBasePositioner * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickBasePositioner * >("QQuickBasePositioner *", reinterpret_cast< QQuickBasePositioner * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickBasePositioner> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickBasePositioner> >("QQmlListProperty<QQuickBasePositioner>", reinterpret_cast< QQmlListProperty<QQuickBasePositioner> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
389 | template <> class QQmlTypeInfo<QQuickBasePositioner > { public: enum { hasAttachedProperties = (((QML_HAS_ATTACHED_PROPERTIES) & QML_HAS_ATTACHED_PROPERTIES) == QML_HAS_ATTACHED_PROPERTIES) }; }; | - |
Switch to Source code | Preprocessed file |