Remove deprecated QStyleOptionFooVx typedefs

They were not used the whole Qt5 lifetime.

Change-Id: I1452b90d63bbeed3cc9131b04ed5263b38ad89b3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Christian Ehrlicher 2020-06-18 19:54:59 +02:00
parent ef4bed7196
commit 7ff26c7762
2 changed files with 0 additions and 122 deletions

View File

@ -470,22 +470,6 @@ QStyleOptionFocusRect::QStyleOptionFocusRect(int version)
\sa QStyleOption
*/
/*!
\typedef QStyleOptionFrameV2
\relates QStyleOptionFrame
\obsolete
Synonym for QStyleOptionFrame.
*/
/*!
\typedef QStyleOptionFrameV3
\relates QStyleOptionFrame
\obsolete
Synonym for QStyleOptionFrame.
*/
/*!
Constructs a QStyleOptionFrame, initializing the members
variables to their default values.
@ -1250,30 +1234,6 @@ QStyleOptionToolBar::QStyleOptionToolBar(int version)
\sa QStyleOption
*/
/*!
\typedef QStyleOptionTabV2
\relates QStyleOptionTab
\obsolete
Synonym for QStyleOptionTab.
*/
/*!
\typedef QStyleOptionTabV3
\relates QStyleOptionTab
\obsolete
Synonym for QStyleOptionTab.
*/
/*!
\typedef QStyleOptionTabV4
\relates QStyleOptionTab
\obsolete
Synonym for QStyleOptionTab.
*/
/*!
Constructs a QStyleOptionTab object, initializing the members
variables to their default values.
@ -1511,14 +1471,6 @@ QStyleOptionTab::QStyleOptionTab(int version)
\sa QStyleOption
*/
/*!
\typedef QStyleOptionProgressBarV2
\relates QStyleOptionProgressBar
\obsolete
Synonym for QStyleOptionProgressBar.
*/
/*!
Constructs a QStyleOptionProgressBar, initializing the members
variables to their default values.
@ -2287,14 +2239,6 @@ QStyleOptionSpinBox::QStyleOptionSpinBox(int version)
\sa QStyleOption
*/
/*!
\typedef QStyleOptionDockWidgetV2
\relates QStyleOptionDockWidget
\obsolete
Synonym for QStyleOptionDockWidget.
*/
/*!
Constructs a QStyleOptionDockWidget, initializing the member
variables to their default values.
@ -2700,14 +2644,6 @@ QStyleOptionComboBox::QStyleOptionComboBox(int version)
\sa QStyleOption, QToolBox
*/
/*!
\typedef QStyleOptionToolBoxV2
\relates QStyleOptionToolBox
\obsolete
Synonym for QStyleOptionToolBox.
*/
/*!
Creates a QStyleOptionToolBox, initializing the members variables
to their default values.
@ -3038,30 +2974,6 @@ QStyleOptionTitleBar::QStyleOptionTitleBar(int version)
Programming}
*/
/*!
\typedef QStyleOptionViewItemV2
\relates QStyleOptionViewItem
\obsolete
Synonym for QStyleOptionViewItem.
*/
/*!
\typedef QStyleOptionViewItemV3
\relates QStyleOptionViewItem
\obsolete
Synonym for QStyleOptionViewItem.
*/
/*!
\typedef QStyleOptionViewItemV4
\relates QStyleOptionViewItem
\obsolete
Synonym for QStyleOptionViewItem.
*/
/*!
\enum QStyleOptionViewItem::Position
@ -3327,14 +3239,6 @@ QStyleOptionViewItem::QStyleOptionViewItem(int version)
\sa QStyleOption, QTabWidget
*/
/*!
\typedef QStyleOptionTabWidgetFrameV2
\relates QStyleOptionTabWidgetFrame
\obsolete
Synonym for QStyleOptionTabWidgetFrame.
*/
/*!
Constructs a QStyleOptionTabWidgetFrame, initializing the members
variables to their default values.
@ -3477,14 +3381,6 @@ QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(int version)
\sa QStyleOption, QTabBar::drawBase()
*/
/*!
\typedef QStyleOptionTabBarBaseV2
\relates QStyleOptionTabBarBase
\obsolete
Synonym for QStyleOptionTabBarBase.
*/
/*!
Construct a QStyleOptionTabBarBase, initializing the members
vaiables to their default values.

View File

@ -151,9 +151,6 @@ protected:
Q_DECLARE_OPERATORS_FOR_FLAGS(QStyleOptionFrame::FrameFeatures)
typedef Q_DECL_DEPRECATED QStyleOptionFrame QStyleOptionFrameV2;
typedef Q_DECL_DEPRECATED QStyleOptionFrame QStyleOptionFrameV3;
#if QT_CONFIG(tabwidget)
class Q_WIDGETS_EXPORT QStyleOptionTabWidgetFrame : public QStyleOption
{
@ -179,7 +176,6 @@ protected:
QStyleOptionTabWidgetFrame(int version);
};
typedef Q_DECL_DEPRECATED QStyleOptionTabWidgetFrame QStyleOptionTabWidgetFrameV2;
#endif // QT_CONFIG(tabwidget)
@ -203,7 +199,6 @@ protected:
QStyleOptionTabBarBase(int version);
};
typedef Q_DECL_DEPRECATED QStyleOptionTabBarBase QStyleOptionTabBarBaseV2;
#endif // QT_CONFIG(tabbar)
class Q_WIDGETS_EXPORT QStyleOptionHeader : public QStyleOption
@ -299,9 +294,6 @@ protected:
Q_DECLARE_OPERATORS_FOR_FLAGS(QStyleOptionTab::CornerWidgets)
typedef Q_DECL_DEPRECATED QStyleOptionTab QStyleOptionTabV2;
typedef Q_DECL_DEPRECATED QStyleOptionTab QStyleOptionTabV3;
typedef Q_DECL_DEPRECATED QStyleOptionTab QStyleOptionTabV4;
#endif // QT_CONFIG(tabbar)
@ -357,8 +349,6 @@ protected:
QStyleOptionProgressBar(int version);
};
typedef Q_DECL_DEPRECATED QStyleOptionProgressBar QStyleOptionProgressBarV2;
class Q_WIDGETS_EXPORT QStyleOptionMenuItem : public QStyleOption
{
public:
@ -408,8 +398,6 @@ protected:
QStyleOptionDockWidget(int version);
};
typedef Q_DECL_DEPRECATED QStyleOptionDockWidget QStyleOptionDockWidgetV2;
#if QT_CONFIG(itemviews)
class Q_WIDGETS_EXPORT QStyleOptionViewItem : public QStyleOption
@ -462,10 +450,6 @@ protected:
Q_DECLARE_OPERATORS_FOR_FLAGS(QStyleOptionViewItem::ViewItemFeatures)
typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV2;
typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV3;
typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4;
#endif // QT_CONFIG(itemviews)
class Q_WIDGETS_EXPORT QStyleOptionToolBox : public QStyleOption
@ -491,8 +475,6 @@ protected:
QStyleOptionToolBox(int version);
};
typedef Q_DECL_DEPRECATED QStyleOptionToolBox QStyleOptionToolBoxV2;
#if QT_CONFIG(rubberband)
class Q_WIDGETS_EXPORT QStyleOptionRubberBand : public QStyleOption
{