diff --git a/tqtinterface/conversion_scripts/convert_qt_itself b/tqtinterface/conversion_scripts/convert_qt_itself index 1fa9020..d3bb3c4 100755 --- a/tqtinterface/conversion_scripts/convert_qt_itself +++ b/tqtinterface/conversion_scripts/convert_qt_itself @@ -79,59 +79,59 @@ find ./ -type f -iname "*" -exec sed -i 's/qGray/tqGray/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/qCompress/tqCompress/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/qInstallMsgHandler/tqInstallMsgHandler/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/parentWidget/tqparentWidget/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/childAt/tqchildAt/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/qAppName/tqAppName/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/qApp/tqApp/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/ttq/tq/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/ttq/tq/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/CursorShape/tqCursorShape/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/shape/tqshape/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/Status/tqStatus/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/metaObject/tqmetaObject/g' {} \; + + find ./ -type f -iname "*" -exec sed -i 's/find/tqfind/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/children/tqchildren/g' {} \; -#find ./ -type f -iname "*" -exec sed -i 's/setObjectName/tqsetObjectName/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/topLevelWidget/tqtopLevelWidget/g' {} \; + + find ./ -type f -iname "*" -exec sed -i 's/parent/tqparent/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/mask/tqmask/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/focusWidget/tqfocusWidget/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/contains/tqcontains/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/unicode/tqunicode/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/replace/tqreplace/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/signals/tqsignals/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/slots/tqslots/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/worldMatrix/tqworldMatrix/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/sizeHint/tqsizeHint/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/minimumSize/tqminimumSize/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/maximumSize/tqmaximumSize/g' {} \; + + + + find ./ -type f -iname "*" -exec sed -i 's/geometry/tqgeometry/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/spacerItem/tqspacerItem/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/layout/tqlayout/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/setAlignment/tqsetAlignment/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/invalidate/tqinvalidate/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/alignment/tqalignment/g' {} \; #find ./ -type f -iname "*" -exec sed -i 's/device/tqdevice/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/fromLatin1/tqfromLatin1/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/receivers/tqreceivers/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/encodedData/tqencodedData/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/currentDate/tqcurrentDate/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/styleHint/tqstyleHint/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/itemRect/tqitemRect/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/visualRect/tqvisualRect/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/drawControl/tqdrawControl/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/setSizePolicy/tqsetSizePolicy/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/pixelMetric/tqpixelMetric/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/drawComplexControl/tqdrawComplexControl/g' {} \; + + + + + + + + + find ./ -type f -iname "*" -exec sed -i 's/repaint/tqrepaint/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/colorGroup/tqcolorGroup/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/drawTextItem/tqdrawTextItem/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/setLibraryPaths/tqsetLibraryPaths/g' {} \; + + + find ./ -type f -iname "*" -exec sed -i 's/tqtq/tq/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqtq/tq/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/retqparent/reparent/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqshape.h/shape.h/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/XIMtqStatus/XIMStatus/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/xtqshape.test/xshape.test/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/::mapper/::wmapper()/g' {} \; diff --git a/tqtinterface/conversion_scripts/convert_qt_itself10 b/tqtinterface/conversion_scripts/convert_qt_itself10 index f115bee..4585b21 100755 --- a/tqtinterface/conversion_scripts/convert_qt_itself10 +++ b/tqtinterface/conversion_scripts/convert_qt_itself10 @@ -94,7 +94,7 @@ find ./ -type f -iname "*" -exec sed -i 's/tqparent\([_abcdefghijklmnopqrstuvwxy find ./ -type f -iname "*" -exec sed -i 's/tqmask\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/mask\1/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqlayout\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/layout\1/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqalignment\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/alignment\1/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/tqsizeHint\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/sizeHint\1/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/tqgeometry\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/geometry\1/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/layoutengine_p\.h/tqlayoutengine_p\.h/g' {} \; @@ -108,7 +108,7 @@ find ./ -type f -iname "*" -exec sed -i 's/tqcontains/contains/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqparent/parent/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqmask/mask/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/\"tqStatus/\"Status/g' {} \; + # Replace all last occurrences of tqStatus within a quoted string # find ./ -type f -iname "*" -exec sed -i 's/\(.*\)\"\([^"]*\)tqStatus\([^"]*\)\"\(.*\)/\1\"\2Status\3\"\4/g' {} \; diff --git a/tqtinterface/conversion_scripts/convert_qt_itself9 b/tqtinterface/conversion_scripts/convert_qt_itself9 index 789877d..41f77c9 100755 --- a/tqtinterface/conversion_scripts/convert_qt_itself9 +++ b/tqtinterface/conversion_scripts/convert_qt_itself9 @@ -11,18 +11,18 @@ find ./ -type f -iname "*" -exec sed -i 's/tqfind \([abcdefghijklmnopqrstuvwxyzA find ./ -type f -iname "*" -exec sed -i 's/tqreplace \([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/replace \1/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqcontains \([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/contains \1/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/tqstatus\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/status\1/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/tqStatus\([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/Status\1/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/findRev/tqfindRev/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/findRef/tqfindRef/g' {} \; + + + find ./ -type f -iname "*" -exec sed -i 's/qMakePair/tqMakePair/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/\.arg(/\.tqarg(/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/::clipboard()/::tqclipboard()/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/tqStatusBar/StatusBar/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/sockettqStatus/socketStatus/g' {} \; + + find ./ -type f -iname "*" -exec sed -i 's/ranstqparent/ransparent/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/painttqdevice/paintdevice/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/staticTQString/staticQString/g' {} \; -find ./ -type f -iname "*" -exec sed -i 's/exittqStatus/exitStatus/g' {} \; + find ./ -type f -iname "*" -exec sed -i 's/utqmask/umask/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/TQGpgME/QGpgME/g' {} \; find ./ -type f -iname "*" -exec sed -i 's/xTQGantt/xQGantt/g' {} \;