Remove deprecated roles BackgroundColorRole and TextColorRole
Change-Id: I2729102d1efa9f3809ec22c29517961800e7dc6d Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
0ce37ab556
commit
4298385ec3
|
|
@ -1496,10 +1496,6 @@ namespace Qt {
|
|||
TextAlignmentRole = 7,
|
||||
BackgroundRole = 8,
|
||||
ForegroundRole = 9,
|
||||
#if QT_DEPRECATED_SINCE(5, 13) // ### Qt 6: remove me
|
||||
BackgroundColorRole Q_DECL_ENUMERATOR_DEPRECATED = BackgroundRole,
|
||||
TextColorRole Q_DECL_ENUMERATOR_DEPRECATED = ForegroundRole,
|
||||
#endif
|
||||
CheckStateRole = 10,
|
||||
// Accessibility
|
||||
AccessibleTextRole = 11,
|
||||
|
|
|
|||
|
|
@ -267,7 +267,6 @@ QSizeF QItemDelegatePrivate::doTextLayout(int lineWidth) const
|
|||
\row \li \l Qt::AccessibleTextRole \li QString
|
||||
\endomit
|
||||
\row \li \l Qt::BackgroundRole \li QBrush (\since 4.2)
|
||||
\row \li \l Qt::BackgroundColorRole \li QColor (obsolete; use Qt::BackgroundRole instead)
|
||||
\row \li \l Qt::CheckStateRole \li Qt::CheckState
|
||||
\row \li \l Qt::DecorationRole \li QIcon, QPixmap and QColor
|
||||
\row \li \l Qt::DisplayRole \li QString and types with a string representation
|
||||
|
|
@ -279,7 +278,6 @@ QSizeF QItemDelegatePrivate::doTextLayout(int lineWidth) const
|
|||
\endomit
|
||||
\row \li \l Qt::TextAlignmentRole \li Qt::Alignment
|
||||
\row \li \l Qt::ForegroundRole \li QBrush (\since 4.2)
|
||||
\row \li \l Qt::TextColorRole \li QColor (obsolete; use Qt::ForegroundRole instead)
|
||||
\omit
|
||||
\row \li \l Qt::ToolTipRole
|
||||
\row \li \l Qt::WhatsThisRole
|
||||
|
|
|
|||
|
|
@ -140,7 +140,6 @@ public:
|
|||
\row \li \l Qt::AccessibleTextRole \li QString
|
||||
\endomit
|
||||
\row \li \l Qt::BackgroundRole \li QBrush (\since 4.2)
|
||||
\row \li \l Qt::BackgroundColorRole \li QColor (obsolete; use Qt::BackgroundRole instead)
|
||||
\row \li \l Qt::CheckStateRole \li Qt::CheckState
|
||||
\row \li \l Qt::DecorationRole \li QIcon, QPixmap, QImage and QColor
|
||||
\row \li \l Qt::DisplayRole \li QString and types with a string representation
|
||||
|
|
@ -152,7 +151,6 @@ public:
|
|||
\endomit
|
||||
\row \li \l Qt::TextAlignmentRole \li Qt::Alignment
|
||||
\row \li \l Qt::ForegroundRole \li QBrush (\since 4.2)
|
||||
\row \li \l Qt::TextColorRole \li QColor (obsolete; use Qt::ForegroundRole instead)
|
||||
\omit
|
||||
\row \li \l Qt::ToolTipRole
|
||||
\row \li \l Qt::WhatsThisRole
|
||||
|
|
|
|||
Loading…
Reference in New Issue