Changeset 94033 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 1, 2022 11:34:06 AM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r93382 r94033 103 103 104 104 /** Redirects all the native events to parent. */ 105 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 106 bool nativeEventFilter(const QByteArray &eventType, void *pMessage, qintptr * /* pResult */) 107 #else 105 108 bool nativeEventFilter(const QByteArray &eventType, void *pMessage, long * /* pResult */) 109 #endif 106 110 { 107 111 return m_pParent->nativeEventPreprocessor(eventType, pMessage); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIHostComboEditor.cpp
r94013 r94033 620 620 } 621 621 622 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 623 bool UIHostComboEditorPrivate::nativeEvent(const QByteArray &eventType, void *pMessage, qintptr *pResult) 624 #else 622 625 bool UIHostComboEditorPrivate::nativeEvent(const QByteArray &eventType, void *pMessage, long *pResult) 626 #endif 623 627 { 624 628 # if defined(VBOX_WS_MAC) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIHostComboEditor.h
r93990 r94033 191 191 192 192 /** Handles native events. */ 193 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 194 virtual bool nativeEvent(const QByteArray &eventType, void *pMessage, qintptr *pResult) RT_OVERRIDE; 195 #else 193 196 virtual bool nativeEvent(const QByteArray &eventType, void *pMessage, long *pResult) RT_OVERRIDE; 197 #endif 194 198 195 199 /** Handles key-press @a pEvent. */
Note:
See TracChangeset
for help on using the changeset viewer.