From 92d4d490fe808479e3fe8885e5e5cabd20f3d03f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 19 Aug 2020 14:54:51 +0200 Subject: Fix a number of qdoc warnings - Remove obsolete functions and enumeration values - Remove QObject * parameter from QMetaProperty accessors - Fix renamed enumerations in QSsl - Fix list items to be \li - Fix function signatures and variable names Change-Id: I37c7e6bf2c8ff92bc7b82620bae0a27796f866ab Reviewed-by: Paul Wicking --- src/gui/painting/qpolygon.cpp | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'src/gui/painting') diff --git a/src/gui/painting/qpolygon.cpp b/src/gui/painting/qpolygon.cpp index aa65fd5b99..24b696aafd 100644 --- a/src/gui/painting/qpolygon.cpp +++ b/src/gui/painting/qpolygon.cpp @@ -134,16 +134,7 @@ static void qt_polygon_isect_line(const QPointF &p1, const QPointF &p2, const QP */ /*! - \fn QPolygon::QPolygon(int size) - - Constructs a polygon of the given \a size. Creates an empty - polygon if \a size == 0. - - \sa QList::isEmpty() -*/ - -/*! - \fn QPolygon::QPolygon(const QPolygon &polygon) + \fn QPolygon::QPolygon(const QPolygon &polygon) noexcept Constructs a copy of the given \a polygon. @@ -197,14 +188,6 @@ QPolygon::QPolygon(int nPoints, const int *points) setPoints(nPoints, points); } - -/*! - \fn QPolygon::~QPolygon() - - Destroys the polygon. -*/ - - /*! Translates all points in the polygon by (\a{dx}, \a{dy}). @@ -532,7 +515,7 @@ QDebug operator<<(QDebug dbg, const QPolygon &a) */ /*! - \fn QPolygonF::QPolygonF(const QPolygonF &polygon) + \fn QPolygonF::QPolygonF(const QPolygonF &polygon) noexcept Constructs a copy of the given \a polygon. */ @@ -580,13 +563,6 @@ QPolygonF::QPolygonF(const QPolygon &a) append(a.at(i)); } -/*! - \fn QPolygonF::~QPolygonF() - - Destroys the polygon. -*/ - - /*! Translate all points in the polygon by the given \a offset. -- cgit v1.2.3