summaryrefslogtreecommitdiffstats
path: root/src/inputmethod/qinputcontextfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmethod/qinputcontextfactory.cpp')
-rw-r--r--src/inputmethod/qinputcontextfactory.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/inputmethod/qinputcontextfactory.cpp b/src/inputmethod/qinputcontextfactory.cpp
index f57d3a3cf..ded0be5ba 100644
--- a/src/inputmethod/qinputcontextfactory.cpp
+++ b/src/inputmethod/qinputcontextfactory.cpp
@@ -39,7 +39,7 @@
#include "ntqinputcontextfactory.h"
#include "ntqinputcontext.h"
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
#include "ntqapplication.h"
@@ -51,7 +51,7 @@
#include "ntqcleanuphandler.h"
#include <private/qpluginmanager_p.h>
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
static TQPluginManager<TQInputContextFactoryInterface> *manager = 0;
@@ -80,7 +80,7 @@ static void create_manager()
cleanup_manager.set( &manager );
}
-#endif //QT_NO_COMPONENT
+#endif //TQT_NO_COMPONENT
/*!
@@ -92,7 +92,7 @@ TQInputContext *TQInputContextFactory::create( const TQString& key, TQWidget *wi
{
TQInputContext *ret = 0;
TQString inputcontext = key;
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
// make sure the manager is created
create_manager();
@@ -119,12 +119,12 @@ TQInputContext *TQInputContextFactory::create( const TQString& key, TQWidget *wi
TQStringList TQInputContextFactory::keys()
{
TQStringList list;
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
// make sure the manager is created
create_manager();
list = manager->featureList();
-#endif //QT_NO_COMPONENT
+#endif //TQT_NO_COMPONENT
return list;
}
@@ -133,7 +133,7 @@ TQStringList TQInputContextFactory::keys()
TQStringList TQInputContextFactory::languages( const TQString &key )
{
TQStringList result;
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
// make sure the manager is created
create_manager();
@@ -142,7 +142,7 @@ TQStringList TQInputContextFactory::languages( const TQString &key )
if ( iface )
result = iface->languages( key );
-#endif //QT_NO_COMPONENT
+#endif //TQT_NO_COMPONENT
return result;
}
@@ -151,7 +151,7 @@ TQStringList TQInputContextFactory::languages( const TQString &key )
TQString TQInputContextFactory::displayName( const TQString &key )
{
TQString result( "" );
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
// make sure the manager is created
create_manager();
@@ -160,7 +160,7 @@ TQString TQInputContextFactory::displayName( const TQString &key )
if ( iface )
result = iface->displayName( key );
-#endif //QT_NO_COMPONENT
+#endif //TQT_NO_COMPONENT
return result;
}
@@ -169,7 +169,7 @@ TQString TQInputContextFactory::displayName( const TQString &key )
TQString TQInputContextFactory::description( const TQString &key )
{
TQString result( "" );
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_COMPONENT
// make sure the manager is created
create_manager();
@@ -178,9 +178,9 @@ TQString TQInputContextFactory::description( const TQString &key )
if ( iface )
result = iface->description( key );
-#endif //QT_NO_COMPONENT
+#endif //TQT_NO_COMPONENT
return result;
}
-#endif // QT_NO_IM
+#endif // TQT_NO_IM