#!/bin/bash

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QT_VERSION/TQT_VERSION/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QT_BUILD_KEY/TQT_BUILD_KEY/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_PACKED/TQ_PACKED/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_INT64_C/TQ_INT64_C/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_UINT64_C/TQ_UINT64_C/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_CHECK_PTR/TQ_CHECK_PTR/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_DISABLE_COPY/TQ_DISABLE_COPY/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QT_MODULE_/TQT_MODULE_/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TTQT_MODULE_/TQT_MODULE_/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/QT_TR_FUNCTIONS/TQT_TR_FUNCTIONS/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/Q_OBJECT/TQ_OBJECT/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/TTQ_OBJECT/TQ_OBJECT/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/RGB_MASK/TQT_RGB_MASK/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qRound/\1tqRound/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSwap/\1tqSwap/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstrlen/\1tqstrlen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstrncmp/\1tqstrncmp/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qUncompress/\1tqUncompress/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qCopy/\1tqCopy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qCopyBackward/\1tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qEqual/\1tqEqual/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qFill/\1tqFill/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qFind/\1tqFind/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qCount/\1tqCount/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qHash/\1tqHash/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qAppName/\1tqAppName/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qRound/tqRound/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSwap/tqSwap/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstrlen/tqstrlen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstrncmp/tqstrncmp/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qUncompress/tqUncompress/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qCopy/tqCopy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qCopyBackward/tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qEqual/tqEqual/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qFill/tqFill/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qFind/tqFind/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qCount/tqCount/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qHash/tqHash/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qAppName/tqAppName/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qRed/\1tqRed/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qGreen/\1tqGreen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qBlue/\1tqBlue/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qAlpha/\1tqAlpha/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qRgb/\1tqRgb/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qGray/\1tqGray/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qApp/\1tqApp/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qRed/tqRed/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qGreen/tqGreen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qBlue/tqBlue/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qAlpha/tqAlpha/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qRgb/tqRgb/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qGray/tqGray/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qApp/tqApp/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qAddPostRoutine/\1tqAddPostRoutine/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qWarning/\1tqWarning/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSharedBuild/\1tqSharedBuild/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qNetworkProtocolRegister/\1tqNetworkProtocolRegister/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qDebug/\1tqDebug/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qCompress/\1tqCompress/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qFatal/\1tqFatal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSqlDriverExtDict/\1tqSqlDriverExtDict/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSqlOpenExtDict/\1tqSqlOpenExtDict/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qInitNetworkProtocols/\1tqInitNetworkProtocols/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSuppressObsoleteWarnings/\1tqSuppressObsoleteWarnings/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qChecksum/\1tqChecksum/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qRemovePostRoutine/\1tqRemovePostRoutine/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qInstallPath/\1tqInstallPath/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qObsolete/\1tqObsolete/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qVersion/\1tqVersion/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSystemWarning/\1tqSystemWarning/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qSysInfo/\1tqSysInfo/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qAddPostRoutine/tqAddPostRoutine/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qWarning/tqWarning/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSharedBuild/tqSharedBuild/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qNetworkProtocolRegister/tqNetworkProtocolRegister/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qDebug/tqDebug/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qCompress/tqCompress/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qFatal/tqFatal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSqlDriverExtDict/tqSqlDriverExtDict/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSqlOpenExtDict/tqSqlOpenExtDict/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qInitNetworkProtocols/tqInitNetworkProtocols/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSuppressObsoleteWarnings/tqSuppressObsoleteWarnings/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qChecksum/tqChecksum/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qRemovePostRoutine/tqRemovePostRoutine/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qInstallPath/tqInstallPath/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qObsolete/tqObsolete/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qVersion/tqVersion/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSystemWarning/tqSystemWarning/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qSysInfo/tqSysInfo/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qmemmove/\1tqmemmove/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstrncpy/\1tqstrncpy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstrdup/\1tqstrdup/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstrnicmp/\1tqstrnicmp/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qstricmp/\1tqstricmp/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qmemmove/tqmemmove/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstrncpy/tqstrncpy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstrdup/tqstrdup/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstrnicmp/tqstrnicmp/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qstricmp/tqstricmp/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_get_application_thread_id/\1tqt_get_application_thread_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_x_user_time/\1tqt_x_user_time/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_xget_temp_gc/\1tqt_xget_temp_gc/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_has_xft/\1tqt_has_xft/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_modal_state/\1tqt_modal_state/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_check_pointer/\1tqt_check_pointer/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_preliminary_signal_spy/\1tqt_preliminary_signal_spy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_take_focus/\1tqt_wm_take_focus/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_global_mutexpool/\1tqt_global_mutexpool/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_xdisplay/\1tqt_xdisplay/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_resolve_symlinks/\1tqt_resolve_symlinks/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_qclipboard_bailout_hack/\1tqt_qclipboard_bailout_hack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_x_time/\1tqt_x_time/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_delete_window/\1tqt_wm_delete_window/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_qheader_label_return_null_strings/\1tqt_qheader_label_return_null_strings/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_xscreen/\1tqt_xscreen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_setAccelAutoShortcuts/\1tqt_setAccelAutoShortcuts/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_sm_client_id/\1tqt_sm_client_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_set_table_clipper_enabled/\1tqt_set_table_clipper_enabled/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_hebrew_keyboard_hack/\1tqt_hebrew_keyboard_hack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_use_native_dialogs/\1tqt_use_native_dialogs/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_generate_epsf/\1tqt_generate_epsf/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_xget_readonly_gc/\1tqt_xget_readonly_gc/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_use_xrender/\1tqt_use_xrender/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_set_x11_event_filter/\1tqt_set_x11_event_filter/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_xrootwin/\1tqt_xrootwin/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_protocols/\1tqt_wm_protocols/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_ftp_filename_codec/\1tqt_ftp_filename_codec/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_window_role/\1tqt_window_role/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_tab_all_widgets/\1tqt_tab_all_widgets/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_state/\1tqt_wm_state/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_get_application_thread_id/tqt_get_application_thread_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_x_user_time/tqt_x_user_time/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_xget_temp_gc/tqt_xget_temp_gc/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_has_xft/tqt_has_xft/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_modal_state/tqt_modal_state/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_check_pointer/tqt_check_pointer/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_preliminary_signal_spy/tqt_preliminary_signal_spy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_wm_take_focus/tqt_wm_take_focus/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_global_mutexpool/tqt_global_mutexpool/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_xdisplay/tqt_xdisplay/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_resolve_symlinks/tqt_resolve_symlinks/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_qclipboard_bailout_hack/tqt_qclipboard_bailout_hack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_x_time/tqt_x_time/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_wm_delete_window/tqt_wm_delete_window/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_qheader_label_return_null_strings/tqt_qheader_label_return_null_strings/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_xscreen/tqt_xscreen/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_setAccelAutoShortcuts/tqt_setAccelAutoShortcuts/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_sm_client_id/tqt_sm_client_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_set_table_clipper_enabled/tqt_set_table_clipper_enabled/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_hebrew_keyboard_hack/tqt_hebrew_keyboard_hack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_use_native_dialogs/tqt_use_native_dialogs/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_generate_epsf/tqt_generate_epsf/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_xget_readonly_gc/tqt_xget_readonly_gc/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_use_xrender/tqt_use_xrender/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_set_x11_event_filter/tqt_set_x11_event_filter/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_xrootwin/tqt_xrootwin/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_wm_protocols/tqt_wm_protocols/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_ftp_filename_codec/tqt_ftp_filename_codec/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_window_role/tqt_window_role/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_tab_all_widgets/tqt_tab_all_widgets/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_wm_state/tqt_wm_state/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_init/\1tqt_init/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_cleanup/\1tqt_cleanup/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_is_gui_used/\1tqt_is_gui_used/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_appType/\1tqt_appType/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_application_thread_id/\1tqt_application_thread_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_setMaxWindowRect/\1tqt_setMaxWindowRect/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_desktopWidget/\1tqt_desktopWidget/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_clipboard/\1tqt_clipboard/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_modal_stack/\1tqt_modal_stack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_std_pal/\1tqt_std_pal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_create_std_palette/\1tqt_create_std_palette/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_fix_tooltips/\1tqt_fix_tooltips/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_explicit_app_style/\1tqt_explicit_app_style/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_app_has_font/\1tqt_app_has_font/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_maxWindowRect/\1tqt_maxWindowRect/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_mutex/\1tqt_mutex/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_try_modal/\1tqt_try_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_enter_modal/\1tqt_enter_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_inheritedBy/\1tqt_inheritedBy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_leave_modal/\1tqt_leave_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryAccelEvent/\1tqt_tryAccelEvent/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_find_obj_child/\1tqt_find_obj_child/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryModalHelper/\1tqt_tryModalHelper/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_ucm_initialize/\1tqt_ucm_initialize/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryComposeUnicode/\1tqt_tryComposeUnicode/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_dispatchAccelEvent/\1tqt_dispatchAccelEvent/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_dispatchEnterLeave/\1tqt_dispatchEnterLeave/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_x11_enforce_cursor/\1tqt_x11_enforce_cursor/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_wait_for_window_manager/\1tqt_wait_for_window_manager/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_property/\1tqt_property/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_static_property/\1tqt_static_property/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_cast/\1tqt_cast/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_emit/\1tqt_emit/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/\([-()+/{*},.>!:=&[\t ]\)qt_invoke/\1tqt_invoke/g' {} \;

find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_init/tqt_init/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_cleanup/tqt_cleanup/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_is_gui_used/tqt_is_gui_used/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_appType/tqt_appType/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_application_thread_id/tqt_application_thread_id/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_setMaxWindowRect/tqt_setMaxWindowRect/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_desktopWidget/tqt_desktopWidget/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_clipboard/tqt_clipboard/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_modal_stack/tqt_modal_stack/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_std_pal/tqt_std_pal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_create_std_palette/tqt_create_std_palette/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_fix_tooltips/tqt_fix_tooltips/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_explicit_app_style/tqt_explicit_app_style/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_app_has_font/tqt_app_has_font/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_maxWindowRect/tqt_maxWindowRect/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_mutex/tqt_mutex/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_try_modal/tqt_try_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_enter_modal/tqt_enter_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_inheritedBy/tqt_inheritedBy/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_leave_modal/tqt_leave_modal/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_tryAccelEvent/tqt_tryAccelEvent/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_find_obj_child/tqt_find_obj_child/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_tryModalHelper/tqt_tryModalHelper/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_ucm_initialize/tqt_ucm_initialize/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_tryComposeUnicode/tqt_tryComposeUnicode/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_dispatchAccelEvent/tqt_dispatchAccelEvent/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_dispatchEnterLeave/tqt_dispatchEnterLeave/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_x11_enforce_cursor/tqt_x11_enforce_cursor/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_wait_for_window_manager/tqt_wait_for_window_manager/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_property/tqt_property/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_static_property/tqt_static_property/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_cast/tqt_cast/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_emit/tqt_emit/g' {} \;
find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/^qt_invoke/tqt_invoke/g' {} \;

exit 0
