blob: 638fd3c702991fcd16ade44b55d95c2393b361ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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
|