diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-07-24 16:10:52 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 03:27:23 +0200 |
commit | 9784dd8d06565177a302d4dabec0b6555a958e53 (patch) | |
tree | c6746ade9a3cb2327a13d471c351fbd58ed16b4a /src/gui/painting/qpolygon.h | |
parent | 17c74529e4d343424c53e6630cd8c14d8d4d3313 (diff) |
Implement implicit constructors for built-in classes.
Change-Id: I6b0b104bc1da3252d014615c50b81830de42e722
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/painting/qpolygon.h')
-rw-r--r-- | src/gui/painting/qpolygon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpolygon.h b/src/gui/painting/qpolygon.h index 726ed434ed..df94a2570e 100644 --- a/src/gui/painting/qpolygon.h +++ b/src/gui/painting/qpolygon.h @@ -142,6 +142,8 @@ public: /*implicit*/ QPolygonF(const QPolygon &a); inline void swap(QPolygonF &other) { QVector<QPointF>::swap(other); } // prevent QVector<QPointF><->QPolygonF swaps + operator QVariant() const; + inline void translate(qreal dx, qreal dy); void translate(const QPointF &offset); |