plasma-framework/src/tools/port-qslots.sh

12 lines
211 B
Bash
Raw Normal View History

2013-08-09 04:07:59 +02:00
#!/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;