From 5c7c28117c51fab2256fbdfa5fb3e93282be9c8a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:04:33 -0600 Subject: [PATCH] Update qt3 to tqt3 conversion script --- qt3-tqt3/convert_qt_itself_qt3_batch2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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