OpenCoverage

qqmlapplicationengine.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlapplicationengine.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQmlApplicationEnginePrivate;-
6class __attribute__((visibility("default"))) QQmlApplicationEngine : public QQmlEngine-
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); } 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 {};-
17public:-
18 QQmlApplicationEngine(QObject *parent = nullptr);-
19 QQmlApplicationEngine(const QUrl &url, QObject *parent = nullptr);-
20 QQmlApplicationEngine(const QString &filePath, QObject *parent = nullptr);-
21 ~QQmlApplicationEngine() override;-
22-
23-
24 QList<QObject*> rootObjects();-
25-
26 QList<QObject*> rootObjects() const;-
27-
28public :-
29 void load(const QUrl &url);-
30 void load(const QString &filePath);-
31 void loadData(const QByteArray &data, const QUrl &url = QUrl());-
32-
33public :-
34 void objectCreated(QObject *object, const QUrl &url);-
35-
36private:-
37 QQmlApplicationEngine(const QQmlApplicationEngine &) = delete; QQmlApplicationEngine &operator=(const QQmlApplicationEngine &) = delete;-
38 inline QQmlApplicationEnginePrivate* d_func() { return
executed 476 times by 7 tests: return reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlnativeconnector
  • tst_qquickshortcut
  • tst_sharedimage
reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
executed 476 times by 7 tests: return reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlnativeconnector
  • tst_qquickshortcut
  • tst_sharedimage
} inline const QQmlApplicationEnginePrivate* d_func() const { return
executed 232 times by 4 tests: return reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlimport
  • tst_qquickshortcut
  • tst_sharedimage
reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
executed 232 times by 4 tests: return reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmlimport
  • tst_qquickshortcut
  • tst_sharedimage
} friend class QQmlApplicationEnginePrivate;
232-476
39};-
40-
41-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0