0
|
1 |
This tool greps through files for SIGNAL() or SLOT() macros and pipes the signals/slots
|
|
2 |
through QMetaObject::normalizedSignature().
|
|
3 |
|
|
4 |
Rationale: In connect statements, you'll get a micro-speed update when passing in normalized
|
|
5 |
signatures for signals and slots.
|
|
6 |
|
|
7 |
Run it without any arguments to see the command line parameters.
|
|
8 |
|
|
9 |
Typical usage on Qt:
|
|
10 |
|
|
11 |
# find all files with non-normalized signal/slot connections and p4 edit them
|
|
12 |
normalize $QTDIR/src | xargs p4 edit
|
|
13 |
# replace all non-normalized signal/slots
|
|
14 |
normalize --modify $QTDIR/src
|
|
15 |
# p4 diff to see that everything is OK then submit :)
|
|
16 |
p4 submit $QTDIR/src/...
|