| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickstategroup_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | class QQuickStateGroupPrivate; | - |
| 4 | class __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: reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 8470 times by 25 tests: } inline const QQuickStateGroupPrivate* d_func() const { returnreturn reinterpret_cast<QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 394 times by 14 tests: reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 394 times by 14 tests: } friend class QQuickStateGroupPrivate;return reinterpret_cast<const QQuickStateGroupPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 394-8470 |
| 17 | - | |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | public: | - |
| 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; | - |
| 39 | public : | - |
| 40 | void stateChanged(const QString &); | - |
| 41 | - | |
| 42 | private: | - |
| 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 code | Preprocessed file |