Changeset 77719 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 15, 2019 10:16:28 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129367
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.cpp
r76606 r77719 44 44 /** Notifies about mouse capability change to @a fSupportsAbsolute, @a fSupportsRelative, @a fSupportsMultiTouch and @a fNeedsHostCursor. */ 45 45 void sigMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor); 46 /** Notifies about guest request to change the cursor position to @a uX * @a uY. 47 * @param fContainsData Brings whether the @a uX and @a uY values are valid and could be used by the GUI now. */ 48 void sigCursorPositionChange(bool fContainsData, unsigned long uX, unsigned long uY); 46 49 /** Notifies about keyboard LEDs change for @a fNumLock, @a fCapsLock and @a fScrollLock. */ 47 50 void sigKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock); … … 174 177 << KVBoxEventType_OnMousePointerShapeChanged 175 178 << KVBoxEventType_OnMouseCapabilityChanged 179 << KVBoxEventType_OnCursorPositionChanged 176 180 << KVBoxEventType_OnKeyboardLedsChanged 177 181 << KVBoxEventType_OnStateChanged … … 191 195 << KVBoxEventType_OnCanShowWindow 192 196 << KVBoxEventType_OnShowWindow 193 << KVBoxEventType_OnAudioAdapterChanged 194 << KVBoxEventType_OnCursorPositionChanged; 197 << KVBoxEventType_OnAudioAdapterChanged; 195 198 196 199 /* Register event listener for console event source: */ … … 215 218 connect(m_pQtListener->getWrapped(), SIGNAL(sigMouseCapabilityChange(bool, bool, bool, bool)), 216 219 this, SIGNAL(sigMouseCapabilityChange(bool, bool, bool, bool)), 220 Qt::DirectConnection); 221 connect(m_pQtListener->getWrapped(), SIGNAL(sigCursorPositionChange(bool, unsigned long, unsigned long)), 222 this, SIGNAL(sigCursorPositionChange(bool, unsigned long, unsigned long)), 217 223 Qt::DirectConnection); 218 224 connect(m_pQtListener->getWrapped(), SIGNAL(sigKeyboardLedsChangeEvent(bool, bool, bool)), … … 375 381 this, SIGNAL(sigMouseCapabilityChange(bool, bool, bool, bool)), 376 382 Qt::QueuedConnection); 383 connect(m_pProxy, SIGNAL(sigCursorPositionChange(bool, unsigned long, unsigned long)), 384 this, SIGNAL(sigCursorPositionChange(bool, unsigned long, unsigned long)), 385 Qt::QueuedConnection); 377 386 connect(m_pProxy, SIGNAL(sigKeyboardLedsChangeEvent(bool, bool, bool)), 378 387 this, SIGNAL(sigKeyboardLedsChangeEvent(bool, bool, bool)), -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.h
r76581 r77719 49 49 /** Notifies about mouse capability change to @a fSupportsAbsolute, @a fSupportsRelative, @a fSupportsMultiTouch and @a fNeedsHostCursor. */ 50 50 void sigMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor); 51 /** Notifies about guest request to change the cursor position to @a uX * @a uY. 52 * @param fContainsData Brings whether the @a uX and @a uY values are valid and could be used by the GUI now. */ 53 void sigCursorPositionChange(bool fContainsData, unsigned long uX, unsigned long uY); 51 54 /** Notifies about keyboard LEDs change for @a fNumLock, @a fCapsLock and @a fScrollLock. */ 52 55 void sigKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock);
Note:
See TracChangeset
for help on using the changeset viewer.