Added processing kcfg files in script convert_existing_qt3_app_to_tqt3

pull/1/head
Francois Andriot 12 years ago committed by Slávek Banko
parent d45374a2c0
commit 46961dbcaf

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
find ./ -type f -iname "*.c*" -o -iname "*.h*" -o -iname "*.ui*" -not -iwholename '*.git*' |\ find ./ -type f -iname "*.c*" -o -iname "*.h*" -o -iname "*.ui*" -o -name "*.kcfg" -not -iwholename '*.git*' |\
tr "\n" "\0" |\ tr "\n" "\0" |\
xargs -r0 sed -i \ xargs -r0 sed -i \
-e 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' \ -e 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' \

Loading…
Cancel
Save