summaryrefslogtreecommitdiffstats
path: root/plugins/src/inputmethods/imsw-multi
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/src/inputmethods/imsw-multi')
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp14
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h2
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.cpp2
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.h2
4 files changed, 10 insertions, 10 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;
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
index 3ef3ba4d2..f6ae6bb84 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
@@ -43,7 +43,7 @@
#ifndef TQMULTIINPUTCONTEXT_H
#define TQMULTIINPUTCONTEXT_H
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
#include <ntqnamespace.h>
#include <ntqwidget.h>
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.cpp
index 08d0a1ddd..942ee0251 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.cpp
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.cpp
@@ -40,7 +40,7 @@
**
**********************************************************************/
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
#include "qmultiinputcontext.h"
#include "qmultiinputcontextplugin.h"
#include <ntqinputcontextplugin.h>
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.h b/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.h
index 95c987925..5a399412a 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.h
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontextplugin.h
@@ -40,7 +40,7 @@
**
**********************************************************************/
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
#include "qmultiinputcontext.h"
#include <ntqinputcontextplugin.h>
#include <ntqstringlist.h>