OpenCoverage

qsgflatcolormaterial.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgflatcolormaterial.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class __attribute__((visibility("default"))) QSGFlatColorMaterial : public QSGMaterial-
5{-
6public:-
7 QSGFlatColorMaterial();-
8 QSGMaterialType *type() const override;-
9 QSGMaterialShader *createShader() const override;-
10-
11 void setColor(const QColor &color);-
12 const QColor &color() const { return
executed 1100212 times by 3 tests: return m_color;
Executed by:
  • tst_drawingmodes
  • tst_qquickshape
  • tst_scenegraph
m_color;
executed 1100212 times by 3 tests: return m_color;
Executed by:
  • tst_drawingmodes
  • tst_qquickshape
  • tst_scenegraph
}
1100212
13-
14 int compare(const QSGMaterial *other) const override;-
15-
16private:-
17 QColor m_color;-
18};-
19-
20-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0