diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp')
-rw-r--r-- | plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp index a721d9739..24259bd09 100644 --- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp +++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp @@ -40,18 +40,18 @@ ** **********************************************************************/ -#ifndef QT_NO_IM +#ifndef TQT_NO_IM #include "qmultiinputcontext.h" #include <ntqinputcontextfactory.h> #include <ntqstringlist.h> #include <ntqpopupmenu.h> -#ifndef QT_NO_IM_EXTENSIONS +#ifndef TQT_NO_IM_EXTENSIONS #include <ntqsettings.h> #endif #include <cstdlib> -#define QT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX +#define TQT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX TQMultiInputContext::TQMultiInputContext() : TQInputContext(), _slave( 0 ), imIndex( 0 ), cachedFocus( FALSE ), @@ -64,7 +64,7 @@ TQMultiInputContext::TQMultiInputContext() if ( getenv( "QT_IM_MODULE" ) ) { currentIMKey = getenv( "QT_IM_MODULE" ); } else { -#ifndef QT_NO_IM_EXTENSIONS +#ifndef TQT_NO_IM_EXTENSIONS TQSettings settings; currentIMKey = settings.readEntry( "/qt/DefaultInputMethod", "xim" ); #else @@ -100,7 +100,7 @@ bool TQMultiInputContext::x11FilterEvent( TQWidget *keywidget, XEvent *event ) bool TQMultiInputContext::filterEvent( const TQEvent *event ) { -#if !defined(QT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) +#if !defined(TQT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) if ( event->type() == TQEvent::KeyPress ) { TQKeyEvent *keyevent = (TQKeyEvent *)event; @@ -236,7 +236,7 @@ bool TQMultiInputContext::isPreeditRelocationEnabled() TQInputContext *TQMultiInputContext::slave() { if ( ! _slave ) { -#if !defined(QT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) +#if !defined(TQT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) changeInputMethod( imIndex ); #else changeInputMethod( currentIMKey ); @@ -253,7 +253,7 @@ const TQInputContext *TQMultiInputContext::slave() const void TQMultiInputContext::changeInputMethod( int newIndex ) { -#if !defined(QT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) +#if !defined(TQT_NO_IM_QMULTIINPUTCONTEXT_IMINDEX) TQStringList keys = TQInputContextFactory::keys(); if ( keys.size() == 0 ) return; |