From e75a964bfaab89c1ccd9530795c23556b22291cd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:01 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 44bcd47cf37723ecfa8bb432403d2bea59988773. --- 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 3c49ac9..eee091e 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()/->children()/g' {} \; +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()/mask()/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