Update qt3 to tqt3 conversion script

pull/1/head
Timothy Pearson 13 years ago
parent 61616eab1c
commit 5c7c28117c

@ -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

Loading…
Cancel
Save