OpenCoverage

qquickrendercontrol.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickrendercontrol.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQuickWindow;-
5class QOpenGLContext;-
6class QQuickRenderControlPrivate;-
7class QThread;-
8-
9class __attribute__((visibility("default"))) QQuickRenderControl : public QObject-
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-
21public:-
22 explicit QQuickRenderControl(QObject *parent = nullptr);-
23 ~QQuickRenderControl() override;-
24-
25 void prepareThread(QThread *targetThread);-
26 void initialize(QOpenGLContext *gl);-
27 void invalidate();-
28-
29 void polishItems();-
30 void render();-
31 bool sync();-
32-
33 QImage grab();-
34-
35 static QWindow *renderWindowFor(QQuickWindow *win, QPoint *offset = nullptr);-
36 virtual QWindow *renderWindow(QPoint *offset) { (void)offset;; return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
}
0
37-
38public :-
39 void renderRequested();-
40 void sceneChanged();-
41-
42private:-
43 inline QQuickRenderControlPrivate* d_func() { return
executed 2978 times by 2 tests: return reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
executed 2978 times by 2 tests: return reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
} inline const QQuickRenderControlPrivate* d_func() const { return
never executed: return reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
never executed: return reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));
} friend class QQuickRenderControlPrivate;
0-2978
44};-
45-
46-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0