summaryrefslogtreecommitdiffstats
path: root/conversions
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-06 17:55:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-27 12:45:34 +0900
commit1a7fabe6cbba2f584fe8a29a61b4e3fef8314a94 (patch)
tree7a462463a25e31521bbe0499f0788937246abcfe /conversions
parentca3e3d74e5d42e9886a2fbab27893886a1f3fe2f (diff)
downloadscripts-master.tar.gz
scripts-master.zip
Add guiThread --> coreThread to conversion scripts and to r14.1.x backporting scriptHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'conversions')
-rwxr-xr-xconversions/qt3-tqt3/convert_existing_qt3_app_to_tqt39
1 files changed, 9 insertions, 0 deletions
diff --git a/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 b/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3
index 1b8976c..7b51767 100755
--- a/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3
+++ b/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3
@@ -371,6 +371,15 @@ xargs -r0 sed -i \
-e 's/ubitquitous/ubiquitous/g' \
-e 's/unitquifying/uniquifying/g'
+# Additional changes for TDE R14.2.0+
+find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
+xargs -r0 sed -i \
+ -e "s|\bguiThread\b|coreThread|g" \
+ -e "s|\bguiThreadAwake\b|coreThreadAwake|g" \
+ -e "s|\bfinishGuiThread\b|finishCoreThread|g" \
+ -e "s|\bisGuiThread\b|isCoreThread|g" \
+ -e "s|\bwakeUpGuiThread\b|wakeUpCoreThread|g"
+
# Headers
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \