diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2015-03-19 21:14:53 +0000 |
---|---|---|
committer | Sérgio Martins <sergio.martins@kdab.com> | 2015-03-22 19:56:49 +0000 |
commit | 7e767afb429910adc0e9a219c5d600b55f6d72d1 (patch) | |
tree | 5afd314ecb134edc1afbe6a4c626685aa87ccf30 /src/svg | |
parent | 90a2418b3087e0ca12535ba58b318a9a0a3eaaf5 (diff) | |
download | qtsvg-7e767afb429910adc0e9a219c5d600b55f6d72d1.tar.gz |
Fix inconsistent overrides. [-Winconsistent-missing-override]v5.5.0-rc1v5.5.0-beta1v5.5.05.5.0
Change-Id: I3f5af4d3355f790ef17715fc0617c66b78ee78d0
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/svg')
-rw-r--r-- | src/svg/qsvggenerator.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp index 6ffab05..ca99de1 100644 --- a/src/svg/qsvggenerator.cpp +++ b/src/svg/qsvggenerator.cpp @@ -156,22 +156,22 @@ public: { } - bool begin(QPaintDevice *device); - bool end(); + bool begin(QPaintDevice *device) Q_DECL_OVERRIDE; + bool end() Q_DECL_OVERRIDE; - void updateState(const QPaintEngineState &state); + void updateState(const QPaintEngineState &state) Q_DECL_OVERRIDE; void popGroup(); void drawEllipse(const QRectF &r) Q_DECL_OVERRIDE; - void drawPath(const QPainterPath &path); - void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr); - void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode); + void drawPath(const QPainterPath &path) Q_DECL_OVERRIDE; + void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) Q_DECL_OVERRIDE; + void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode) Q_DECL_OVERRIDE; void drawRects(const QRectF *rects, int rectCount) Q_DECL_OVERRIDE; - void drawTextItem(const QPointF &pt, const QTextItem &item); + void drawTextItem(const QPointF &pt, const QTextItem &item) Q_DECL_OVERRIDE; void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, - Qt::ImageConversionFlags flags = Qt::AutoColor); + Qt::ImageConversionFlags flags = Qt::AutoColor) Q_DECL_OVERRIDE; - QPaintEngine::Type type() const { return QPaintEngine::SVG; } + QPaintEngine::Type type() const Q_DECL_OVERRIDE { return QPaintEngine::SVG; } QSize size() const { return d_func()->size; } void setSize(const QSize &size) { |