summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xqtinterface/tqt-replace5
-rwxr-xr-xqtinterface/tqt-replace-stream7
-rwxr-xr-xqtinterface/tqt-replace-stream.cmake7
-rwxr-xr-xqtinterface/tqt-replace.cmake5
4 files changed, 22 insertions, 2 deletions
diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace
index 3aa36a4..914732f 100755
--- a/qtinterface/tqt-replace
+++ b/qtinterface/tqt-replace
@@ -12,6 +12,11 @@ else
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
sed -i 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' "$1"
sed -i 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' "$1"
+ sed -i 's/TQ_PROPERTY/Q_PROPERTY/g' "$1"
+ sed -i 's/TQ_ENUMS/Q_ENUMS/g' "$1"
+ sed -i 's/TQ_SETS/Q_SETS/g' "$1"
+ sed -i 's/TQ_OVERRIDE/Q_OVERRIDE/g' "$1"
+ sed -i 's/TQ_CLASSINFO/Q_CLASSINFO/g' "$1"
exit 0
fi
diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream
index f063a34..261146a 100755
--- a/qtinterface/tqt-replace-stream
+++ b/qtinterface/tqt-replace-stream
@@ -10,7 +10,12 @@ else
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/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g'
+ sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' | \
+ sed 's/TQ_PROPERTY/Q_PROPERTY/g' | \
+ sed 's/TQ_ENUMS/Q_ENUMS/g' | \
+ sed 's/TQ_SETS/Q_SETS/g' | \
+ sed 's/TQ_OVERRIDE/Q_OVERRIDE/g' | \
+ sed 's/TQ_CLASSINFO/Q_CLASSINFO/g'
fi
if [[ $QT_VER == 4 ]]; then
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index ea269d0..84c1083 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -10,7 +10,12 @@ else
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/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g'
+ sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' | \
+ sed 's/TQ_PROPERTY/Q_PROPERTY/g' | \
+ sed 's/TQ_ENUMS/Q_ENUMS/g' | \
+ sed 's/TQ_SETS/Q_SETS/g' | \
+ sed 's/TQ_OVERRIDE/Q_OVERRIDE/g' | \
+ sed 's/TQ_CLASSINFO/Q_CLASSINFO/g'
fi
if [[ $QT_VERSION == 4 ]]; then
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake
index 4361a7a..97ace27 100755
--- a/qtinterface/tqt-replace.cmake
+++ b/qtinterface/tqt-replace.cmake
@@ -12,6 +12,11 @@ else
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
sed -i 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' "$1"
sed -i sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' "$1"
+ sed -i 's/TQ_PROPERTY/Q_PROPERTY/g' "$1"
+ sed -i 's/TQ_ENUMS/Q_ENUMS/g' "$1"
+ sed -i 's/TQ_SETS/Q_SETS/g' "$1"
+ sed -i 's/TQ_OVERRIDE/Q_OVERRIDE/g' "$1"
+ sed -i 's/TQ_CLASSINFO/Q_CLASSINFO/g' "$1"
exit 0
fi