diff options
Diffstat (limited to 'qtinterface/tqt-replace')
-rwxr-xr-x | qtinterface/tqt-replace | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace index c84f376..e0b9e2b 100755 --- a/qtinterface/tqt-replace +++ b/qtinterface/tqt-replace @@ -5,7 +5,7 @@ if [[ $1 == "" ]]; then echo "Usage: tqt-replace <input_file>" else if [[ $QT_VER == 3 ]]; then - sed -i 's/TQ\([^T]\)/Q\1/g' "$1" + sed -i 's/TQ\([^T_]\)/Q\1/g' "$1" sed -i 's/TQT\([^_]\)/QT\1/g' "$1" sed -i 's/Q_SLOTS>/slots>/g' "$1" sed -i 's/Q_SIGNALS>/signals>/g' "$1" |