aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level0/README-connect-not-normalized.md
blob: 3931fd6977caf5b46fa0904680a6c014df71ae51 (plain)
1
2
3
4
5
6
7
8
9
10
# connect-not-normalized

Warns when the contents of `SIGNAL()`, `SLOT()`, `Q_ARG()` and `Q_RETURN_ARG()` are not normalized.

Using normalized signatures allows to avoid unneeded memory allocations.

For signals and slots it only warns for `connect` statements, not `disconnect`, since it only
impacts the performance of the former.

See `QMetaObject::normalizedSignature()` for more information.