Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickitemgrabresult.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | class QImage; | - |
5 | - | |
6 | class QQuickItemGrabResultPrivate; | - |
7 | - | |
8 | class __attribute__((visibility("default"))) QQuickItemGrabResult : public QObject | - |
9 | { | - |
10 | public: | - |
11 | #pragma GCC diagnostic push | - |
12 | - | |
13 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
14 | 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: | - |
15 | #pragma GCC diagnostic ignored "-Wattributes" | - |
16 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
17 | #pragma GCC diagnostic pop | - |
18 | struct QPrivateSignal {}; | - |
19 | inline QQuickItemGrabResultPrivate* d_func() { return executed 30 times by 2 tests: reinterpret_cast<QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 30 times by 2 tests: } inline const QQuickItemGrabResultPrivate* d_func() const { returnreturn reinterpret_cast<QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 32 times by 2 tests: reinterpret_cast<const QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 32 times by 2 tests: } friend class QQuickItemGrabResultPrivate;return reinterpret_cast<const QQuickItemGrabResultPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 30-32 |
20 | - | |
21 | - | |
22 | - | |
23 | public: | - |
24 | QImage image() const; | - |
25 | QUrl url() const; | - |
26 | - | |
27 | - | |
28 | bool saveToFile(const QString &fileName); | - |
29 | - | |
30 | bool saveToFile(const QString &fileName) const; | - |
31 | - | |
32 | protected: | - |
33 | bool event(QEvent *) override; | - |
34 | - | |
35 | public : | - |
36 | void ready(); | - |
37 | - | |
38 | private : | - |
39 | void setup(); | - |
40 | void render(); | - |
41 | - | |
42 | private: | - |
43 | friend class QQuickItem; | - |
44 | - | |
45 | QQuickItemGrabResult(QObject *parent = nullptr); | - |
46 | }; | - |
47 | - | |
48 | - | |
Switch to Source code | Preprocessed file |