summaryrefslogtreecommitdiffstats
path: root/qtinterface
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-13 19:30:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-13 19:30:34 +0000
commitc2c0603708e271d70ef63aa8ee0c87747c87e521 (patch)
tree4686ccdfb7a5c8b48294f908fe0b39d9b0dfecb3 /qtinterface
parentfdcd92f4028a1800c427dee8995984a835ef3146 (diff)
downloadtqtinterface-c2c0603708e271d70ef63aa8ee0c87747c87e521.tar.gz
tqtinterface-c2c0603708e271d70ef63aa8ee0c87747c87e521.zip
Attempt to fix other instances of TQ_* in .ui files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1231739 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface')
-rwxr-xr-xqtinterface/tqt-replace2
-rwxr-xr-xqtinterface/tqt-replace-stream2
-rwxr-xr-xqtinterface/tqt-replace-stream.cmake2
-rwxr-xr-xqtinterface/tqt-replace.cmake2
4 files changed, 4 insertions, 4 deletions
diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace
index c84f376..e0b9e2b 100755
--- a/qtinterface/tqt-replace
+++ b/qtinterface/tqt-replace
@@ -5,7 +5,7 @@ if [[ $1 == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
if [[ $QT_VER == 3 ]]; then
- sed -i 's/TQ\([^T]\)/Q\1/g' "$1"
+ sed -i 's/TQ\([^T_]\)/Q\1/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"
diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream
index bcf608d..ea20373 100755
--- a/qtinterface/tqt-replace-stream
+++ b/qtinterface/tqt-replace-stream
@@ -6,7 +6,7 @@ if [[ $1 == "" ]]; then
else
if [[ $QT_VER == 3 ]]; then
cat $1 | \
- sed 's/TQ\([^T]\)/Q\1/g' | \
+ sed 's/TQ\([^T_]\)/Q\1/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
fi
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
index 49b6d73..076c625 100755
--- a/qtinterface/tqt-replace-stream.cmake
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -6,7 +6,7 @@ if [[ $1 == "" ]]; then
else
if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
- sed 's/TQ\([^T]\)/Q\1/g' | \
+ sed 's/TQ\([^T_]\)/Q\1/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
sed 's/Q\([^ _]*\)_OBJECT_NAME_STRING/TQ\1_OBJECT_NAME_STRING/g'
fi
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake
index 3c5cb2a..704826f 100755
--- a/qtinterface/tqt-replace.cmake
+++ b/qtinterface/tqt-replace.cmake
@@ -5,7 +5,7 @@ if [[ $1 == "" ]]; then
echo "Usage: tqt-replace <input_file>"
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/TQT\([^_]\)/QT\1/g' "$1"
sed -i 's/Q_SLOTS>/slots>/g' "$1"
sed -i 's/Q_SIGNALS>/signals>/g' "$1"