diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-17 17:28:11 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-17 17:28:11 -0500 |
commit | 801804fa5c671c1ee834a183417ae22c53720622 (patch) | |
tree | 3587461d8cbb61c9f1265e27aca779a3b9c4cd5d | |
parent | 47e72a74ff51d36fd58352a548f76e6981946a5c (diff) | |
download | experimental-801804fa5c671c1ee834a183417ae22c53720622.tar.gz experimental-801804fa5c671c1ee834a183417ae22c53720622.zip |
Update qt3 to tqt3 converter
-rwxr-xr-x | qt3-tqt3/convert_qt_itself_qt3_batch3 | 19 | ||||
-rwxr-xr-x | qt3-tqt3/create_tqt3_from_qt3 | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3_batch3 b/qt3-tqt3/convert_qt_itself_qt3_batch3 new file mode 100755 index 0000000..41596b5 --- /dev/null +++ b/qt3-tqt3/convert_qt_itself_qt3_batch3 @@ -0,0 +1,19 @@ +#!/bin/bash + +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_INT8/TQ_INT8/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_INT16/TQ_INT16/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_INT32/TQ_INT32/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_INT64/TQ_INT64/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_UINT8/TQ_UINT8/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_UINT16/TQ_UINT16/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_UINT32/TQ_UINT32/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_UINT64/TQ_UINT64/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_LONG/TQ_LONG/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_LLONG/TQ_LLONG/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_ULONG/TQ_ULONG/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_ULLONG/TQ_ULLONG/g' {} \; + +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TTQ_INT/TQ_INT/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TTQ_UINT/TQ_UINT/g' {} \; + +exit 0 diff --git a/qt3-tqt3/create_tqt3_from_qt3 b/qt3-tqt3/create_tqt3_from_qt3 index d1bf9a7..868821e 100755 --- a/qt3-tqt3/create_tqt3_from_qt3 +++ b/qt3-tqt3/create_tqt3_from_qt3 @@ -7,6 +7,7 @@ cd tqt3 patch -p0 < ../tqt3_fixups_batch2.diff ../convert_qt_itself_qt3_batch2 patch -p0 < ../tqt3_fixups_batch3.diff +../convert_qt_itself_qt3_batch3 # Regenerate moc files cd src/moc/ |