Branch: master

65b44e24 2015-03-05 13:16:38 Timothy Pearson
Fix icon view widget header location and rename Qt to TQt in documentation
M qt3-tqt3/convert_qt_itself_qt3_batch4
M qt3-tqt3/header_rename_3
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/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' {} \;
diff --git a/qt3-tqt3/header_rename_3 b/qt3-tqt3/header_rename_3
index 8433459..39d7bf5 100755
--- a/qt3-tqt3/header_rename_3
+++ b/qt3-tqt3/header_rename_3
@@ -140,7 +140,7 @@
 rm -f ntqhostaddress.h && ln -s ../src/network/ntqhostaddress.h ntqhostaddress.h
 rm -f ntqhttp.h && ln -s ../src/network/ntqhttp.h ntqhttp.h
 rm -f ntqiconset.h && ln -s ../src/kernel/ntqiconset.h ntqiconset.h
-rm -f ntqiconview.h && ln -s ../src/iconview/ntqiconview.h ntqiconview.h
+rm -f ntqiconview.h && ln -s ../src/widgets/ntqiconview.h ntqiconview.h
 # rm -f ntqimageformatinterface_p.h && ln -s ../src/kernel/ntqimageformatinterface_p.h ntqimageformatinterface_p.h
 rm -f ntqimageformatplugin.h && ln -s ../src/kernel/ntqimageformatplugin.h ntqimageformatplugin.h
 rm -f ntqimage.h && ln -s ../src/kernel/ntqimage.h ntqimage.h