diff options
Diffstat (limited to 'qtinterface')
-rwxr-xr-x | qtinterface/tqt-replace | 1 | ||||
-rwxr-xr-x | qtinterface/tqt-replace-stream | 3 | ||||
-rwxr-xr-x | qtinterface/tqt-replace-stream.cmake | 3 | ||||
-rwxr-xr-x | qtinterface/tqt-replace.cmake | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/qtinterface/tqt-replace b/qtinterface/tqt-replace index 914732f..260e38e 100755 --- a/qtinterface/tqt-replace +++ b/qtinterface/tqt-replace @@ -17,6 +17,7 @@ else 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" + sed -i 's/Qt::Orientation::Orientation/g' "$1" exit 0 fi diff --git a/qtinterface/tqt-replace-stream b/qtinterface/tqt-replace-stream index 261146a..f017ed2 100755 --- a/qtinterface/tqt-replace-stream +++ b/qtinterface/tqt-replace-stream @@ -15,7 +15,8 @@ else sed 's/TQ_ENUMS/Q_ENUMS/g' | \ sed 's/TQ_SETS/Q_SETS/g' | \ sed 's/TQ_OVERRIDE/Q_OVERRIDE/g' | \ - sed 's/TQ_CLASSINFO/Q_CLASSINFO/g' + sed 's/TQ_CLASSINFO/Q_CLASSINFO/g' | \ + sed 's/Qt::Orientation::Orientation/g' fi if [[ $QT_VER == 4 ]]; then diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake index 84c1083..69b2dd5 100755 --- a/qtinterface/tqt-replace-stream.cmake +++ b/qtinterface/tqt-replace-stream.cmake @@ -15,7 +15,8 @@ else sed 's/TQ_ENUMS/Q_ENUMS/g' | \ sed 's/TQ_SETS/Q_SETS/g' | \ sed 's/TQ_OVERRIDE/Q_OVERRIDE/g' | \ - sed 's/TQ_CLASSINFO/Q_CLASSINFO/g' + sed 's/TQ_CLASSINFO/Q_CLASSINFO/g' | \ + sed 's/Qt::Orientation::Orientation/g' fi if [[ $QT_VERSION == 4 ]]; then diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake index 97ace27..07e1ca1 100755 --- a/qtinterface/tqt-replace.cmake +++ b/qtinterface/tqt-replace.cmake @@ -11,12 +11,13 @@ else 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" - sed -i sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' "$1" + sed -i '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" + sed -i 's/Qt::Orientation::Orientation/g' "$1" exit 0 fi |