QPixmap: fix the documenation for toHICON

The functions are now on QImage, not on QtWIn.

Change-Id: Ida777c7fc087bf673c5305beffb498ada115ed73
Pick-to: 6.6 6.5 6.2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit b2c95e74a6ad97bdebd9d1fed8ffec065aba31f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Giuseppe D'Angelo 2024-02-28 13:06:10 +01:00 committed by Qt Cherry-pick Bot
parent b0d04b2273
commit 40425a35ca

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