Changeset 60226 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 28, 2016 5:00:26 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.cpp
r60225 r60226 224 224 #else /* !Q_WS_MAC */ 225 225 /* Return the ID of the top-level machine-window. */ 226 winId = (ULONG64)m_pSession-> winId();226 winId = (ULONG64)m_pSession->mainMachineWindowId(); 227 227 #endif /* !Q_WS_MAC */ 228 228 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59912 r60226 484 484 { 485 485 return machineLogic() ? machineLogic()->mainMachineWindow() : 0; 486 } 487 488 WId UISession::mainMachineWindowId() const 489 { 490 return mainMachineWindow()->winId(); 486 491 } 487 492 … … 1476 1481 #endif /* Q_WS_MAC */ 1477 1482 1478 WId UISession::winId() const1479 {1480 return mainMachineWindow()->winId();1481 }1482 1483 1483 /** Generate a BGRA bitmap which approximates a XOR/AND mouse pointer. 1484 1484 * -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r59200 r60226 124 124 UIMachineLogic* machineLogic() const; 125 125 QWidget* mainMachineWindow() const; 126 WId mainMachineWindowId() const; 126 127 QCursor cursor() const { return m_cursor; } 127 128 … … 393 394 394 395 /* Common helpers: */ 395 WId winId() const;396 396 void setPointerShape(const uchar *pShapeData, bool fHasAlpha, uint uXHot, uint uYHot, uint uWidth, uint uHeight); 397 397 bool preprocessInitialization(); … … 540 540 /** Holds VM's effective paravirtualization provider. */ 541 541 KParavirtProvider m_paraVirtProvider; 542 543 /* Friend classes: */544 friend class UIConsoleEventHandler;545 542 }; 546 543
Note:
See TracChangeset
for help on using the changeset viewer.