Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickborderimage_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | class QQuickScaleGrid; | - |
4 | class QQuickGridScaledImage; | - |
5 | class QQuickBorderImagePrivate; | - |
6 | class __attribute__((visibility("default"))) QQuickBorderImage : public QQuickImageBase | - |
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 | - | |
24 | public: | - |
25 | QQuickBorderImage(QQuickItem *parent=nullptr); | - |
26 | ~QQuickBorderImage(); | - |
27 | - | |
28 | QQuickScaleGrid *border(); | - |
29 | - | |
30 | enum TileMode { Stretch = Qt::StretchTile, Repeat = Qt::RepeatTile, Round = Qt::RoundTile }; | - |
31 | friend constexpr const QMetaObject *qt_getEnumMetaObject(TileMode) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(TileMode) noexcept { return "TileMode"; } | - |
32 | - | |
33 | TileMode horizontalTileMode() const; | - |
34 | void setHorizontalTileMode(TileMode); | - |
35 | - | |
36 | TileMode verticalTileMode() const; | - |
37 | void setVerticalTileMode(TileMode); | - |
38 | - | |
39 | void setSource(const QUrl &url) override; | - |
40 | - | |
41 | public : | - |
42 | void horizontalTileModeChanged(); | - |
43 | void verticalTileModeChanged(); | - |
44 | void sourceSizeChanged(); | - |
45 | - | |
46 | protected: | - |
47 | void load() override; | - |
48 | void pixmapChange() override; | - |
49 | QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *) override; | - |
50 | - | |
51 | private: | - |
52 | void setGridScaledImage(const QQuickGridScaledImage& sci); | - |
53 | - | |
54 | private : | - |
55 | void doUpdate(); | - |
56 | void requestFinished() override; | - |
57 | - | |
58 | void sciRequestFinished(); | - |
59 | - | |
60 | - | |
61 | private: | - |
62 | QQuickBorderImage(const QQuickBorderImage &) = delete; QQuickBorderImage &operator=(const QQuickBorderImage &) = delete; | - |
63 | inline QQuickBorderImagePrivate* d_func() { return executed 1004 times by 2 tests: reinterpret_cast<QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 1004 times by 2 tests: } inline const QQuickBorderImagePrivate* d_func() const { returnreturn reinterpret_cast<QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 64 times by 1 test: reinterpret_cast<const QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 64 times by 1 test: } friend class QQuickBorderImagePrivate;return reinterpret_cast<const QQuickBorderImagePrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 64-1004 |
64 | }; | - |
65 | - | |
66 | - | |
67 | template <> struct QMetaTypeId< QQuickBorderImage * > { 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< QQuickBorderImage * >("QQuickBorderImage *", reinterpret_cast< QQuickBorderImage * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickBorderImage> > { 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<QQuickBorderImage> >("QQmlListProperty<QQuickBorderImage>", reinterpret_cast< QQmlListProperty<QQuickBorderImage> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |