Add replacement message to deprecation of QImage::alphaChannel()
Change-Id: I1d8afecc6da5df6fef72ecc59d14ac455c43d9a6 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
a434880e62
commit
462c2745a5
|
|
@ -267,7 +267,8 @@ public:
|
|||
bool hasAlphaChannel() const;
|
||||
void setAlphaChannel(const QImage &alphaChannel);
|
||||
#if QT_DEPRECATED_SINCE(5, 15)
|
||||
QT_DEPRECATED QImage alphaChannel() const;
|
||||
QT_DEPRECATED_X("Use convertToFormat(QImage::Format_Alpha8)")
|
||||
QImage alphaChannel() const;
|
||||
#endif
|
||||
QImage createAlphaMask(Qt::ImageConversionFlags flags = Qt::AutoColor) const;
|
||||
#ifndef QT_NO_IMAGE_HEURISTIC_MASK
|
||||
|
|
|
|||
Loading…
Reference in New Issue