|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQT_VERSION/\[\[\[TQT_VERSION IS DEPRECATED\]\]\]/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/CONSETQUENTIAL/CONSEQUENTIAL/g' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqstatus\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/status\1/g' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/qMakePair/tqMakePair/g' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/staticTQString/staticQString/g' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQGpgME/QGpgME/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/xTQGantt/xQGantt/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQSync/QSync/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQtDebugMsg/QtDebugMsg/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQtWarningMsg/QtWarningMsg/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQtFatalMsg/QtFatalMsg/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQCStringList/QCStringList/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQLayoutStruct/QLayoutStruct/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQ_CHECK_PTR/Q_CHECK_PTR/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQUEST/QUEST/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQUENCE/QUENCE/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQPARTICI/QPARTICI/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/OPATQUE/OPAQUE/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TQ_ENUMS/Q_ENUMS/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/TTQ/TQ/g' {} \;
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/#include \"\(.*\)\.tqmoc\"/#include \"\1\.moc\"/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/#include <\(.*\)\.tqmoc>/#include <\1\.moc>/g' {} \;
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec perl -i -p -e 's/TQ_OBJECT\n/Q_OBJECT\n TQ_OBJECT\n/' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec perl -i -p -e 's/Q_OBJECT\nQ_OBJECT\n TQ_OBJECT\n/Q_OBJECT\n TQ_OBJECT\n/' {} \;
|
|
|
|
|
|
|
|
# NOTE
|
|
|
|
# These should be rerun after manual Qt4 porting completion
|
|
|
|
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::StrongFocus/TQ_StrongFocus/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::NoFocus/TQ_NoFocus/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::WheelFocus/TQ_WheelFocus/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::ClickFocus/TQ_ClickFocus/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::TabFocus/TQ_TabFocus/g' {} \;
|
|
|
|
find ./ -type f -iname "*" -exec sed -i 's/Qt::FocusPolicy/TQ_FocusPolicy/g' {} \;
|