VirtualBox

Changeset 26793 in vbox for trunk


Ignore:
Timestamp:
Feb 25, 2010 1:06:42 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: don't depend on VBoxConsoleView

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

Legend:

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

    r26719 r26793  
    47794779
    47804780
    4781 VBoxVHWACommandElementProcessor::VBoxVHWACommandElementProcessor(VBoxConsoleView *aView) :
     4781VBoxVHWACommandElementProcessor::VBoxVHWACommandElementProcessor(QObject *pParent) :
    47824782    mpFirstEvent (NULL),
    47834783    mpLastEvent (NULL),
     4784    m_pParent(pParent),
    47844785    mbNewEvent (false),
    47854786    mbProcessingList (false)
     
    47874788    int rc = RTCritSectInit(&mCritSect);
    47884789    AssertRC(rc);
    4789 
    4790     mView = aView;
    47914790
    47924791    for(int i = RT_ELEMENTS(mElementsBuffer) - 1; i >= 0; i--)
     
    48744873    RTCritSectLeave(&mCritSect);
    48754874    /* 10. post event */
    4876     QApplication::postEvent (mView, pCurrentEvent);
     4875    QApplication::postEvent (m_pParent, pCurrentEvent);
    48774876}
    48784877
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r26719 r26793  
    13051305{
    13061306public:
    1307     VBoxVHWACommandElementProcessor(class VBoxConsoleView *aView);
     1307    VBoxVHWACommandElementProcessor(QObject *pParent);
    13081308    ~VBoxVHWACommandElementProcessor();
    13091309    void postCmd(VBOXVHWA_PIPECMD_TYPE aType, void * pvData, uint32_t flags);
     
    13151315    class VBoxVHWACommandProcessEvent *mpFirstEvent;
    13161316    class VBoxVHWACommandProcessEvent *mpLastEvent;
    1317     class VBoxConsoleView *mView;
     1317    QObject *m_pParent;
    13181318    bool mbNewEvent;
    13191319    bool mbProcessingList;
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