VirtualBox

Changeset 59656 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 12, 2016 1:57:09 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Qt5 migration (part 87): Implementing keyboard handling for Qt5: Resolve some naming conflict with Qt5 stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r59414 r59656  
    944944#else /* QT_VERSION >= 0x050000 */
    945945
    946 bool UIKeyboardHandler::nativeEventFilter(void *pMessage, ulong uScreenId)
     946bool UIKeyboardHandler::nativeEventPostprocessor(void *pMessage, ulong uScreenId)
    947947{
    948948    /* Check if some system event should be filtered out.
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.h

    r59361 r59656  
    118118# endif /* Q_WS_X11 */
    119119#else /* QT_VERSION >= 0x050000 */
    120     /** Qt5: Performs final pre-processing of all the native events. */
    121     bool nativeEventFilter(void *pMessage, ulong uScreenId);
     120    /** Qt5: Performs post-processing of all the native events. */
     121    bool nativeEventPostprocessor(void *pMessage, ulong uScreenId);
    122122#endif /* QT_VERSION >= 0x050000 */
    123123
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r59414 r59656  
    19111911                {
    19121912                    /* Delegate key-event handling to the keyboard-handler: */
    1913                     return machineLogic()->keyboardHandler()->nativeEventFilter(pMessage, screenId());
     1913                    return machineLogic()->keyboardHandler()->nativeEventPostprocessor(pMessage, screenId());
    19141914                }
    19151915                default:
     
    19411941        {
    19421942            /* Delegate key-event handling to the keyboard-handler: */
    1943             return machineLogic()->keyboardHandler()->nativeEventFilter(pMessage, screenId());
     1943            return machineLogic()->keyboardHandler()->nativeEventPostprocessor(pMessage, screenId());
    19441944        }
    19451945        default:
     
    19641964        {
    19651965            /* Delegate key-event handling to the keyboard-handler: */
    1966             return machineLogic()->keyboardHandler()->nativeEventFilter(pMessage, screenId());
     1966            return machineLogic()->keyboardHandler()->nativeEventPostprocessor(pMessage, screenId());
    19671967        }
    19681968        default:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette