OpenCoverage

qquickpackage_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qquickpackage_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQuickPackagePrivate;-
5class QQuickPackageAttached;-
6class __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: return reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
executed 22854 times by 6 tests: return reinterpret_cast<QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
} inline const QQuickPackagePrivate* d_func() const { return
never executed: return reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
never executed: return reinterpret_cast<const QQuickPackagePrivate *>(qGetPtrHelper(d_ptr));
} friend class QQuickPackagePrivate;
0-22854
18-
19 -
20 -
21-
22public:-
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-
34class QQuickPackageAttached : public QObject-
35{-
36public:-
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-
46public:-
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;-
54private:-
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 codePreprocessed file

Generated by Squish Coco 4.2.0