Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickstatechangescript_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||||||||||||||
2 | - | |||||||||||||||||||||||||
3 | - | |||||||||||||||||||||||||
4 | class QQuickStateChangeScriptPrivate; | - | ||||||||||||||||||||||||
5 | class __attribute__((visibility("default"))) QQuickStateChangeScript : public QQuickStateOperation, public QQuickStateActionEvent | - | ||||||||||||||||||||||||
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 QQuickStateChangeScriptPrivate* d_func() { return executed 16 times by 2 tests: reinterpret_cast<QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 16 times by 2 tests: } inline const QQuickStateChangeScriptPrivate* d_func() const { returnreturn reinterpret_cast<QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickStateChangeScriptPrivate;return reinterpret_cast<const QQuickStateChangeScriptPrivate *>(qGetPtrHelper(d_ptr)); | 0-16 | ||||||||||||||||||||||||
17 | - | |||||||||||||||||||||||||
18 | - | |||||||||||||||||||||||||
19 | - | |||||||||||||||||||||||||
20 | - | |||||||||||||||||||||||||
21 | public: | - | ||||||||||||||||||||||||
22 | QQuickStateChangeScript(QObject *parent=nullptr); | - | ||||||||||||||||||||||||
23 | ~QQuickStateChangeScript(); | - | ||||||||||||||||||||||||
24 | - | |||||||||||||||||||||||||
25 | ActionList actions() override; | - | ||||||||||||||||||||||||
26 | - | |||||||||||||||||||||||||
27 | EventType type() const override; | - | ||||||||||||||||||||||||
28 | - | |||||||||||||||||||||||||
29 | QQmlScriptString script() const; | - | ||||||||||||||||||||||||
30 | void setScript(const QQmlScriptString &); | - | ||||||||||||||||||||||||
31 | - | |||||||||||||||||||||||||
32 | QString name() const; | - | ||||||||||||||||||||||||
33 | void setName(const QString &); | - | ||||||||||||||||||||||||
34 | - | |||||||||||||||||||||||||
35 | void execute() override; | - | ||||||||||||||||||||||||
36 | }; | - | ||||||||||||||||||||||||
37 | - | |||||||||||||||||||||||||
38 | - | |||||||||||||||||||||||||
39 | - | |||||||||||||||||||||||||
40 | - | |||||||||||||||||||||||||
41 | template <> struct QMetaTypeId< QQuickStateChangeScript * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const
never executed: id;return id; never executed: const int newId = qRegisterMetaType< QQuickStateChangeScript * >("QQuickStateChangeScript *", reinterpret_cast< QQuickStateChangeScript * *>(quintptr(-1))); metatype_id.storeRelease(newId); returnreturn id; never executed: newId;return newId; never executed: } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickStateChangeScript> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (constreturn newId;
never executed: id;return id; never executed: const int newId = qRegisterMetaType< QQmlListProperty<QQuickStateChangeScript> >("QQmlListProperty<QQuickStateChangeScript>", reinterpret_cast< QQmlListProperty<QQuickStateChangeScript> *>(quintptr(-1))); metatype_id.storeRelease(newId); returnreturn id; never executed: newId;return newId; never executed: } };return newId; | 0 | ||||||||||||||||||||||||
Switch to Source code | Preprocessed file |