OpenCoverage

qquickfontloader_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontloader_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQuickFontLoaderPrivate;-
6class __attribute__((visibility("default"))) QQuickFontLoader : 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 QQuickFontLoaderPrivate* d_func() { return
executed 70 times by 3 tests: return reinterpret_cast<QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickfontloader
  • tst_qquickfontloader_static
reinterpret_cast<QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
executed 70 times by 3 tests: return reinterpret_cast<QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickfontloader
  • tst_qquickfontloader_static
} inline const QQuickFontLoaderPrivate* d_func() const { return
executed 860 times by 3 tests: return reinterpret_cast<const QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickfontloader
  • tst_qquickfontloader_static
reinterpret_cast<const QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
executed 860 times by 3 tests: return reinterpret_cast<const QQuickFontLoaderPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qquickfontloader
  • tst_qquickfontloader_static
} friend class QQuickFontLoaderPrivate;
70-860
18-
19 -
20 -
21 -
22-
23public:-
24 enum Status { Null = 0, Ready, Loading, Error };-
25 friend constexpr const QMetaObject *qt_getEnumMetaObject(Status) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Status) noexcept { return "Status"; }-
26-
27 QQuickFontLoader(QObject *parent = nullptr);-
28 ~QQuickFontLoader();-
29-
30 QUrl source() const;-
31 void setSource(const QUrl &url);-
32-
33 QString name() const;-
34 void setName(const QString &name);-
35-
36 Status status() const;-
37-
38private :-
39 void updateFontInfo(const QString&, QQuickFontLoader::Status);-
40-
41public :-
42 void sourceChanged();-
43 void nameChanged();-
44 void statusChanged();-
45};-
46-
47-
48-
49 template <> struct QMetaTypeId< QQuickFontLoader * > { 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< QQuickFontLoader * >("QQuickFontLoader *", reinterpret_cast< QQuickFontLoader * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickFontLoader> > { 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<QQuickFontLoader> >("QQmlListProperty<QQuickFontLoader>", reinterpret_cast< QQmlListProperty<QQuickFontLoader> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0