summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/convert_qt_itself_qt3_batch4
diff options
context:
space:
mode:
Diffstat (limited to 'qt3-tqt3/convert_qt_itself_qt3_batch4')
-rwxr-xr-xqt3-tqt3/convert_qt_itself_qt3_batch49
1 files changed, 9 insertions, 0 deletions
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