Fix multiple enumeration warnings when generating docs
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>
Mon, 20 Aug 2012 09:12:48 +0000 (11:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Aug 2012 14:42:58 +0000 (16:42 +0200)
Most of these caused by cleaning up enums and not removing
omitted values. Also removed some leftovers from qt3support.

Change-Id: I75efcc9fadc6a430492bab36e86d7b345d3a6a17
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
src/widgets/styles/qmacstyle.qdoc
src/widgets/styles/qstyle.cpp

index 840b223..89c67d9 100644 (file)
@@ -92,7 +92,6 @@
     \value SizeLarge
     \value SizeMini
     \value SizeDefault
-    \omitvalue SizeNone
 */
 
 /*! \fn QMacStyle::QMacStyle()
index 836f697..da8d374 100644 (file)
@@ -714,15 +714,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
     \sa drawPrimitive()
 */
 
-/*!
-    \typedef QStyle::SFlags
-    \internal
-*/
-
-/*!
-    \typedef QStyle::SCFlags
-    \internal
-*/
 
 /*!
     \enum QStyle::StateFlag
@@ -760,7 +751,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
     \value State_Small Used to indicate a small style Mac widget or button.
     \omitvalue State_Window
     \omitvalue State_Bottom
-    \omitvalue State_Default
     \omitvalue State_FocusAtBorder
     \omitvalue State_Top
 
@@ -1630,8 +1620,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
 
     \value SH_DitherDisabledText Disabled text is dithered as it is on Motif.
 
-    \value SH_GUIStyle The GUI style to use.
-
     \value SH_ScrollBar_ContextMenu Whether or not a scroll bar has a context menu.
 
     \value SH_ScrollBar_MiddleClickAbsolutePosition  A boolean value.
@@ -1837,8 +1825,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
     \value SH_Dial_BackgroundRole Defines the style's preferred
     background role (as QPalette::ColorRole) for a dial widget.
 
-    \value SH_ScrollBar_BackgroundMode The background mode for a scroll bar.
-
     \value SH_ComboBox_LayoutDirection The layout direction for the
     combo box.  By default it should be the same as indicated by the
     QStyleOption::direction variable.
@@ -1906,8 +1892,6 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
     \value SH_RequestSoftwareInputPanel Determines when a software input panel should
            be requested by input widgets. Returns an enum of type QStyle::RequestSoftwareInputPanel.
 
-    \omitvalue SH_UnderlineAccelerator
-
     \sa styleHint()
 */