From 20be99dec52d4c6922ec84b3836b549f505738cf Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 16 Jan 2018 13:47:35 +0100 Subject: doc: Add missing return types to \fn commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added void return type to several \fn commands. The return type should always be included with the \fn command in clang-qdoc. Change-Id: Ie751eb1430eff668f33f8d86e0b1454bd1d2f582 Reviewed-by: Topi Reiniƶ --- src/gui/painting/qpainter.cpp | 10 +++++----- src/gui/painting/qregion.cpp | 2 +- src/gui/painting/qrgba64.qdoc | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui/painting') diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index e98ad8ce8b..317fe4cbf7 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -4256,7 +4256,7 @@ void QPainter::drawEllipse(const QRectF &r) } /*! - \fn QPainter::drawEllipse(const QRect &rectangle) + \fn void QPainter::drawEllipse(const QRect &rectangle) \overload @@ -4298,7 +4298,7 @@ void QPainter::drawEllipse(const QRect &r) } /*! - \fn QPainter::drawEllipse(int x, int y, int width, int height) + \fn void QPainter::drawEllipse(int x, int y, int width, int height) \overload @@ -4309,7 +4309,7 @@ void QPainter::drawEllipse(const QRect &r) /*! \since 4.4 - \fn QPainter::drawEllipse(const QPointF ¢er, qreal rx, qreal ry) + \fn void QPainter::drawEllipse(const QPointF ¢er, qreal rx, qreal ry) \overload @@ -4319,7 +4319,7 @@ void QPainter::drawEllipse(const QRect &r) /*! \since 4.4 - \fn QPainter::drawEllipse(const QPoint ¢er, int rx, int ry) + \fn void QPainter::drawEllipse(const QPoint ¢er, int rx, int ry) \overload @@ -6737,7 +6737,7 @@ void QPainter::drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPo } /*! - \fn QPainter::drawTiledPixmap(const QRect &rectangle, const QPixmap &pixmap, + \fn void QPainter::drawTiledPixmap(const QRect &rectangle, const QPixmap &pixmap, const QPoint &position = QPoint()) \overload diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 40cffe7cc6..77718ce747 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -742,7 +742,7 @@ bool QRegion::intersects(const QRegion ®ion) const #if !defined (Q_OS_UNIX) && !defined (Q_OS_WIN) || defined(Q_CLANG_QDOC) -/*! +/* \overload \since 4.4 */ diff --git a/src/gui/painting/qrgba64.qdoc b/src/gui/painting/qrgba64.qdoc index 064f018210..26c78a5dcd 100644 --- a/src/gui/painting/qrgba64.qdoc +++ b/src/gui/painting/qrgba64.qdoc @@ -105,7 +105,7 @@ */ /*! - \fn QRgba64::setRed(quint16 red) + \fn void QRgba64::setRed(quint16 red) Sets the red color component of this color to \a red. @@ -121,7 +121,7 @@ */ /*! - \fn QRgba64::setGreen(quint16 green) + \fn void QRgba64::setGreen(quint16 green) Sets the green color component of this color to \a green. @@ -137,7 +137,7 @@ */ /*! - \fn QRgba64::setBlue(quint16 blue) + \fn void QRgba64::setBlue(quint16 blue) Sets the blue color component of this color to \a blue. @@ -153,7 +153,7 @@ */ /*! - \fn QRgba64::setAlpha(quint16 alpha) + \fn void QRgba64::setAlpha(quint16 alpha) Sets the alpha of this color to \a alpha. -- cgit v1.2.3