VirtualBox

Ignore:
Timestamp:
Mar 28, 2016 5:00:26 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​​bugref:8308: Event handlers rework/cleanup (part 05): Some obsolete junk.

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  
    224224#else /* !Q_WS_MAC */
    225225    /* Return the ID of the top-level machine-window. */
    226     winId = (ULONG64)m_pSession->winId();
     226    winId = (ULONG64)m_pSession->mainMachineWindowId();
    227227#endif /* !Q_WS_MAC */
    228228}
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r59912 r60226  
    484484{
    485485    return machineLogic() ? machineLogic()->mainMachineWindow() : 0;
     486}
     487
     488WId UISession::mainMachineWindowId() const
     489{
     490    return mainMachineWindow()->winId();
    486491}
    487492
     
    14761481#endif /* Q_WS_MAC */
    14771482
    1478 WId UISession::winId() const
    1479 {
    1480     return mainMachineWindow()->winId();
    1481 }
    1482 
    14831483/** Generate a BGRA bitmap which approximates a XOR/AND mouse pointer.
    14841484 *
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h

    r59200 r60226  
    124124    UIMachineLogic* machineLogic() const;
    125125    QWidget* mainMachineWindow() const;
     126    WId mainMachineWindowId() const;
    126127    QCursor cursor() const { return m_cursor; }
    127128
     
    393394
    394395    /* Common helpers: */
    395     WId winId() const;
    396396    void setPointerShape(const uchar *pShapeData, bool fHasAlpha, uint uXHot, uint uYHot, uint uWidth, uint uHeight);
    397397    bool preprocessInitialization();
     
    540540    /** Holds VM's effective paravirtualization provider. */
    541541    KParavirtProvider m_paraVirtProvider;
    542 
    543     /* Friend classes: */
    544     friend class UIConsoleEventHandler;
    545542};
    546543
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