You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
experimental/qt3-tqt3/convert_qt_itself_qt3_batch2

48 lines
3.2 KiB

#!/bin/bash
find ./ -type f -iname "*" -exec sed -i 's/QT_VERSION_STR/TQT_VERSION_STR/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_VERSION/TQT_VERSION/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_BUILD_KEY/TQT_BUILD_KEY/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_PACKED/TQ_PACKED/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_INT64_C/TQ_INT64_C/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_UINT64_C/TQ_UINT64_C/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_CHECK_PTR/TQ_CHECK_PTR/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_DISABLE_COPY/TQ_DISABLE_COPY/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_MODULE_NETWORK/TQT_MODULE_NETWORK/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_MODULE_OPENGL/TQT_MODULE_OPENGL/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_MODULE_SQL/TQT_MODULE_SQL/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_MODULE_XML/TQT_MODULE_XML/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/\([-()+/{*},:[\t ]\)qRound/\1tqRound/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qSwap/\1tqSwap/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qstrlen/\1tqstrlen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qstrncmp/\1tqstrncmp/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qUncompress/\1tqUncompress/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qCopy/\1tqCopy/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qCopyBackward/\1tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qEqual/\1tqEqual/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qFill/\1tqFill/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qFind/\1tqFind/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qCount/\1tqCount/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qHash/\1tqHash/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},:[\t ]\)qAppName/\1tqAppName/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qRound/tqRound/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qSwap/tqSwap/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qstrlen/tqstrlen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qstrncmp/tqstrncmp/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qUncompress/tqUncompress/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qCopy/tqCopy/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qCopyBackward/tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qEqual/tqEqual/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qFill/tqFill/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qFind/tqFind/g' {} \;
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' {} \;
exit 0