OpenCoverage

qquickwindowmodule_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickwindowmodule_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQuickWindowQmlImplPrivate;-
5-
6class __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-
23public:-
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-
34public :-
35 void visibleChanged(bool arg);-
36 void visibilityChanged(QWindow::Visibility visibility);-
37 void screenChanged();-
38-
39protected:-
40 void classBegin() override;-
41 void componentComplete() override;-
42-
43private :-
44 void setWindowVisibility();-
45-
46private:-
47 QQuickWindowQmlImpl(const QQuickWindowQmlImpl &) = delete; QQuickWindowQmlImpl &operator=(const QQuickWindowQmlImpl &) = delete;-
48 inline QQuickWindowQmlImplPrivate* d_func() { return
executed 604 times by 8 tests: return reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshortcut
  • tst_qquicktext
reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
executed 604 times by 8 tests: return reinterpret_cast<QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshortcut
  • tst_qquicktext
} inline const QQuickWindowQmlImplPrivate* d_func() const { return
never executed: return reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
never executed: return reinterpret_cast<const QQuickWindowQmlImplPrivate *>(qGetPtrHelper(d_ptr));
} friend class QQuickWindowQmlImplPrivate;
0-604
49};-
50-
51class __attribute__((visibility("default"))) QQuickWindowModule-
52{-
53public:-
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 codePreprocessed file

Generated by Squish Coco 4.2.0