summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:04:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:04:33 -0600
commit5c7c28117c51fab2256fbdfa5fb3e93282be9c8a (patch)
tree77f7a33c3f3f3949730faa93db468aa8d1930358
parent61616eab1c768e1eb63dfb63f7d1750ceb27c087 (diff)
downloadexperimental-5c7c28117c51fab2256fbdfa5fb3e93282be9c8a.tar.gz
experimental-5c7c28117c51fab2256fbdfa5fb3e93282be9c8a.zip
Update qt3 to tqt3 conversion script
-rwxr-xr-xqt3-tqt3/convert_qt_itself_qt3_batch217
1 files changed, 17 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3_batch2 b/qt3-tqt3/convert_qt_itself_qt3_batch2
index dc5016e..2e11a8b 100755
--- a/qt3-tqt3/convert_qt_itself_qt3_batch2
+++ b/qt3-tqt3/convert_qt_itself_qt3_batch2
@@ -12,6 +12,7 @@ find ./ -type f -iname "*" -exec sed -i 's/TTQT_MODULE_/TQT_MODULE_/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_TR_FUNCTIONS/TQT_TR_FUNCTIONS/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_OBJECT/TQ_OBJECT/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TTQ_OBJECT/TQ_OBJECT/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/RGB_MASK/TQT_RGB_MASK/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRound/\1tqRound/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qSwap/\1tqSwap/g' {} \;
@@ -41,4 +42,20 @@ find ./ -type f -iname "*" -exec sed -i 's/^qCount/tqCount/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qHash/tqHash/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qAppName/tqAppName/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRed/\1tqRed/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qGreen/\1tqGreen/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qBlue/\1tqBlue/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qAlpha/\1tqAlpha/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRgb/\1tqRgb/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qGray/\1tqGray/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qApp/\1tqApp/g' {} \;
+
+find ./ -type f -iname "*" -exec sed -i 's/^qRed/tqRed/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qGreen/tqGreen/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qBlue/tqBlue/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qAlpha/tqAlpha/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qRgb/tqRgb/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qGray/tqGray/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/^qApp/tqApp/g' {} \;
+
exit 0