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.
58 lines
4.2 KiB
58 lines
4.2 KiB
#!/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/tqfind\./find\./g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqdevice\./device\./g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqfind\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/find\1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqreplace\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/replace\1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqcontains\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/contains\1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqfind \([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/find \1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqreplace \([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/replace \1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqcontains \([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/contains \1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqstatus\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/status\1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqStatus\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/Status\1/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/findRev/tqfindRev/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/findRef/tqfindRef/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/qMakePair/tqMakePair/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/\.arg(/\.tqarg(/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/::clipboard()/::tqclipboard()/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/tqStatusBar/StatusBar/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/sockettqStatus/socketStatus/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/ranstqparent/ransparent/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/painttqdevice/paintdevice/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/staticTQString/staticQString/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/exittqStatus/exitStatus/g' {} \;
|
|
find ./ -type f -iname "*" -exec sed -i 's/utqmask/umask/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' {} \;
|