summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/convert_qt_itself_qt3_batch2
blob: 2e11a8b0514fe116b181e1626944c2a158bc02e3 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/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/RGB_MASK/TQT_RGB_MASK/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' {} \;

find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRed/\1tqRed/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qGreen/\1tqGreen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qBlue/\1tqBlue/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qAlpha/\1tqAlpha/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qRgb/\1tqRgb/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qGray/\1tqGray/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\([-()+/{*},!:[\t ]\)qApp/\1tqApp/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/^qRed/tqRed/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qGreen/tqGreen/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qBlue/tqBlue/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qAlpha/tqAlpha/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qRgb/tqRgb/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qGray/tqGray/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/^qApp/tqApp/g' {} \;

exit 0