katie/util/normalize
Ivailo Monev 8e2525fb74 rework katie_setup_targets() and bump minimum CMake requirement
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-25 04:39:23 +00:00
..
CMakeLists.txt rework katie_setup_targets() and bump minimum CMake requirement 2016-08-25 04:39:23 +00:00
main.cpp fix build of normalize utility 2015-12-18 20:09:46 +02:00
README initial import 2015-12-10 05:06:13 +02:00

This tool greps through files for SIGNAL() or SLOT() macros and pipes the signals/slots
through QMetaObject::normalizedSignature().

Rationale: In connect statements, you'll get a micro-speed update when passing in normalized
signatures for signals and slots.

Run it without any arguments to see the command line parameters.

Typical usage on Qt:

# find all files with non-normalized signal/slot connections and p4 edit them
normalize $QTDIR/src | xargs p4 edit
# replace all non-normalized signal/slots
normalize --modify $QTDIR/src
# p4 diff to see that everything is OK then submit :)
p4 submit $QTDIR/src/...