Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickflipable_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | static_assert(bool(1 == 1), "Required feature " "quick_flipable" " for file " __FILE__ " not available."); | - |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | - | |
8 | - | |
9 | class QQuickFlipablePrivate; | - |
10 | class __attribute__((visibility("default"))) QQuickFlipable : public QQuickItem | - |
11 | { | - |
12 | public: | - |
13 | #pragma GCC diagnostic push | - |
14 | - | |
15 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
16 | 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: | - |
17 | #pragma GCC diagnostic ignored "-Wattributes" | - |
18 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
19 | #pragma GCC diagnostic pop | - |
20 | struct QPrivateSignal {}; | - |
21 | - | |
22 | - | |
23 | - | |
24 | - | |
25 | - | |
26 | - | |
27 | public: | - |
28 | QQuickFlipable(QQuickItem *parent=nullptr); | - |
29 | ~QQuickFlipable(); | - |
30 | - | |
31 | QQuickItem *front() const; | - |
32 | void setFront(QQuickItem *); | - |
33 | - | |
34 | QQuickItem *back(); | - |
35 | void setBack(QQuickItem *); | - |
36 | - | |
37 | enum Side { Front, Back }; | - |
38 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Side) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Side) noexcept { return "Side"; } | - |
39 | Side side() const; | - |
40 | - | |
41 | public : | - |
42 | void frontChanged(); | - |
43 | void backChanged(); | - |
44 | void sideChanged(); | - |
45 | - | |
46 | protected: | - |
47 | void updatePolish() override; | - |
48 | - | |
49 | private : | - |
50 | void retransformBack(); | - |
51 | - | |
52 | private: | - |
53 | QQuickFlipable(const QQuickFlipable &) = delete; QQuickFlipable &operator=(const QQuickFlipable &) = delete; | - |
54 | inline QQuickFlipablePrivate* d_func() { return executed 66 times by 2 tests: reinterpret_cast<QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 66 times by 2 tests: } inline const QQuickFlipablePrivate* d_func() const { returnreturn reinterpret_cast<QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 66 times by 2 tests: reinterpret_cast<const QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 66 times by 2 tests: } friend class QQuickFlipablePrivate;return reinterpret_cast<const QQuickFlipablePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 66 |
55 | }; | - |
56 | - | |
57 | - | |
58 | - | |
59 | template <> struct QMetaTypeId< QQuickFlipable * > { 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< QQuickFlipable * >("QQuickFlipable *", reinterpret_cast< QQuickFlipable * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickFlipable> > { 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<QQuickFlipable> >("QQmlListProperty<QQuickFlipable>", reinterpret_cast< QQmlListProperty<QQuickFlipable> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |