summaryrefslogtreecommitdiffstats
path: root/conversions/qt3-tqt3/convert_qt_itself_qt3_batch3
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-04-05 00:23:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-04-05 00:23:54 +0900
commita7c35253fa86ccaba568822a967af03ea263bbc0 (patch)
tree95de61c9fac1dc45624f731377ebf44cdd1b26da /conversions/qt3-tqt3/convert_qt_itself_qt3_batch3
parent428c2d88b4ac80df001d25973a1511d6a3d424c6 (diff)
downloadscripts-a7c35253fa86ccaba568822a967af03ea263bbc0.tar.gz
scripts-a7c35253fa86ccaba568822a967af03ea263bbc0.zip
Moved conversion scripts from experimental repository.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'conversions/qt3-tqt3/convert_qt_itself_qt3_batch3')
-rwxr-xr-xconversions/qt3-tqt3/convert_qt_itself_qt3_batch319
1 files changed, 19 insertions, 0 deletions
diff --git a/conversions/qt3-tqt3/convert_qt_itself_qt3_batch3 b/conversions/qt3-tqt3/convert_qt_itself_qt3_batch3
new file mode 100755
index 0000000..41596b5
--- /dev/null
+++ b/conversions/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