Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlapplicationengine.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | class QQmlApplicationEnginePrivate; | - |
6 | class __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 {}; | - |
17 | public: | - |
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 | - | |
28 | public : | - |
29 | void load(const QUrl &url); | - |
30 | void load(const QString &filePath); | - |
31 | void loadData(const QByteArray &data, const QUrl &url = QUrl()); | - |
32 | - | |
33 | public : | - |
34 | void objectCreated(QObject *object, const QUrl &url); | - |
35 | - | |
36 | private: | - |
37 | QQmlApplicationEngine(const QQmlApplicationEngine &) = delete; QQmlApplicationEngine &operator=(const QQmlApplicationEngine &) = delete; | - |
38 | inline QQmlApplicationEnginePrivate* d_func() { return executed 476 times by 7 tests: reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 476 times by 7 tests: } inline const QQmlApplicationEnginePrivate* d_func() const { returnreturn reinterpret_cast<QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 232 times by 4 tests: reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 232 times by 4 tests: } friend class QQmlApplicationEnginePrivate;return reinterpret_cast<const QQmlApplicationEnginePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 232-476 |
39 | }; | - |
40 | - | |
41 | - | |
Switch to Source code | Preprocessed file |