summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-08-19 14:54:51 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-08-20 07:51:05 +0200
commit92d4d490fe808479e3fe8885e5e5cabd20f3d03f (patch)
treebed5c974344f0baac00265c48f4d674ad185e557 /src/gui/painting
parent1f1f0003274e446fc49e61255749f83c5826cd0b (diff)
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 <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpolygon.cpp28
1 files changed, 2 insertions, 26 deletions
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.
*/
@@ -581,13 +564,6 @@ QPolygonF::QPolygonF(const QPolygon &a)
}
/*!
- \fn QPolygonF::~QPolygonF()
-
- Destroys the polygon.
-*/
-
-
-/*!
Translate all points in the polygon by the given \a offset.
\sa translated()