void UIMachineViewFullscreen::prepareConsoleConnections() { /* Base class connections: */ UIMachineView::prepareConsoleConnections(); /* Guest additions state-change updater: */ connect(uisession(), SIGNAL(sigAdditionsStateChange()), this, SLOT(sltAdditionsStateChanged())); }
UIMachineViewNormal::UIMachineViewNormal( UIMachineWindow *pMachineWindow , ulong uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bool bAccelerate2DVideo #endif ) : UIMachineView( pMachineWindow , uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bAccelerate2DVideo #endif ) , m_bIsGuestAutoresizeEnabled(gActionPool->action(UIActionIndexRuntime_Toggle_GuestAutoresize)->isChecked()) { /* Initialization: */ sltAdditionsStateChanged(); }
UIMachineViewSeamless::UIMachineViewSeamless( UIMachineWindow *pMachineWindow , ulong uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bool bAccelerate2DVideo #endif ) : UIMachineView( pMachineWindow , uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bAccelerate2DVideo #endif ) { /* Prepare seamless view: */ prepareSeamless(); /* Initialization: */ sltAdditionsStateChanged(); }
UIMachineViewSeamless::UIMachineViewSeamless( UIMachineWindow *pMachineWindow , ulong uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bool bAccelerate2DVideo #endif ) : UIMachineView( pMachineWindow , uScreenId #ifdef VBOX_WITH_VIDEOHWACCEL , bAccelerate2DVideo #endif ) , m_fShouldWeDoResize(false) , m_pSyncBlocker(0) { /* Load machine view settings: */ loadMachineViewSettings(); /* Prepare viewport: */ prepareViewport(); /* Prepare frame buffer: */ prepareFrameBuffer(); /* Prepare common things: */ prepareCommon(); /* Prepare event-filters: */ prepareFilters(); /* Prepare connections: */ prepareConnections(); /* Prepare console connections: */ prepareConsoleConnections(); /* Prepare seamless view: */ prepareSeamless(); /* Initialization: */ sltMachineStateChanged(); sltAdditionsStateChanged(); }