| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlextensionplugin.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQmlEngine; | - |
| 5 | class QQmlExtensionPluginPrivate; | - |
| 6 | - | |
| 7 | class __attribute__((visibility("default"))) QQmlExtensionPlugin | - |
| 8 | : public QObject | - |
| 9 | , public QQmlExtensionInterface | - |
| 10 | { | - |
| 11 | public: | - |
| 12 | #pragma GCC diagnostic push | - |
| 13 | - | |
| 14 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 15 | 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: | - |
| 16 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 17 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 18 | #pragma GCC diagnostic pop | - |
| 19 | struct QPrivateSignal {}; | - |
| 20 | inline QQmlExtensionPluginPrivate* d_func() { return executed 586 times by 135 tests: reinterpret_cast<QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 586 times by 135 tests: } inline const QQmlExtensionPluginPrivate* d_func() const { returnreturn reinterpret_cast<QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQmlExtensionPluginPrivate;return reinterpret_cast<const QQmlExtensionPluginPrivate *>(qGetPtrHelper(d_ptr)); | 0-586 |
| 21 | - | |
| 22 | - | |
| 23 | public: | - |
| 24 | explicit QQmlExtensionPlugin(QObject *parent = nullptr); | - |
| 25 | ~QQmlExtensionPlugin() override; | - |
| 26 | - | |
| 27 | QUrl baseUrl() const; | - |
| 28 | - | |
| 29 | void registerTypes(const char *uri) override = 0; | - |
| 30 | void initializeEngine(QQmlEngine *engine, const char *uri) override; | - |
| 31 | - | |
| 32 | private: | - |
| 33 | QQmlExtensionPlugin(const QQmlExtensionPlugin &) = delete; QQmlExtensionPlugin &operator=(const QQmlExtensionPlugin &) = delete; | - |
| 34 | }; | - |
| 35 | - | |
| 36 | - | |
| Switch to Source code | Preprocessed file |