From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp') 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 #include #include -#ifndef QT_NO_IM_EXTENSIONS +#ifndef TQT_NO_IM_EXTENSIONS #include #endif #include -#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; -- cgit v1.2.3