summaryrefslogtreecommitdiffstats
path: root/tqtinterface/conversion_scripts/convert_qt_itself5
blob: 57a472a689a8aad32434aa7145a5fb7a60136919 (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
#!/bin/bash

#find ./ -type f -iname "*" -exec sed -i 's/TQt::HorizontalLayout/HorizontalLayout/g' {} \;
#find ./ -type f -iname "*" -exec sed -i 's/TQt::VerticalLayout/VerticalLayout/g' {} \;
#find ./ -type f -iname "*" -exec sed -i 's/TQt::GridLayout/GridLayout/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Orientation/Qt::Orientation/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/setQt::Orientation/setOrientation/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQString::null/TQString()/g' {} \;
#find ./ -type f -iname "*" -exec sed -i 's/Dock/TQt::Dock/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::Qt::/Qt::/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/Qt::Qt::/Qt::/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/tqtqlayout\.h/tqlayout\.h/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/_tqlayout/_layout/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/[ ,(]Horizontal/Qt::Horizontal/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/[ ,(]Vertical/Qt::Vertical/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::Horizontal/Qt::Horizontal/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::Vertical/Qt::Vertical/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/TQt::LeftButton/Qt::LeftButton/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::RightButton/Qt::RightButton/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::MidButton/Qt::MidButton/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::NoButton/Qt::NoButton/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/TQt::ISODate/Qt::ISODate/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::TextDate/Qt::TextDate/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQt::LocalDate/Qt::LocalDate/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/TQ_OS_/Q_OS_/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQ_BYTE_ORDER/Q_BYTE_ORDER/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQ_BIG_ENDIAN/Q_BIG_ENDIAN/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQtWIN/QtWIN/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/TQUANT/QUANT/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/FRETQ/FREQ/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/_SETQ_/_SEQ_/g' {} \;


find ./ -type f -iname "*" -exec sed -i 's/_ETQUAL/_EQUAL/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/ComplexETQ/ComplexEQ/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/STQRT/SQRT/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/STQUARE/SQUARE/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/ktqlayout/klayout/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/tqttableview/qttableview/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/tqiomanager/qiomanager/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/TStringToTQString/TStringToQString/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQStringToTString/QStringToTString/g' {} \;

find ./ -type f -iname "*" -exec sed -i 's/::qt_cast/::tqqt_cast/g' {} \;