qt5base-lts/examples/corelib/threads/mandelbrot
Rym Bouabid 2a2275756b Revamp Mandelbrot example: Declare slots as methods instead
Declare zoom as a method because it's never used as a slot.

Declare updatePixmap as a method because it's used as a slot
as pointer-to-member-function, so it doesn't need help from moc.

Q_OBJECT is not needed anymore as the MandelbrotWidget class
doesn't contain signals ans slots anymore. It's replaced by
Q_DECLARE_TR_FUNCTIONS because we are using tr() function.

Fixes: QTBUG-108861
Pick-to: 6.6 6.5 6.6.0
Change-Id: I9a1d66711cdc9f0ca5a1bc6645f7e0ed3395645c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-09-13 20:45:17 +02:00
..
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
main.cpp Revamp Mandelbrot example: Use a Literal operator to create QString 2023-09-11 15:05:47 +02:00
mandelbrot.pro mandelbrot example: Remove explicit linking against libm 2021-12-17 10:38:50 +01:00
mandelbrotwidget.cpp Revamp Mandelbrot example: Add const/constexpr when applicable 2023-09-13 20:45:16 +02:00
mandelbrotwidget.h Revamp Mandelbrot example: Declare slots as methods instead 2023-09-13 20:45:17 +02:00
renderthread.cpp Revamp Mandelbrot example: Add const/constexpr when applicable 2023-09-13 20:45:16 +02:00
renderthread.h examples/: fix compiler warnings -Wdeprecated-enum-float-conversion 2023-08-18 23:35:52 +03:00