Fix handling of Q*_OBJECT_NAME strings

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1231734 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent a0d6439b7f
commit fdcd92f402

@ -7,7 +7,8 @@ else
if [[ $QT_VER == 3 ]]; then
cat $1 | \
sed 's/TQ\([^T]\)/Q\1/g' | \
sed 's/TQT\([^_]\)/QT\1/g'
sed 's/TQT\([^_]\)/QT\1/g' | \
sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
fi
if [[ $QT_VER == 4 ]]; then

@ -7,7 +7,8 @@ else
if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
sed 's/TQ\([^T]\)/Q\1/g' | \
sed 's/TQT\([^_]\)/QT\1/g'
sed 's/TQT\([^_]\)/QT\1/g' | \
sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
fi
if [[ $QT_VERSION == 4 ]]; then

@ -9,6 +9,7 @@ else
sed -i 's/TQT\([^_]\)/QT\1/g' "$1"
sed -i 's/Q_SLOTS>/slots>/g' "$1"
sed -i 's/Q_SIGNALS>/signals>/g' "$1"
sed -i 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g' "$1"
exit 0
fi

Loading…
Cancel
Save