summaryrefslogtreecommitdiffstats
path: root/src/inputmethod
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/inputmethod
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/inputmethod')
-rw-r--r--src/inputmethod/ntqinputcontextfactory.h4
-rw-r--r--src/inputmethod/ntqinputcontextplugin.h4
-rw-r--r--src/inputmethod/qinputcontextfactory.cpp26
-rw-r--r--src/inputmethod/qinputcontextinterface_p.h8
-rw-r--r--src/inputmethod/qinputcontextplugin.cpp8
5 files changed, 25 insertions, 25 deletions
diff --git a/src/inputmethod/ntqinputcontextfactory.h b/src/inputmethod/ntqinputcontextfactory.h
index 29ecda7f3..9e0160630 100644
--- a/src/inputmethod/ntqinputcontextfactory.h
+++ b/src/inputmethod/ntqinputcontextfactory.h
@@ -40,7 +40,7 @@
#include "ntqstringlist.h"
#endif // QT_H
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
class TQInputContext;
class TQWidget;
@@ -54,6 +54,6 @@ public:
static TQString displayName( const TQString &key );
static TQString description( const TQString &key );
};
-#endif //QT_NO_IM
+#endif //TQT_NO_IM
#endif //TQINPUTCONTEXTFACTORY_H
diff --git a/src/inputmethod/ntqinputcontextplugin.h b/src/inputmethod/ntqinputcontextplugin.h
index bec6dc5be..5c99341de 100644
--- a/src/inputmethod/ntqinputcontextplugin.h
+++ b/src/inputmethod/ntqinputcontextplugin.h
@@ -43,7 +43,7 @@
#include "ntqstringlist.h"
#endif // QT_H
-#ifndef QT_NO_IM
+#ifndef TQT_NO_IM
class TQInputContext;
class TQInputContextPluginPrivate;
@@ -63,5 +63,5 @@ public:
private:
TQInputContextPluginPrivate *d;
};
-#endif // QT_NO_IM
+#endif // TQT_NO_IM
#endif // TQINPUTCONTEXTPLUGIN_H
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
diff --git a/src/inputmethod/qinputcontextinterface_p.h b/src/inputmethod/qinputcontextinterface_p.h
index 40574894e..fc2b50969 100644
--- a/src/inputmethod/qinputcontextinterface_p.h
+++ b/src/inputmethod/qinputcontextinterface_p.h
@@ -52,8 +52,8 @@
#include <private/qcom_p.h>
#endif // QT_H
-#ifndef QT_NO_IM
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_IM
+#ifndef TQT_NO_COMPONENT
class TQWidget;
class TQInputContext;
@@ -81,7 +81,7 @@ struct Q_EXPORT TQInputContextFactoryInterface : public TQFeatureListInterface
virtual TQString description( const TQString &key ) = 0;
};
-#endif //QT_NO_COMPONENT
-#endif //QT_NO_IM
+#endif //TQT_NO_COMPONENT
+#endif //TQT_NO_IM
#endif //TQINPUTCONTEXTINTERFACE_P_H
diff --git a/src/inputmethod/qinputcontextplugin.cpp b/src/inputmethod/qinputcontextplugin.cpp
index 3b474d2ff..48f9c0d4a 100644
--- a/src/inputmethod/qinputcontextplugin.cpp
+++ b/src/inputmethod/qinputcontextplugin.cpp
@@ -37,8 +37,8 @@
#include "ntqinputcontextplugin.h"
-#ifndef QT_NO_IM
-#ifndef QT_NO_COMPONENT
+#ifndef TQT_NO_IM
+#ifndef TQT_NO_COMPONENT
#include "qinputcontextinterface_p.h"
@@ -227,5 +227,5 @@ TQInputContextPlugin::~TQInputContextPlugin()
// don't delete d, as this is deleted by d
}
-#endif // QT_NO_COMPONENT
-#endif // QT_NO_IM
+#endif // TQT_NO_COMPONENT
+#endif // TQT_NO_IM