summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt-replace.cmake')
-rwxr-xr-xqtinterface/tqt-replace.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake
index 1542ce4..e580894 100755
--- a/qtinterface/tqt-replace.cmake
+++ b/qtinterface/tqt-replace.cmake
@@ -6,7 +6,7 @@ if [[ $1 == "" ]]; then
else
if [[ $QT_VERSION == 3 ]]; then
sed -i 's/^TQ\([^T_]\)/Q\1/g' "$1"
- sed -i 's/[^_]TQ\([^T_]\)/Q\1/g' "$1"
+ sed -i 's/\([^_]\)TQ\([^T_]\)/\1Q\2/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"