Changeset 103540 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 22, 2024 6:33:30 PM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 161886
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r103059 r103540 48 48 49 49 50 /** Additional Qt event types. */ 51 enum UIEventTypeActionPool 52 { 53 UIEventTypeActionPool_ActivateAction = QEvent::User + 101, 54 }; 55 50 56 /** QEvent extension 51 57 * representing action-activation event. */ … … 56 62 /** Constructs @a pAction event. */ 57 63 ActivateActionEvent(QAction *pAction) 58 : QEvent((QEvent::Type) ActivateActionEventType)64 : QEvent((QEvent::Type)UIEventTypeActionPool_ActivateAction) 59 65 , m_pAction(pAction) 60 66 {} … … 3693 3699 switch ((UIEventType)pEvent->type()) 3694 3700 { 3695 case ActivateActionEventType:3701 case UIEventTypeActionPool_ActivateAction: 3696 3702 { 3697 3703 /* Process specific event: */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.h
r103539 r103540 43 43 namespace UIDefs 44 44 { 45 /** Additional Qt event types. */46 enum UIEventType47 {48 ActivateActionEventType = QEvent::User + 101,49 };50 51 45 /** Default guest additions image name. */ 52 46 SHARED_LIBRARY_STUFF extern const char* GUI_GuestAdditionsName;
Note:
See TracChangeset
for help on using the changeset viewer.