summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-30 18:00:45 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-28 21:21:25 +0200
commit3f0c2ed9ac39bbbd515000428a3c522a1f6e8813 (patch)
tree21bd5dc04dceb7e72592226f398ae8ff50ada656 /src/corelib/global/qnamespace.qdoc
parent072fb7de513c5359fc3a3b7da23e3a6fe6c58bf7 (diff)
Qt namespace: purge deprecated enum members and a typedef
Since 5.0 - WFlags Since 5.6 - ItemIsTristate Since 5.14 - WA_NoBackground, WA_MacNoClickThrough, WA_MacBrushedMetal, WA_MacMetalStyle, WA_MSWindowsUseDirect3D WA_MacFrameworkScaled, ImMicroFocus Since 5.15 - MatchRegExp, MidButton (really since 5.7.0), WA_ContentsPropagated (really since 4.5.1, as are the following), WA_WState_DND, WA_ForceAcceptDrops. Change-Id: Ib1db3d85bf28823c704b5f3857546764b158e1ed Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 6532f3bbab..b8c9854555 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -316,7 +316,6 @@
left-handed mice.)
\value RightButton The right button.
\value MiddleButton The middle button.
- \omitvalue MidButton
\value BackButton The 'Back' button. (Typically present on
the 'thumb' side of a mouse with extra buttons. This is NOT
@@ -354,7 +353,6 @@
\value ExtraButton23 The 26th non-wheel Mouse Button.
\value ExtraButton24 The 27th non-wheel Mouse Button.
- \omitvalue MidButton
\omitvalue MaxMouseButton
\omitvalue MouseButtonMask
@@ -901,10 +899,6 @@
\value WA_AlwaysShowToolTips Enables tooltips for inactive windows.
- \value WA_ContentsPropagated This flag is superfluous and
- obsolete; it no longer has any effect. Since Qt 4.1, all widgets
- that do not set WA_PaintOnScreen propagate their contents.
-
\value WA_CustomWhatsThis Indicates that the widget wants to
continue operating normally in "What's This?" mode. This is set by the
widget's author.
@@ -974,8 +968,6 @@
\value WA_LayoutUsesWidgetRect Ignore the layout item rect from the style
when laying out this widget with QLayout.
- \value WA_MacNoClickThrough This value is obsolete and has no effect.
-
\value WA_MacOpaqueSizeGrip Indicates that the native size grip
should be opaque instead of transparent (the default). This attribute
is only applicable to \macos and is set by the widget's author.
@@ -1003,8 +995,6 @@
alternative sizes for widgets to avoid clipping.
This attribute is only applicable to \macos.
- \value WA_MacBrushedMetal This value is obsolete and has no effect.
-
\value WA_Mapped Indicates that the widget is mapped on screen.
This is set/cleared by the Qt kernel.
@@ -1020,12 +1010,6 @@
position. This is set/cleared by QWidget::move() and
by QWidget::setGeometry().
- \value WA_MSWindowsUseDirect3D This value is obsolete and has no
- effect.
-
- \value WA_NoBackground This value is obsolete. Use
- WA_OpaquePaintEvent instead.
-
\value WA_NoChildEventsForParent Indicates that the widget does
not want ChildAdded or ChildRemoved events sent to its
parent. This is rarely necessary but can help to avoid automatic
@@ -1262,8 +1246,6 @@
has no effect on non-X11 platforms. \b Note: Qt automatically sets this
attribute on the feedback widget used during a drag.
- \value WA_MacFrameworkScaled This value is obsolete and has no effect.
-
\value WA_AcceptTouchEvents Allows touch events (see QTouchEvent)
to be sent to the widget. Must be set on all widgets that can
handle touch events. Without this attribute set, events from a
@@ -2084,14 +2066,6 @@
*/
/*!
- \typedef Qt::WFlags
- \obsolete
- This typedef is obsolete. Use Qt::WindowFlags instead.
-
- Synonym for Qt::WindowFlags.
-*/
-
-/*!
\enum Qt::WindowType
\keyword window flag
@@ -2638,7 +2612,6 @@
\enum Qt::InputMethodQuery
\value ImEnabled The widget accepts input method input.
- \value ImMicroFocus This query is obsolete. Use \c ImCursorRectangle instead.
\value ImCursorRectangle The rectangle covering the area of the input cursor in widget coordinates.
\value ImFont The currently used font for text input.
\value ImCursorPosition The logical position of the cursor within the text surrounding the input area
@@ -2781,8 +2754,6 @@
This enables automatic management of the state of parent items in QTreeWidget
(checked if all children are checked, unchecked if all children are unchecked,
or partially checked if only some children are checked).
- \value ItemIsTristate \e{This enum value is deprecated.} Use Qt::ItemIsAutoTristate
- instead.
\value ItemNeverHasChildren The item never has child items.
This is used for optimization purposes only.
\value ItemIsUserTristate The user can cycle through three separate states.
@@ -2814,8 +2785,6 @@
\value MatchStartsWith The search term matches the start of the item.
\value MatchEndsWith The search term matches the end of the item.
\value MatchCaseSensitive The search is case sensitive.
- \value MatchRegExp Same as MatchRegularExpression
- \e{This enum value is deprecated since Qt 5.15.}
\value MatchRegularExpression Performs string-based matching using a regular
expression as the search term. Uses QRegularExpression.
When using this flag, a QRegularExpression object can be passed as