From 2c5871b2ce4b61be3a84f40be1ca77c0ab0baf91 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:43:24 -0600 Subject: Remove additional unneeded tq method conversions --- qtinterface/convert_qt_tqt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtinterface/convert_qt_tqt2') diff --git a/qtinterface/convert_qt_tqt2 b/qtinterface/convert_qt_tqt2 index eee091e..d63048c 100755 --- a/qtinterface/convert_qt_tqt2 +++ b/qtinterface/convert_qt_tqt2 @@ -996,12 +996,12 @@ find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; # Convert a few items that have changed too subtly to override in the TQT interface layer -find ./ -type f -iname "*.c*" -exec sed -i 's/->children()/->tqchildren()/g' {} \; + find ./ -type f -iname "*.c*" -exec sed -i 's/access != QMetaData::/tqaccess != QMetaData::/g' {} \; find ./ -type f -iname "*.c*" -exec sed -i 's/colorTable()/ptrColorTable()/g' {} \; find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleOption::Default/QStyleOption::TQSO_Default/g' {} \; find ./ -type f -iname "*.c*" -exec sed -i 's/::qt_cast/tqqt_cast/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/mask()/tqmask()/g' {} \; + # Back out some common mistakes find ./ -type f -iname "*.c*" -exec sed -i 's/\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)TQ/\1Q/g' {} \; -- cgit v1.2.1