summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace-tqt3.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 15:08:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 15:08:43 -0600
commit0d688e3383b6ec087c0c4bd709ee86e22557686c (patch)
tree662a9208d9c7f83c52bcb591a9a48a9660862b8c /qtinterface/tqt-replace-tqt3.cmake
parent7aaf564f566307b7ec3688f60fd7452747a6e935 (diff)
downloadtqtinterface-0d688e3383b6ec087c0c4bd709ee86e22557686c.tar.gz
tqtinterface-0d688e3383b6ec087c0c4bd709ee86e22557686c.zip
Use only Q_OBJECT instead of both TQ_OBJECT and Q_OBJECT
Diffstat (limited to 'qtinterface/tqt-replace-tqt3.cmake')
-rwxr-xr-xqtinterface/tqt-replace-tqt3.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtinterface/tqt-replace-tqt3.cmake b/qtinterface/tqt-replace-tqt3.cmake
index 194d5ac..cb7de9c 100755
--- a/qtinterface/tqt-replace-tqt3.cmake
+++ b/qtinterface/tqt-replace-tqt3.cmake
@@ -6,5 +6,7 @@ if [[ $1 == "" ]]; then
else
sed -i 's/Q_SLOTS>/slots>/g' "$1"
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
+ sed -i 's/^Q_OBJECT/TQ_OBJECT/g' "$1"
+ sed -i 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g' "$1"
exit 0
fi