diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:10:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 10:21:34 +0900 |
commit | 03aa7238b34bb438632b6d572b008e32960f0895 (patch) | |
tree | 11395aba8fd4cb1f52f0a831c61febf61337dab7 /tdecore/kglobalaccel_x11.cpp | |
parent | 15d75fb42da10a93a9c371fea8eb0baf281e0d44 (diff) | |
download | tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.tar.gz tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/kglobalaccel_x11.cpp')
-rw-r--r-- | tdecore/kglobalaccel_x11.cpp | 10 |
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 |