summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraavit <qt_aavit@ovi.com>2012-08-31 16:39:49 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-31 16:50:23 +0200
commitb2ae34d9b5bf017876444fa90c4d6461bfdb4fc4 (patch)
treea1cbcffefe72e32ad389decfe69a33d20f6d8c2e
parentf9bf5a88550193e7cab44f53ea878d8ccb6604dd (diff)
Doc: More fixes of qdoc-reported doc errors
Change-Id: I2dd815c471e56d2c239a63e7c7ad3496af2a585b Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
-rw-r--r--src/gui/kernel/qstylehints.cpp2
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp6
-rw-r--r--src/gui/painting/qpainter.cpp2
-rw-r--r--src/gui/painting/qpdfwriter.cpp4
-rw-r--r--src/gui/painting/qpolygon.cpp4
-rw-r--r--src/gui/util/qvalidator.cpp2
6 files changed, 9 insertions, 11 deletions
diff --git a/src/gui/kernel/qstylehints.cpp b/src/gui/kernel/qstylehints.cpp
index acb31a2eb5..3812a862ae 100644
--- a/src/gui/kernel/qstylehints.cpp
+++ b/src/gui/kernel/qstylehints.cpp
@@ -65,7 +65,7 @@ static inline QVariant themeableHint(QPlatformTheme::ThemeHint th,
/*!
\class QStyleHints
\since 5.0
- \brief The QStyleHints contains platform specific hints and settings.
+ \brief The QStyleHints class contains platform specific hints and settings.
\inmodule QtGui
*/
QStyleHints::QStyleHints()
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index 973150413a..1ad8320dae 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -4711,11 +4711,7 @@ static void drawEllipse_midpoint_i(const QRect &rect, const QRect &clip,
/*!
\fn void QRasterPaintEngine::drawPoints(const QPoint *points, int pointCount)
\overload
-
- Draws the first \a pointCount points in the buffer \a points
-
- The default implementation converts the first \a pointCount QPoints in \a points
- to QPointFs and calls the floating point version of drawPoints.
+ \reimp
*/
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index a3ec010c4f..3b7bfcf02b 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -1526,7 +1526,7 @@ bool QPainter::isActive() const
/*!
Initializes the painters pen, background and font to the same as
- the given \a paint device.
+ the given \a device.
\obsolete
diff --git a/src/gui/painting/qpdfwriter.cpp b/src/gui/painting/qpdfwriter.cpp
index e3bddb7466..692fe686d8 100644
--- a/src/gui/painting/qpdfwriter.cpp
+++ b/src/gui/painting/qpdfwriter.cpp
@@ -118,7 +118,7 @@ QString QPdfWriter::title() const
}
/*!
- Sets the title of the document being created.
+ Sets the title of the document being created to \a title.
*/
void QPdfWriter::setTitle(const QString &title)
{
@@ -136,7 +136,7 @@ QString QPdfWriter::creator() const
}
/*!
- Sets the creator of the document.
+ Sets the creator of the document to \a creator.
*/
void QPdfWriter::setCreator(const QString &creator)
{
diff --git a/src/gui/painting/qpolygon.cpp b/src/gui/painting/qpolygon.cpp
index 06fec9a849..6b11dae5a5 100644
--- a/src/gui/painting/qpolygon.cpp
+++ b/src/gui/painting/qpolygon.cpp
@@ -990,6 +990,10 @@ QPolygonF QPolygonF::subtracted(const QPolygonF &r) const
return subject.subtracted(clip).toFillPolygon();
}
+/*!
+ Returns the polygon as a QVariant.
+*/
+
QPolygonF::operator QVariant() const
{
return QVariant(QMetaType::QPolygonF, this);
diff --git a/src/gui/util/qvalidator.cpp b/src/gui/util/qvalidator.cpp
index a137efe88e..04b88c71f7 100644
--- a/src/gui/util/qvalidator.cpp
+++ b/src/gui/util/qvalidator.cpp
@@ -128,8 +128,6 @@ QT_BEGIN_NAMESPACE
\value Intermediate The string is a plausible intermediate value.
\value Acceptable The string is acceptable as a final result;
i.e. it is valid.
-
- \omitvalue Valid
*/
/*!