summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-stream
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt-replace-stream')
-rwxr-xr-xqtinterface/tqt-replace-stream3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream
index c0afb81..f063a34 100755
--- a/qtinterface/tqt-replace-stream
+++ b/qtinterface/tqt-replace-stream
@@ -9,7 +9,8 @@ else
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
- sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
+ sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' | \
+ sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g'
fi
if [[ $QT_VER == 4 ]]; then