You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
experimental/qt3-tqt3/convert_qt_itself_qt3_batch4

14 lines
832 B

#!/bin/bash
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_PROPERTY/TQ_PROPERTY/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_ENUMS/TQ_ENUMS/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_SETS/TQ_SETS/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_OVERRIDE/TQ_OVERRIDE/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_CLASSINFO/TQ_CLASSINFO/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QT_POINTER_SIZE/TQT_POINTER_SIZE/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([^T]\)Qt3/\1TQt3/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qt_main_thread/tqt_main_thread/g' {} \;
exit 0