qt5base-lts/tests/auto/tools
Ahmad Samir b902b152af QObject: replace _q_reregisterTimers with a lambda
- Pass the QList by value, no heap allocation and no plain new/delete
- A lambda means that there isn't runtime string-based lookup to find
  the member method in QObjectPrivate

The code is only a couple of lines and used in a single place, so might
as well move the code from _q_reregisterTimers to the local lambda.

Modify tst_moc to account for the numer of methods in QObjectPrivate
changing. The test had hardcoded numbers.

Change-Id: I07906fc7138b8e601e4695f8d2de1b5fdd88449c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-07-31 01:52:25 +03:00
..
macdeployqt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
moc QObject: replace _q_reregisterTimers with a lambda 2023-07-31 01:52:25 +03:00
qdbuscpp2xml CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusxml2cpp qdbusxml2cpp: Improve error reporting 2023-07-06 21:51:25 +02:00
qmake CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qmakelib CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qt_cmake_create CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
rcc CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
uic CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
windeployqt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00