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 /tdeui/tdeshortcutdialog.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 'tdeui/tdeshortcutdialog.cpp')
-rw-r--r-- | tdeui/tdeshortcutdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/tdeshortcutdialog.cpp b/tdeui/tdeshortcutdialog.cpp index 5436e3b17..be0386dea 100644 --- a/tdeui/tdeshortcutdialog.cpp +++ b/tdeui/tdeshortcutdialog.cpp @@ -21,7 +21,7 @@ #include <tqvariant.h> -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 #define XK_XKB_KEYS #define XK_MISCELLANY #include <X11/Xlib.h> // For x11Event() @@ -37,7 +37,7 @@ #undef FocusOut #undef FocusIn #endif -#elif defined(Q_WS_WIN) +#elif defined(TQ_WS_WIN) # include <kkeyserver.h> #endif @@ -121,7 +121,7 @@ TDEShortcutDialog::TDEShortcutDialog( const TDEShortcut& shortcut, bool bQtShort s_showMore = TDEConfigGroup(TDEGlobal::config(), "General").readBoolEntry("ShowAlternativeShortcutConfig", s_showMore); updateDetails(); - #ifdef Q_WS_X11 + #ifdef TQ_WS_X11 kapp->installX11EventFilter( this ); // Allow button to capture X Key Events. #endif } @@ -276,7 +276,7 @@ void TDEShortcutDialog::slotMultiKeyMode( bool bOn ) } } -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 /* we don't use the generic Qt code on X11 because it allows us to grab the keyboard so that all keypresses are seen */ @@ -387,7 +387,7 @@ void TDEShortcutDialog::x11KeyReleaseEvent( XEvent* pEvent ) updateShortcutDisplay(); } } -#elif defined(Q_WS_WIN) +#elif defined(TQ_WS_WIN) void TDEShortcutDialog::keyPressEvent( TQKeyEvent * e ) { kdDebug() << e->text() << " " << (int)e->text()[0].latin1()<< " " << (int)e->ascii() << endl; |