diff --git a/qt3-tqt3/convert_qt_itself_qt3_batch4 b/qt3-tqt3/convert_qt_itself_qt3_batch4 new file mode 100755 index 0000000..0cb8f89 --- /dev/null +++ b/qt3-tqt3/convert_qt_itself_qt3_batch4 @@ -0,0 +1,9 @@ +#!/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' {} \; + +exit 0 diff --git a/qt3-tqt3/create_tqt3_from_qt3 b/qt3-tqt3/create_tqt3_from_qt3 index fc9232a..e5ae5b5 100755 --- a/qt3-tqt3/create_tqt3_from_qt3 +++ b/qt3-tqt3/create_tqt3_from_qt3 @@ -10,6 +10,7 @@ patch -p0 < ../tqt3_fixups_batch3.diff ../convert_qt_itself_qt3_batch3 patch -p0 < ../tqt3_bin_rename.diff patch -p0 < ../tqt3_fixups_batch4.diff +../convert_qt_itself_qt3_batch4 # Regenerate moc files cd src/moc/