OpenCoverage

qquickpropertychanges_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickpropertychanges_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQuickPropertyChangesPrivate;-
5class __attribute__((visibility("default"))) QQuickPropertyChanges : public QQuickStateOperation-
6{-
7 public:-
8#pragma GCC diagnostic push-
9 -
10#pragma GCC diagnostic ignored "-Wsuggest-override"-
11 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:-
12#pragma GCC diagnostic ignored "-Wattributes"-
13 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
14#pragma GCC diagnostic pop-
15 struct QPrivateSignal {};-
16 inline QQuickPropertyChangesPrivate* d_func() { return
executed 1402 times by 17 tests: return reinterpret_cast<QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
reinterpret_cast<QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
executed 1402 times by 17 tests: return reinterpret_cast<QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
} inline const QQuickPropertyChangesPrivate* d_func() const { return
executed 816 times by 17 tests: return reinterpret_cast<const QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
reinterpret_cast<const QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
executed 816 times by 17 tests: return reinterpret_cast<const QQuickPropertyChangesPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
} friend class QQuickPropertyChangesPrivate;
816-1402
17-
18 -
19 -
20 -
21public:-
22 QQuickPropertyChanges();-
23 ~QQuickPropertyChanges();-
24-
25 QObject *object() const;-
26 void setObject(QObject *);-
27-
28 bool restoreEntryValues() const;-
29 void setRestoreEntryValues(bool);-
30-
31 bool isExplicit() const;-
32 void setIsExplicit(bool);-
33-
34 ActionList actions() override;-
35-
36 bool containsProperty(const QString &name) const;-
37 bool containsValue(const QString &name) const;-
38 bool containsExpression(const QString &name) const;-
39 void changeValue(const QString &name, const QVariant &value);-
40 void changeExpression(const QString &name, const QString &expression);-
41 void removeProperty(const QString &name);-
42 QVariant value(const QString &name) const;-
43 QString expression(const QString &name) const;-
44-
45 void detachFromState();-
46 void attachToState();-
47-
48 QVariant property(const QString &name) const;-
49};-
50-
51class QQuickPropertyChangesParser : public QQmlCustomParser-
52{-
53public:-
54 QQuickPropertyChangesParser()-
55 : QQmlCustomParser(AcceptsAttachedProperties) {}
executed 374 times by 132 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
374
56-
57 void verifyList(const QV4::CompiledData::Unit *qmlUnit, const QV4::CompiledData::Binding *binding);-
58-
59 void verifyBindings(const QV4::CompiledData::Unit *qmlUnit, const QList<const QV4::CompiledData::Binding *> &props) override;-
60 void applyBindings(QObject *obj, QV4::CompiledData::CompilationUnit *compilationUnit, const QList<const QV4::CompiledData::Binding *> &bindings) override;-
61};-
62-
63-
64-
65-
66 template <> struct QMetaTypeId< QQuickPropertyChanges * > { 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< QQuickPropertyChanges * >("QQuickPropertyChanges *", reinterpret_cast< QQuickPropertyChanges * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPropertyChanges> > { 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<QQuickPropertyChanges> >("QQmlListProperty<QQuickPropertyChanges>", reinterpret_cast< QQmlListProperty<QQuickPropertyChanges> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0