OpenCoverage

qquickscalegrid_p_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickscalegrid_p_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class __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-
22public:-
23 QQuickScaleGrid(QObject *parent=nullptr);-
24 ~QQuickScaleGrid();-
25-
26 bool isNull() const;-
27-
28 int left() const { return
executed 298 times by 2 tests: return _left;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_left;
executed 298 times by 2 tests: return _left;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
298
29 void setLeft(int);-
30-
31 int top() const { return
executed 298 times by 2 tests: return _top;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_top;
executed 298 times by 2 tests: return _top;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
298
32 void setTop(int);-
33-
34 int right() const { return
executed 154 times by 2 tests: return _right;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_right;
executed 154 times by 2 tests: return _right;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
154
35 void setRight(int);-
36-
37 int bottom() const { return
executed 154 times by 2 tests: return _bottom;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_bottom;
executed 154 times by 2 tests: return _bottom;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
154
38 void setBottom(int);-
39-
40public :-
41 void borderChanged();-
42 void leftBorderChanged();-
43 void topBorderChanged();-
44 void rightBorderChanged();-
45 void bottomBorderChanged();-
46-
47private:-
48 int _left;-
49 int _top;-
50 int _right;-
51 int _bottom;-
52};-
53-
54class __attribute__((visibility("default"))) QQuickGridScaledImage-
55{-
56public:-
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: return _h;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_h;
executed 22 times by 2 tests: return _h;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
22
67 QQuickBorderImage::TileMode verticalTileRule() const { return
executed 22 times by 2 tests: return _v;
Executed by:
  • tst_examples
  • tst_qquickborderimage
_v;
executed 22 times by 2 tests: return _v;
Executed by:
  • tst_examples
  • tst_qquickborderimage
}
22
68-
69 QString pixmapUrl() const;-
70-
71private:-
72 static QQuickBorderImage::TileMode stringToRule(const QStringRef &);-
73-
74private:-
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 codePreprocessed file

Generated by Squish Coco 4.2.0