QPixmap: fix the documenation for toHICON

The functions are now on QImage, not on QtWIn.

Change-Id: Ida777c7fc087bf673c5305beffb498ada115ed73
Pick-to: 6.7 6.6 6.5 6.2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2024-02-28 13:06:10 +01:00
parent 2bae857aad
commit b2c95e74a6

View File

@ -1280,8 +1280,9 @@ QPixmap QPixmap::transformed(const QTransform &transform,
QPixmap using the fromImage(). If this is too expensive an
operation, you can use QBitmap::fromImage() instead.
To convert a QPixmap to and from HICON you can use the QtWinExtras
functions QtWin::toHICON() and QtWin::fromHICON() respectively.
To convert a QPixmap to and from HICON you can use the
QImage::toHICON() and QImage::fromHICON() functions respectively
(after converting the QPixmap to a QImage, as explained above).
\section1 Pixmap Transformations