summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/convert_qt_itself_qt3_batch2
blob: dc5016e9ad4410b3c420a0c7e21665ae39047ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash

find ./ -type f -iname "*" -exec sed -i 's/QT_VERSION/TQT_VERSION/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_BUILD_KEY/TQT_BUILD_KEY/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_PACKED/TQ_PACKED/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_INT64_C/TQ_INT64_C/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_UINT64_C/TQ_UINT64_C/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_CHECK_PTR/TQ_CHECK_PTR/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_DISABLE_COPY/TQ_DISABLE_COPY/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_MODULE_/TQT_MODULE_/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TTQT_MODULE_/TQT_MODULE_/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/QT_TR_FUNCTIONS/TQT_TR_FUNCTIONS/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Q_OBJECT/TQ_OBJECT/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TTQ_OBJECT/TQ_OBJECT/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRound/\1tqRound/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qSwap/\1tqSwap/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qstrlen/\1tqstrlen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qstrncmp/\1tqstrncmp/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qUncompress/\1tqUncompress/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qCopy/\1tqCopy/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qCopyBackward/\1tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qEqual/\1tqEqual/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qFill/\1tqFill/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qFind/\1tqFind/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qCount/\1tqCount/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qHash/\1tqHash/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qAppName/\1tqAppName/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/^qRound/tqRound/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qSwap/tqSwap/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qstrlen/tqstrlen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qstrncmp/tqstrncmp/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qUncompress/tqUncompress/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qCopy/tqCopy/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qCopyBackward/tqCopyBackward/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qEqual/tqEqual/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qFill/tqFill/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qFind/tqFind/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qCount/tqCount/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qHash/tqHash/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qAppName/tqAppName/g' {} \;

exit 0