diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-17 17:19:24 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-27 12:21:29 +0200 |
commit | dccf28b7c344822b7459635099ebe3abdf5fd107 (patch) | |
tree | 3acab7b16c02f87ace113cc2f0cc8d9598e219e4 /src/gui/painting/qbrush.cpp | |
parent | 4ba25a092065a6422510a9f4afa4fbbabeda686c (diff) |
Remove deprecated members from several QtGui classes
Those can be trivially removed as they have direct replacements, or
are completely unused.
The migration path for QCursor::bitmap and QCursor::mask is
QBitmap *pb = c.bitmap(); // up to 5.15, warns in 5.15
QBitmap vb = c.bitmap(Qt::ReturnByValue); // from 5.15, works in 6
QBitmap b = c.bitmap(); // from 6.0 on
Change-Id: I3b3acd1c7f09c4c8414e98b3ce11986f1ecd5eda
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/painting/qbrush.cpp')
-rw-r--r-- | src/gui/painting/qbrush.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index c8fc447446..172d51a487 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -908,20 +908,6 @@ void QBrush::setTransform(const QTransform &matrix) } -#if QT_DEPRECATED_SINCE(5, 15) -/*! - \fn void QBrush::matrix() const - \since 4.2 - \obsolete - - Use transform() instead. - - Returns the current transformation matrix for the brush. - - \sa setMatrix() -*/ -#endif // QT_DEPRECATED_SINCE(5, 15) - /*! \fn bool QBrush::operator!=(const QBrush &brush) const |