VirtualBox

Ignore:
Timestamp:
Feb 22, 2024 6:33:30 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161886
Message:

FE/Qt: Clean UIDefs from UIActionPool related stuff.

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  
    4848
    4949
     50/** Additional Qt event types. */
     51enum UIEventTypeActionPool
     52{
     53    UIEventTypeActionPool_ActivateAction = QEvent::User + 101,
     54};
     55
    5056/** QEvent extension
    5157  * representing action-activation event. */
     
    5662    /** Constructs @a pAction event. */
    5763    ActivateActionEvent(QAction *pAction)
    58         : QEvent((QEvent::Type)ActivateActionEventType)
     64        : QEvent((QEvent::Type)UIEventTypeActionPool_ActivateAction)
    5965        , m_pAction(pAction)
    6066    {}
     
    36933699    switch ((UIEventType)pEvent->type())
    36943700    {
    3695         case ActivateActionEventType:
     3701        case UIEventTypeActionPool_ActivateAction:
    36963702        {
    36973703            /* Process specific event: */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.h

    r103539 r103540  
    4343namespace UIDefs
    4444{
    45     /** Additional Qt event types. */
    46     enum UIEventType
    47     {
    48         ActivateActionEventType = QEvent::User + 101,
    49     };
    50 
    5145    /** Default guest additions image name. */
    5246    SHARED_LIBRARY_STUFF extern const char* GUI_GuestAdditionsName;
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