VirtualBox

Changeset 77840 in vbox


Ignore:
Timestamp:
Mar 22, 2019 8:01:30 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9376: A bit of cleanup of UISession code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h

    r77726 r77840  
    138138    /** Returns currently cached mouse cursor pixmap. */
    139139    QPixmap cursorPixmap() const { return m_cursorPixmap; }
     140    /** Returns currently cached mouse cursor size. */
     141    QSize cursorSize() const { return m_cursorSize; }
    140142    /** Returns currently cached mouse cursor hotspot. */
    141143    QPoint cursorHotspot() const { return m_cursorHotspot; }
    142     /** Returns currently cached mouse cursor size. */
    143     QSize cursorSize() const { return m_cursorSize; }
    144144
    145145    /** @name Branding stuff.
     
    306306    /** Notifies listeners about mouse state-change. */
    307307    void sigMouseStateChange(int iState);
     308    /** Notifies listeners about mouse pointer shape change. */
    308309    void sigMousePointerShapeChange();
     310    /** Notifies listeners about mouse capability change. */
    309311    void sigMouseCapabilityChange();
    310312    void sigKeyboardLedsChange();
     
    363365
    364366    /* Console events slots */
     367    /** Handles signal about mouse pointer become @a fVisible and his shape changed to @a fAlpha, @a hotCorner, @a size and @a shape. */
    365368    void sltMousePointerShapeChange(bool fVisible, bool fAlpha, QPoint hotCorner, QSize size, QVector<uint8_t> shape);
     369    /** Handles signal about mouse capability change to @a fSupportsAbsolute, @a fSupportsRelative, @a fSupportsMultiTouch and @a fNeedsHostCursor. */
    366370    void sltMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor);
    367371    void sltKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock);
     
    490494    /** Holds cached mouse cursor pixmap. */
    491495    QPixmap  m_cursorPixmap;
     496    /** Holds cached mouse cursor size. */
     497    QSize    m_cursorSize;
    492498    /** Holds cached mouse cursor hotspot. */
    493499    QPoint   m_cursorHotspot;
    494     /** Holds cached mouse cursor size. */
    495     QSize    m_cursorSize;
    496500
    497501    /** @name Branding variables.
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