OpenCoverage

qquickstateoperations_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickstateoperations_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQuickParentChangePrivate;-
6class __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: return reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
executed 950 times by 5 tests: return reinterpret_cast<QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
} inline const QQuickParentChangePrivate* d_func() const { return
executed 22 times by 2 tests: return reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickanimations
  • tst_qquickstates
reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
executed 22 times by 2 tests: return reinterpret_cast<const QQuickParentChangePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickanimations
  • tst_qquickstates
} friend class QQuickParentChangePrivate;
22-950
18-
19 -
20 -
21 -
22 -
23 -
24 -
25 -
26 -
27public:-
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-
76class QQuickAnchorChanges;-
77class QQuickAnchorSetPrivate;-
78class __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-
98public:-
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-
132private:-
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: return reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
executed 1024 times by 5 tests: return reinterpret_cast<QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
} inline const QQuickAnchorSetPrivate* d_func() const { return
executed 16 times by 1 test: return reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickstates
reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
executed 16 times by 1 test: return reinterpret_cast<const QQuickAnchorSetPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickstates
} friend class QQuickAnchorSetPrivate;
16-1024
136};-
137-
138class QQuickAnchorChangesPrivate;-
139class __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: return reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
executed 350 times by 5 tests: return reinterpret_cast<QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
} inline const QQuickAnchorChangesPrivate* d_func() const { return
executed 142 times by 5 tests: return reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
executed 142 times by 5 tests: return reinterpret_cast<const QQuickAnchorChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
} friend class QQuickAnchorChangesPrivate;
142-350
151-
152 -
153 -
154-
155public:-
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: return true;
Executed by:
  • tst_qquickanimations
true;
executed 4 times by 1 test: return true;
Executed by:
  • tst_qquickanimations
}
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 codePreprocessed file

Generated by Squish Coco 4.2.0