svn path=/branches/KDE4/; revision=1986
#! /bin/sh
-for i in `ls src/*.{cpp,h}`
-do
- indent -kr -nut -pmt -ss -bad -bap -prs -bap -nbc -nce -cdb -fca $i
- sed -e "s/} const const/}const/" -i $i
-done
\ No newline at end of file
+astyle --indent=spaces=4 --brackets=attach \
+ --indent-labels --unpad=paren \
+ --pad=oper --convert-tabs \
+ --indent-preprocessor \
+ `find -type f -wholename './src/*.cpp'` `find -type f -wholename './src/*.h'`
\ No newline at end of file