util/normalize/README
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:40:16 +0200
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201007

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/...