plasma-framework/src/tools/port-qslots.sh
2014-04-26 01:48:37 +02:00

12 lines
211 B
Bash
Executable File

#!/bin/sh
# slots -> Q_SLOTS, signals -> Q_SIGNALS
for FS in `find $PWD -type f -name '*.h'`; do
perl -p -i -e 's/ slots\:/ Q_SLOTS\:/g' $FS
perl -p -i -e 's/signals\:/Q_SIGNALS\:/g' $FS
done
#exit;