OpenCoverage

qquickstategroup_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickstategroup_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3class QQuickStateGroupPrivate;-
4class __attribute__((visibility("default"))) QQuickStateGroup : public QObject, public QQmlParserStatus-
5{-
6 public:-
7#pragma GCC diagnostic push-
8 -
9#pragma GCC diagnostic ignored "-Wsuggest-override"-
10 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:-
11#pragma GCC diagnostic ignored "-Wattributes"-
12 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
13#pragma GCC diagnostic pop-
14 struct QPrivateSignal {};-
15 -
16 inline QQuickStateGroupPrivate* d_func() { return
executed 8470 times by 25 tests: return reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_quicktestmainwithsetup
  • tst_testfiltering
reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
executed 8470 times by 25 tests: return reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_quicktestmainwithsetup
  • tst_testfiltering
} inline const QQuickStateGroupPrivate* d_func() const { return
executed 394 times by 14 tests: return reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickstates
  • tst_quicktestmainwithsetup
  • tst_testfiltering
reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
executed 394 times by 14 tests: return reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickstates
  • tst_quicktestmainwithsetup
  • tst_testfiltering
} friend class QQuickStateGroupPrivate;
394-8470
17-
18 -
19 -
20 -
21-
22public:-
23 QQuickStateGroup(QObject * = nullptr);-
24 virtual ~QQuickStateGroup();-
25-
26 QString state() const;-
27 void setState(const QString &);-
28-
29 QQmlListProperty<QQuickState> statesProperty();-
30 QList<QQuickState *> states() const;-
31-
32 QQmlListProperty<QQuickTransition> transitionsProperty();-
33-
34 QQuickState *findState(const QString &name) const;-
35 void removeState(QQuickState *state);-
36-
37 void classBegin() override;-
38 void componentComplete() override;-
39public :-
40 void stateChanged(const QString &);-
41-
42private:-
43 friend class QQuickState;-
44 friend class QQuickStatePrivate;-
45 bool updateAutoState();-
46 void stateAboutToComplete();-
47};-
48-
49-
50-
51 template <> struct QMetaTypeId< QQuickStateGroup * > { 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< QQuickStateGroup * >("QQuickStateGroup *", reinterpret_cast< QQuickStateGroup * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickStateGroup> > { 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<QQuickStateGroup> >("QQmlListProperty<QQuickStateGroup>", reinterpret_cast< QQmlListProperty<QQuickStateGroup> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0