T009 - Normalised signal/slot signatures in QT

Issue #57 wontfix
Philippe FOUBERT created an issue

In QT, normalised signal/slot signatures are more efficient. For example, instead of

SIGNAL(rowsInserted(const QModelIndex &, int, const int))

it is better to write

SIGNAL(rowsInserted(QModelIndex,int,int))

This rule should exclude the text used into the macros SIGNAL and SLOT from the analysis.

Comments (1)

  1. Gaƫtan Lehmann

    While the problem is perfectly valid in your case, the rule provided by vera++ should be seen more as examples then something usable with all the libraries. In order to keep them not to complicated, we will avoid to add library specific cases like this one.

  2. Log in to comment