VirtualBox

Ignore:
Timestamp:
Dec 12, 2017 11:22:43 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9038: Small fix for r119623: Adjusting doxy and position.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp

    r70075 r70078  
    298298            break;
    299299        }
     300        case KVBoxEventType_OnCursorPositionChanged:
     301        {
     302            CCursorPositionChangedEvent es(pEvent);
     303            emit sigCursorPositionChange(es.GetHasData(), (unsigned long)es.GetX(), (unsigned long)es.GetY());
     304            break;
     305        }
    300306        case KVBoxEventType_OnKeyboardLedsChanged:
    301307        {
     
    419425            break;
    420426        }
    421         case KVBoxEventType_OnCursorPositionChanged:
    422         {
    423             CCursorPositionChangedEvent es(pEvent);
    424             emit sigCursorPositionChange(es.GetHasData(), (unsigned long)es.GetX(), (unsigned long)es.GetY());
    425             break;
    426         }
    427427
    428428        default: break;
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h

    r70075 r70078  
    8787    /** Notifies about mouse capability change to @a fSupportsAbsolute, @a fSupportsRelative, @a fSupportsMultiTouch and @a fNeedsHostCursor. */
    8888    void sigMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor);
     89    /** Notifies about guest request to change the cursor position to @a uX * @a uY.
     90      * @note If @a fData is NOT set this merely notifies that the guest supports this. */
     91    void sigCursorPositionChange(bool fData, unsigned long uX, unsigned long uY);
    8992    /** Notifies about keyboard LEDs change for @a fNumLock, @a fCapsLock and @a fScrollLock. */
    9093    void sigKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock);
     
    127130    void sigProgressTaskComplete(QString strProgressId);
    128131
    129     /** Notifies about guest requests to change the cursor position. If @a fData is not set this merely notifies that the guest supports this.  This notification must be sent after every screen configuration change. */
    130     void sigCursorPositionChange(bool fData, unsigned long X, unsigned long Y);
    131 
    132132public:
    133133
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