Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickstateoperations_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | class QQuickParentChangePrivate; | - |
6 | class __attribute__((visibility("default"))) QQuickParentChange : public QQuickStateOperation, public QQuickStateActionEvent | - |
7 | { | - |
8 | public: | - |
9 | #pragma GCC diagnostic push | - |
10 | - | |
11 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
12 | 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: | - |
13 | #pragma GCC diagnostic ignored "-Wattributes" | - |
14 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
15 | #pragma GCC diagnostic pop | - |
16 | struct QPrivateSignal {}; | - |
17 | inline QQuickParentChangePrivate* d_func() { return executed 950 times by 5 tests: reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 950 times by 5 tests: } inline const QQuickParentChangePrivate* d_func() const { returnreturn reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 22 times by 2 tests: reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 22 times by 2 tests: } friend class QQuickParentChangePrivate;return reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 22-950 |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | - | |
25 | - | |
26 | - | |
27 | public: | - |
28 | QQuickParentChange(QObject *parent=nullptr); | - |
29 | ~QQuickParentChange(); | - |
30 | - | |
31 | QQuickItem *object() const; | - |
32 | void setObject(QQuickItem *); | - |
33 | - | |
34 | QQuickItem *parent() const; | - |
35 | void setParent(QQuickItem *); | - |
36 | - | |
37 | QQuickItem *originalParent() const; | - |
38 | - | |
39 | QQmlScriptString x() const; | - |
40 | void setX(QQmlScriptString x); | - |
41 | bool xIsSet() const; | - |
42 | - | |
43 | QQmlScriptString y() const; | - |
44 | void setY(QQmlScriptString y); | - |
45 | bool yIsSet() const; | - |
46 | - | |
47 | QQmlScriptString width() const; | - |
48 | void setWidth(QQmlScriptString width); | - |
49 | bool widthIsSet() const; | - |
50 | - | |
51 | QQmlScriptString height() const; | - |
52 | void setHeight(QQmlScriptString height); | - |
53 | bool heightIsSet() const; | - |
54 | - | |
55 | QQmlScriptString scale() const; | - |
56 | void setScale(QQmlScriptString scale); | - |
57 | bool scaleIsSet() const; | - |
58 | - | |
59 | QQmlScriptString rotation() const; | - |
60 | void setRotation(QQmlScriptString rotation); | - |
61 | bool rotationIsSet() const; | - |
62 | - | |
63 | ActionList actions() override; | - |
64 | - | |
65 | void saveOriginals() override; | - |
66 | - | |
67 | void execute() override; | - |
68 | bool isReversable() override; | - |
69 | void reverse() override; | - |
70 | EventType type() const override; | - |
71 | bool mayOverride(QQuickStateActionEvent*other) override; | - |
72 | void rewind() override; | - |
73 | void saveCurrentValues() override; | - |
74 | }; | - |
75 | - | |
76 | class QQuickAnchorChanges; | - |
77 | class QQuickAnchorSetPrivate; | - |
78 | class __attribute__((visibility("default"))) QQuickAnchorSet : public QObject | - |
79 | { | - |
80 | public: | - |
81 | #pragma GCC diagnostic push | - |
82 | - | |
83 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
84 | 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: | - |
85 | #pragma GCC diagnostic ignored "-Wattributes" | - |
86 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
87 | #pragma GCC diagnostic pop | - |
88 | struct QPrivateSignal {}; | - |
89 | - | |
90 | - | |
91 | - | |
92 | - | |
93 | - | |
94 | - | |
95 | - | |
96 | - | |
97 | - | |
98 | public: | - |
99 | QQuickAnchorSet(QObject *parent=nullptr); | - |
100 | virtual ~QQuickAnchorSet(); | - |
101 | - | |
102 | QQmlScriptString left() const; | - |
103 | void setLeft(const QQmlScriptString &edge); | - |
104 | void resetLeft(); | - |
105 | - | |
106 | QQmlScriptString right() const; | - |
107 | void setRight(const QQmlScriptString &edge); | - |
108 | void resetRight(); | - |
109 | - | |
110 | QQmlScriptString horizontalCenter() const; | - |
111 | void setHorizontalCenter(const QQmlScriptString &edge); | - |
112 | void resetHorizontalCenter(); | - |
113 | - | |
114 | QQmlScriptString top() const; | - |
115 | void setTop(const QQmlScriptString &edge); | - |
116 | void resetTop(); | - |
117 | - | |
118 | QQmlScriptString bottom() const; | - |
119 | void setBottom(const QQmlScriptString &edge); | - |
120 | void resetBottom(); | - |
121 | - | |
122 | QQmlScriptString verticalCenter() const; | - |
123 | void setVerticalCenter(const QQmlScriptString &edge); | - |
124 | void resetVerticalCenter(); | - |
125 | - | |
126 | QQmlScriptString baseline() const; | - |
127 | void setBaseline(const QQmlScriptString &edge); | - |
128 | void resetBaseline(); | - |
129 | - | |
130 | QQuickAnchors::Anchors usedAnchors() const; | - |
131 | - | |
132 | private: | - |
133 | friend class QQuickAnchorChanges; | - |
134 | QQuickAnchorSet(const QQuickAnchorSet &) = delete; QQuickAnchorSet &operator=(const QQuickAnchorSet &) = delete; | - |
135 | inline QQuickAnchorSetPrivate* d_func() { return executed 1024 times by 5 tests: reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 1024 times by 5 tests: } inline const QQuickAnchorSetPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 16 times by 1 test: reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 16 times by 1 test: } friend class QQuickAnchorSetPrivate;return reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 16-1024 |
136 | }; | - |
137 | - | |
138 | class QQuickAnchorChangesPrivate; | - |
139 | class __attribute__((visibility("default"))) QQuickAnchorChanges : public QQuickStateOperation, public QQuickStateActionEvent | - |
140 | { | - |
141 | public: | - |
142 | #pragma GCC diagnostic push | - |
143 | - | |
144 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
145 | 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: | - |
146 | #pragma GCC diagnostic ignored "-Wattributes" | - |
147 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
148 | #pragma GCC diagnostic pop | - |
149 | struct QPrivateSignal {}; | - |
150 | inline QQuickAnchorChangesPrivate* d_func() { return executed 350 times by 5 tests: reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 350 times by 5 tests: } inline const QQuickAnchorChangesPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 142 times by 5 tests: reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 142 times by 5 tests: } friend class QQuickAnchorChangesPrivate;return reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 142-350 |
151 | - | |
152 | - | |
153 | - | |
154 | - | |
155 | public: | - |
156 | QQuickAnchorChanges(QObject *parent=nullptr); | - |
157 | ~QQuickAnchorChanges(); | - |
158 | - | |
159 | ActionList actions() override; | - |
160 | - | |
161 | QQuickAnchorSet *anchors() const; | - |
162 | - | |
163 | QQuickItem *object() const; | - |
164 | void setObject(QQuickItem *); | - |
165 | - | |
166 | void execute() override; | - |
167 | bool isReversable() override; | - |
168 | void reverse() override; | - |
169 | EventType type() const override; | - |
170 | bool mayOverride(QQuickStateActionEvent*other) override; | - |
171 | bool changesBindings() override; | - |
172 | void saveOriginals() override; | - |
173 | bool needsCopy() override { return executed 4 times by 1 test: true;return true; Executed by:
executed 4 times by 1 test: }return true; Executed by:
| 4 |
174 | void copyOriginals(QQuickStateActionEvent*) override; | - |
175 | void clearBindings() override; | - |
176 | void rewind() override; | - |
177 | void saveCurrentValues() override; | - |
178 | - | |
179 | QList<QQuickStateAction> additionalActions() const; | - |
180 | void saveTargetValues() override; | - |
181 | }; | - |
182 | - | |
183 | - | |
184 | - | |
185 | template <> struct QMetaTypeId< QQuickParentChange * > { 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< QQuickParentChange * >("QQuickParentChange *", reinterpret_cast< QQuickParentChange * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickParentChange> > { 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<QQuickParentChange> >("QQmlListProperty<QQuickParentChange>", reinterpret_cast< QQmlListProperty<QQuickParentChange> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
186 | template <> struct QMetaTypeId< QQuickAnchorSet * > { 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< QQuickAnchorSet * >("QQuickAnchorSet *", reinterpret_cast< QQuickAnchorSet * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickAnchorSet> > { 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<QQuickAnchorSet> >("QQmlListProperty<QQuickAnchorSet>", reinterpret_cast< QQmlListProperty<QQuickAnchorSet> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
187 | template <> struct QMetaTypeId< QQuickAnchorChanges * > { 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< QQuickAnchorChanges * >("QQuickAnchorChanges *", reinterpret_cast< QQuickAnchorChanges * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickAnchorChanges> > { 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<QQuickAnchorChanges> >("QQmlListProperty<QQuickAnchorChanges>", reinterpret_cast< QQmlListProperty<QQuickAnchorChanges> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |