From 632cbaa30ac55924b21d9e65bbe261d592098553 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 16 Jun 2019 23:54:58 +0900 Subject: Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020. Signed-off-by: Michele Calgaro --- plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp | 4 ++-- plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/src/inputmethods') diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp index 24259bd09..2d971691e 100644 --- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp +++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp @@ -61,8 +61,8 @@ TQMultiInputContext::TQMultiInputContext() keyDict.setAutoDelete( true ); keyDict.clear(); - if ( getenv( "QT_IM_MODULE" ) ) { - currentIMKey = getenv( "QT_IM_MODULE" ); + if ( getenv( "TQT_IM_MODULE" ) ) { + currentIMKey = getenv( "TQT_IM_MODULE" ); } else { #ifndef TQT_NO_IM_EXTENSIONS TQSettings settings; diff --git a/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp b/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp index f4d8e59ff..b42f126e0 100644 --- a/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp +++ b/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp @@ -70,8 +70,8 @@ TQInputContext *TQNoneInputContextPlugin::create( const TQString &key ) if ( ! isIMSwitcher ) return 0; - if ( getenv( "QT_IM_MODULE" ) ) { - actuallySpecifiedKey = getenv( "QT_IM_MODULE" ); + if ( getenv( "TQT_IM_MODULE" ) ) { + actuallySpecifiedKey = getenv( "TQT_IM_MODULE" ); } else { TQSettings settings; actuallySpecifiedKey = settings.readEntry( "/qt/DefaultInputMethod", "xim" ); -- cgit v1.2.1