summaryrefslogtreecommitdiffstats
path: root/tdecore/kglobalaccel_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kglobalaccel_x11.cpp')
-rw-r--r--tdecore/kglobalaccel_x11.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/kglobalaccel_x11.cpp b/tdecore/kglobalaccel_x11.cpp
index da77403ca..d76b8cdac 100644
--- a/tdecore/kglobalaccel_x11.cpp
+++ b/tdecore/kglobalaccel_x11.cpp
@@ -20,7 +20,7 @@
#include "config.h"
#include <tqwindowdefs.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "kglobalaccel_x11.h"
#include "kglobalaccel.h"
@@ -35,7 +35,7 @@
#include <kdebug.h>
#include <kkeynative.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include <kxerrorhandler.h>
#endif
@@ -197,7 +197,7 @@ bool TDEGlobalAccelPrivate::grabKey( const KKeyServer::Key& key, bool bGrab, TDE
return false;
}
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
KXErrorHandler handler( XGrabErrorHandler );
#endif
// We'll have to grab 8 key modifier combinations in order to cover all
@@ -227,7 +227,7 @@ bool TDEGlobalAccelPrivate::grabKey( const KKeyServer::Key& key, bool bGrab, TDE
bool failed = false;
if( bGrab ) {
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
failed = handler.error( true ); // sync now
#endif
// If grab failed, then ungrab any grabs that could possibly succeed
@@ -451,4 +451,4 @@ void TDEGlobalAccelPrivate::slotActivated( int iAction )
#include "kglobalaccel_x11.moc"
-#endif // !Q_WS_X11
+#endif // !TQ_WS_X11