Doc: More fixes of qdoc-reported doc errors
authoraavit <qt_aavit@ovi.com>
Fri, 31 Aug 2012 14:39:49 +0000 (16:39 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 31 Aug 2012 14:50:23 +0000 (16:50 +0200)
Change-Id: I2dd815c471e56d2c239a63e7c7ad3496af2a585b
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/gui/kernel/qstylehints.cpp
src/gui/painting/qpaintengine_raster.cpp
src/gui/painting/qpainter.cpp
src/gui/painting/qpdfwriter.cpp
src/gui/painting/qpolygon.cpp
src/gui/util/qvalidator.cpp

index acb31a2..3812a86 100644 (file)
@@ -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()
index 9731504..1ad8320 100644 (file)
@@ -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
 */
 
 
index a3ec010..3b7bfcf 100644 (file)
@@ -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
 
index e3bddb7..692fe68 100644 (file)
@@ -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)
 {
index 06fec9a..6b11dae 100644 (file)
@@ -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);
index a137efe..04b88c7 100644 (file)
@@ -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
 */
 
 /*!