summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-06-16 23:54:58 +0900
committerMichele Calgaro <[email protected]>2019-06-17 00:01:26 +0900
commit7c8f13b0226ba6cda04862d6fd682cc658249b5f (patch)
treee67c4ef7f6e7e227df532f53e61d0d7c5ab6cf60 /plugins
parentd6375a54e2945d494df5ad38ca98cbc8b4d901e7 (diff)
downloadtqt3-7c8f13b0226ba6cda04862d6fd682cc658249b5f.tar.gz
tqt3-7c8f13b0226ba6cda04862d6fd682cc658249b5f.zip
Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.
(cherry picked and partially edited from commit 632cbaa30ac55924b21d9e65bbe261d592098553) Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp4
-rw-r--r--plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
index a721d9739..789f5b380 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 QT_NO_IM_EXTENSIONS
TQSettings settings;
diff --git a/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp b/plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.cpp
index 9f6014be5..a7b5007b2 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" );