diff options
Diffstat (limited to 'qtinterface/tqt-replace-stream')
-rwxr-xr-x | qtinterface/tqt-replace-stream | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream index ea20373..1b670c1 100755 --- a/qtinterface/tqt-replace-stream +++ b/qtinterface/tqt-replace-stream @@ -6,7 +6,8 @@ if [[ $1 == "" ]]; then else if [[ $QT_VER == 3 ]]; then cat $1 | \ - sed 's/TQ\([^T_]\)/Q\1/g' | \ + sed 's/^TQ\([^T_]\)/Q\1/g' | \ + sed 's/[^_]TQ\([^T_]\)/Q\1/g' | \ sed 's/TQT\([^_]\)/QT\1/g' | \ sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' fi |