Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickscalegrid_p_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | class __attribute__((visibility("default"))) QQuickScaleGrid : public QObject | - |
6 | { | - |
7 | public: | - |
8 | #pragma GCC diagnostic push | - |
9 | - | |
10 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
11 | 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: | - |
12 | #pragma GCC diagnostic ignored "-Wattributes" | - |
13 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
14 | #pragma GCC diagnostic pop | - |
15 | struct QPrivateSignal {}; | - |
16 | - | |
17 | - | |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | public: | - |
23 | QQuickScaleGrid(QObject *parent=nullptr); | - |
24 | ~QQuickScaleGrid(); | - |
25 | - | |
26 | bool isNull() const; | - |
27 | - | |
28 | int left() const { return executed 298 times by 2 tests: _left;return _left; Executed by:
executed 298 times by 2 tests: }return _left; Executed by:
| 298 |
29 | void setLeft(int); | - |
30 | - | |
31 | int top() const { return executed 298 times by 2 tests: _top;return _top; Executed by:
executed 298 times by 2 tests: }return _top; Executed by:
| 298 |
32 | void setTop(int); | - |
33 | - | |
34 | int right() const { return executed 154 times by 2 tests: _right;return _right; Executed by:
executed 154 times by 2 tests: }return _right; Executed by:
| 154 |
35 | void setRight(int); | - |
36 | - | |
37 | int bottom() const { return executed 154 times by 2 tests: _bottom;return _bottom; Executed by:
executed 154 times by 2 tests: }return _bottom; Executed by:
| 154 |
38 | void setBottom(int); | - |
39 | - | |
40 | public : | - |
41 | void borderChanged(); | - |
42 | void leftBorderChanged(); | - |
43 | void topBorderChanged(); | - |
44 | void rightBorderChanged(); | - |
45 | void bottomBorderChanged(); | - |
46 | - | |
47 | private: | - |
48 | int _left; | - |
49 | int _top; | - |
50 | int _right; | - |
51 | int _bottom; | - |
52 | }; | - |
53 | - | |
54 | class __attribute__((visibility("default"))) QQuickGridScaledImage | - |
55 | { | - |
56 | public: | - |
57 | QQuickGridScaledImage(); | - |
58 | QQuickGridScaledImage(const QQuickGridScaledImage &); | - |
59 | QQuickGridScaledImage(QIODevice*); | - |
60 | QQuickGridScaledImage &operator=(const QQuickGridScaledImage &); | - |
61 | bool isValid() const; | - |
62 | int gridLeft() const; | - |
63 | int gridRight() const; | - |
64 | int gridTop() const; | - |
65 | int gridBottom() const; | - |
66 | QQuickBorderImage::TileMode horizontalTileRule() const { return executed 22 times by 2 tests: _h;return _h; Executed by:
executed 22 times by 2 tests: }return _h; Executed by:
| 22 |
67 | QQuickBorderImage::TileMode verticalTileRule() const { return executed 22 times by 2 tests: _v;return _v; Executed by:
executed 22 times by 2 tests: }return _v; Executed by:
| 22 |
68 | - | |
69 | QString pixmapUrl() const; | - |
70 | - | |
71 | private: | - |
72 | static QQuickBorderImage::TileMode stringToRule(const QStringRef &); | - |
73 | - | |
74 | private: | - |
75 | int _l; | - |
76 | int _r; | - |
77 | int _t; | - |
78 | int _b; | - |
79 | QQuickBorderImage::TileMode _h; | - |
80 | QQuickBorderImage::TileMode _v; | - |
81 | QString _pix; | - |
82 | }; | - |
83 | - | |
84 | - | |
85 | - | |
86 | template <> struct QMetaTypeId< QQuickScaleGrid * > { 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< QQuickScaleGrid * >("QQuickScaleGrid *", reinterpret_cast< QQuickScaleGrid * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickScaleGrid> > { 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<QQuickScaleGrid> >("QQmlListProperty<QQuickScaleGrid>", reinterpret_cast< QQmlListProperty<QQuickScaleGrid> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |