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_batch44
1 files changed, 4 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3_batch4 b/qt3-tqt3/convert_qt_itself_qt3_batch4
index f6594af..4a57746 100755
--- a/qt3-tqt3/convert_qt_itself_qt3_batch4
+++ b/qt3-tqt3/convert_qt_itself_qt3_batch4
@@ -75,6 +75,10 @@ find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/findtr/tqtf
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qtrename140/tqtrename140/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qt20fix/tqt20fix/g' {} \;
+# Fix documentation
+find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ Qt / TQt /g' {} \;
+find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([">]\)Qt /\1TQt /g' {} \;
+
# Clean up unintended renames
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ttqtconv2ui/tqtconv2ui/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ttqvfb/tqvfb/g' {} \;