Convert property/enum macros to TQ syntax

pull/1/head
Timothy Pearson 12 years ago
parent 467f30f25e
commit 5759106d50

@ -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

@ -10,6 +10,7 @@ patch -p0 < ../tqt3_fixups_batch3.diff
../convert_qt_itself_qt3_batch3 ../convert_qt_itself_qt3_batch3
patch -p0 < ../tqt3_bin_rename.diff patch -p0 < ../tqt3_bin_rename.diff
patch -p0 < ../tqt3_fixups_batch4.diff patch -p0 < ../tqt3_fixups_batch4.diff
../convert_qt_itself_qt3_batch4
# Regenerate moc files # Regenerate moc files
cd src/moc/ cd src/moc/

Loading…
Cancel
Save