summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-02 01:55:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-02 01:55:28 +0200
commitd40da5242554e36f1c52a1ba6eb4d74da8cc3c28 (patch)
tree6e6fad65960d35ba1175b52e67d8a5cef3a15da2
parent5fc3ba9a47da58957a2666f73b137c19d2b0c918 (diff)
downloadexperimental-d40da5242554e36f1c52a1ba6eb4d74da8cc3c28.tar.gz
experimental-d40da5242554e36f1c52a1ba6eb4d74da8cc3c28.zip
Fix at this time unintended renaming of Q_OBJECT
-rwxr-xr-xqt3-tqt3/convert_existing_qt3_app_to_tqt33
1 files changed, 1 insertions, 2 deletions
diff --git a/qt3-tqt3/convert_existing_qt3_app_to_tqt3 b/qt3-tqt3/convert_existing_qt3_app_to_tqt3
index 55db71e..526262e 100755
--- a/qt3-tqt3/convert_existing_qt3_app_to_tqt3
+++ b/qt3-tqt3/convert_existing_qt3_app_to_tqt3
@@ -20,6 +20,7 @@ xargs -r0 sed -i \
# Back out changes we did not want to make
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \
+ -e 's/TQ_OBJECT/Q_OBJECT/g' \
-e 's/TQT_/QT_/g' \
-e 's/TQMAKE/QMAKE/g' \
-e 's/TQTDIR/QTDIR/g' \
@@ -58,8 +59,6 @@ xargs -r0 sed -i \
-e 's/QT_MODULE_/TQT_MODULE_/g' \
-e 's/TTQT_MODULE_/TQT_MODULE_/g' \
-e 's/QT_TR_FUNCTIONS/TQT_TR_FUNCTIONS/g' \
- -e 's/Q_OBJECT/TQ_OBJECT/g' \
- -e 's/TTQ_OBJECT/TQ_OBJECT/g' \
-e 's/RGB_MASK/TQT_RGB_MASK/g' \
\
-e 's/\([-()+/{*},.>!:=&[\t ]\)qRound/\1tqRound/g' \