You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
experimental/tqtinterface/conversion_scripts/convert_qt_itself7

84 lines
7.6 KiB

#!/bin/bash
find ./ -type f -iname "*" -exec sed -i 's/\"QPoint\"/TQPOINT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QByteArray\"/TQBYTEARRAY_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QPixmap\"/TQPIXMAP_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QString\"/TQSTRING_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QStringList\"/TQSTRINGLIST_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QLayout\"/TQLAYOUT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QBoxLayout\"/TQBOXLAYOUT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QHBoxLayout\"/TQHBOXLAYOUT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QVBoxLayout\"/TQVBOXLAYOUT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QGridLayout\"/TQGRIDLAYOUT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QHBox\"/TQHBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QVBox\"/TQVBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QGrid\"/TQGRID_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTabWidget\"/TQTABWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QCheckBox\"/TQCHECKBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QLineEdit\"/TQLINEEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTextEdit\"/TQTEXTEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QObject\"/TQOBJECT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QWidget\"/TQWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QGLWidget\"/TQGLWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QLabel\"/TQLABEL_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTimer\"/TQTIMER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QFrame\"/TQFRAME_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QAccel\"/TQACCEL_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDialog\"/TQDIALOG_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDial\"/TQDIAL_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QAction\"/TQACTION_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QActionGroup\"/TQACTIONGROUP_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QLCDNumber\"/TQLCDNUMBER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QProgressBar\"/TQPROGRESSBAR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTabDialog\"/TQTABDIALOG_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTabWidget\"/TQTABWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDockWindow\"/TQDOCKWINDOW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QGroupBox\"/TQGROUPBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QComboBox\"/TQCOMBOBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSpinBox\"/TQSPINBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSpinWidget\"/TQSPINWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QListBox\"/TQLISTBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QToolBox\"/TQTOOLBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QToolBoxButton\"/TQTOOLBOXBUTTON_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QVGroupBox\"/TQVGROUPBOX_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSplitter\"/TQSPLITTER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSplitterHandle\"/TQSPLITTERHANDLE_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QButton\"/TQBUTTON_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QGridView\"/TQGRIDVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSlider\"/TQSLIDER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QPushButton\"/TQPUSHBUTTON_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QToolButton\"/TQTOOLBUTTON_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QRadioButton\"/TQRADIOBUTTON_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QPopupMenu\"/TQPOPUPMENU_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QToolBar\"/TQTOOLBAR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QMenuBar\"/TQMENUBAR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTabBar\"/TQTABBAR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QListView\"/TQLISTVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QScrollBar\"/TQSCROLLBAR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QScrollView\"/TQSCROLLVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QRangeControl\"/TQRANGECONTROL_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QCanvasItem\"/TQCANVASITEM_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QIconView\"/TQICONVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QMultiLineEdit\"/TQMULTILINEEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QIntValidator\"/TQINTVALIDATOR_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDateEdit\"/TQDATEEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTimeEdit\"/TQTIMEEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDateTimeEdit\"/TQDATETIMEEDIT_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QHeader\"/TQHEADER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QSizeGrip\"/TQSIZEGRIP_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDockWindowHandle\"/TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QHideDock\"/TQHIDEDOCK_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTable\"/TQTABLE_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QWizard\"/TQWIZARD_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDataTable\"/TQDATATABLE_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDataBrowser\"/TQDATABROWSER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QDataView\"/TQDATAVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QMainWindow\"/TQMAINWINDOW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QWidgetStack\"/TQWIDGETSTACK_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QButtonGroup\"/TQBUTTONGROUP_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTextView\"/TQTEXTVIEW_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QTextBrowser\"/TQTEXTBROWSER_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QLayoutWidget\"/TQLAYOUTWIDGET_OBJECT_NAME_STRING/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/\"QMotifPlusStyle\"/TQMOTIFPLUSSTYLE_OBJECT_NAME_STRING/g' {} \;