summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt-replace.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-29 08:59:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-29 08:59:13 +0000
commitc0a0dbb535084b971cdc88299d0949aaed4d8a1f (patch)
treefb525044afababa7cf7b3a91a62e8d0ef9c7eb21 /qtinterface/tqt-replace.cmake
parent717d57b51a17d7eb8afa5a33d9df0d172adf2b1f (diff)
downloadtqtinterface-c0a0dbb535084b971cdc88299d0949aaed4d8a1f.tar.gz
tqtinterface-c0a0dbb535084b971cdc88299d0949aaed4d8a1f.zip
Fix TQt3 mocing of properties and enums
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1250067 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqt-replace.cmake')
-rwxr-xr-xqtinterface/tqt-replace.cmake5
1 files changed, 5 insertions, 0 deletions
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