summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-12 14:08:42 +0900
committerMichele Calgaro <[email protected]>2024-02-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /plugins
parentfb401a891f1b426e9419c0cb16403df407138611 (diff)
downloadtqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz
tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp6
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h6
-rw-r--r--plugins/src/inputmethods/xim/qximinputcontext.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
index 4ff19772f..13ecf8112 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
@@ -90,12 +90,12 @@ TQString TQMultiInputContext::language()
}
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
bool TQMultiInputContext::x11FilterEvent( TQWidget *keywidget, XEvent *event )
{
return ( slave() ) ? slave()->x11FilterEvent( keywidget, event ) : FALSE;
}
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
bool TQMultiInputContext::filterEvent( const TQEvent *event )
@@ -189,7 +189,7 @@ void TQMultiInputContext::postIMEvent( TQObject *receiver, TQIMEvent *event )
}
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
TQWidget *TQMultiInputContext::focusWidget() const
{
return ( slave() ) ? slave()->focusWidget() : 0;
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
index fd10891fc..d64b54449 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.h
@@ -63,9 +63,9 @@ public:
TQString identifierName();
TQString language();
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
bool x11FilterEvent( TQWidget *keywidget, XEvent *event );
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
bool filterEvent( const TQEvent *event );
void reset();
@@ -81,7 +81,7 @@ public:
TQPtrList<TQInputContextMenu> *menus();
TQPopupMenu *createImSelPopup();
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
TQWidget *focusWidget() const;
TQWidget *holderWidget() const;
diff --git a/plugins/src/inputmethods/xim/qximinputcontext.h b/plugins/src/inputmethods/xim/qximinputcontext.h
index 243827355..d8b56a0b4 100644
--- a/plugins/src/inputmethods/xim/qximinputcontext.h
+++ b/plugins/src/inputmethods/xim/qximinputcontext.h
@@ -62,7 +62,7 @@ class TQFont;
class TQString;
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "ntqmemarray.h"
#include "ntqwindowdefs.h"
#include <private/qt_x11_p.h>
@@ -72,7 +72,7 @@ class TQXIMInputContext : public TQInputContext
{
TQ_OBJECT
public:
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
TQXIMInputContext();
~TQXIMInputContext();
@@ -121,7 +121,7 @@ private:
int lookupString(XKeyEvent *, TQCString &, KeySym *, Status *) const;
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
};