Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickwindowmodule_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | class QQuickWindowQmlImplPrivate; | - |
5 | - | |
6 | class __attribute__((visibility("default"))) QQuickWindowQmlImpl : public QQuickWindow, public QQmlParserStatus | - |
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 | - | |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | public: | - |
24 | QQuickWindowQmlImpl(QWindow *parent = nullptr); | - |
25 | - | |
26 | void setVisible(bool visible); | - |
27 | void setVisibility(Visibility visibility); | - |
28 | - | |
29 | QObject *screen() const; | - |
30 | void setScreen(QObject *screen); | - |
31 | - | |
32 | static QQuickWindowAttached *qmlAttachedProperties(QObject *object); | - |
33 | - | |
34 | public : | - |
35 | void visibleChanged(bool arg); | - |
36 | void visibilityChanged(QWindow::Visibility visibility); | - |
37 | void screenChanged(); | - |
38 | - | |
39 | protected: | - |
40 | void classBegin() override; | - |
41 | void componentComplete() override; | - |
42 | - | |
43 | private : | - |
44 | void setWindowVisibility(); | - |
45 | - | |
46 | private: | - |
47 | QQuickWindowQmlImpl(const QQuickWindowQmlImpl &) = delete; QQuickWindowQmlImpl &operator=(const QQuickWindowQmlImpl &) = delete; | - |
48 | inline QQuickWindowQmlImplPrivate* d_func() { return executed 604 times by 8 tests: reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 604 times by 8 tests: } inline const QQuickWindowQmlImplPrivate* d_func() const { returnreturn reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickWindowQmlImplPrivate;return reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr)); | 0-604 |
49 | }; | - |
50 | - | |
51 | class __attribute__((visibility("default"))) QQuickWindowModule | - |
52 | { | - |
53 | public: | - |
54 | static void defineModule(); | - |
55 | }; | - |
56 | - | |
57 | - | |
58 | - | |
59 | template <> struct QMetaTypeId< QQuickWindowQmlImpl * > { 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< QQuickWindowQmlImpl * >("QQuickWindowQmlImpl *", reinterpret_cast< QQuickWindowQmlImpl * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickWindowQmlImpl> > { 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<QQuickWindowQmlImpl> >("QQmlListProperty<QQuickWindowQmlImpl>", reinterpret_cast< QQmlListProperty<QQuickWindowQmlImpl> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
60 | template <> class QQmlTypeInfo<QQuickWindowQmlImpl > { public: enum { hasAttachedProperties = (((QML_HAS_ATTACHED_PROPERTIES) & QML_HAS_ATTACHED_PROPERTIES) == QML_HAS_ATTACHED_PROPERTIES) }; }; | - |
Switch to Source code | Preprocessed file |