| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qquickpackage_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickPackagePrivate; | - |
| 5 | class QQuickPackageAttached; | - |
| 6 | class __attribute__((visibility("default"))) QQuickPackage : public QObject | - |
| 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 QQuickPackagePrivate* d_func() { return executed 22854 times by 6 tests: reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 22854 times by 6 tests: } inline const QQuickPackagePrivate* d_func() const { returnreturn reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickPackagePrivate;return reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr)); | 0-22854 |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | public: | - |
| 23 | QQuickPackage(QObject *parent=nullptr); | - |
| 24 | virtual ~QQuickPackage(); | - |
| 25 | - | |
| 26 | QQmlListProperty<QObject> data(); | - |
| 27 | - | |
| 28 | QObject *part(const QString & = QString()); | - |
| 29 | bool hasPart(const QString &); | - |
| 30 | - | |
| 31 | static QQuickPackageAttached *qmlAttachedProperties(QObject *); | - |
| 32 | }; | - |
| 33 | - | |
| 34 | class QQuickPackageAttached : public QObject | - |
| 35 | { | - |
| 36 | public: | - |
| 37 | #pragma GCC diagnostic push | - |
| 38 | - | |
| 39 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 40 | 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: | - |
| 41 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 42 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 43 | #pragma GCC diagnostic pop | - |
| 44 | struct QPrivateSignal {}; | - |
| 45 | - | |
| 46 | public: | - |
| 47 | QQuickPackageAttached(QObject *parent); | - |
| 48 | virtual ~QQuickPackageAttached(); | - |
| 49 | - | |
| 50 | QString name() const; | - |
| 51 | void setName(const QString &n); | - |
| 52 | - | |
| 53 | static QHash<QObject *, QQuickPackageAttached *> attached; | - |
| 54 | private: | - |
| 55 | QString _name; | - |
| 56 | }; | - |
| 57 | - | |
| 58 | - | |
| 59 | - | |
| 60 | template <> struct QMetaTypeId< QQuickPackage * > { 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< QQuickPackage * >("QQuickPackage *", reinterpret_cast< QQuickPackage * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPackage> > { 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<QQuickPackage> >("QQmlListProperty<QQuickPackage>", reinterpret_cast< QQmlListProperty<QQuickPackage> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| 61 | template <> class QQmlTypeInfo<QQuickPackage > { public: enum { hasAttachedProperties = (((QML_HAS_ATTACHED_PROPERTIES) & QML_HAS_ATTACHED_PROPERTIES) == QML_HAS_ATTACHED_PROPERTIES) }; }; | - |
| Switch to Source code | Preprocessed file |