VirtualBox

Changeset 90525 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 5, 2021 10:14:37 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: Get rid of network request manager indicator.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r90484 r90525  
    938938        src/networking/UINetworkRequestManager.h \
    939939        src/networking/UINetworkRequestManagerWindow.h \
    940         src/networking/UINetworkRequestManagerIndicator.h \
    941940        src/networking/UINetworkRequest.h \
    942941        src/networking/UINetworkRequestWidget.h \
     
    14921491        src/networking/UINetworkRequestManager.cpp \
    14931492        src/networking/UINetworkRequestManagerWindow.cpp \
    1494         src/networking/UINetworkRequestManagerIndicator.cpp \
    14951493        src/networking/UINetworkRequest.cpp \
    14961494        src/networking/UINetworkRequestWidget.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UINetworkRequest.cpp

    r90524 r90525  
    2525#include "UINetworkRequestManager.h"
    2626#include "UINetworkRequestManagerWindow.h"
    27 #include "UINetworkRequestManagerIndicator.h"
    2827#include "UINetworkRequestWidget.h"
    2928
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UINetworkRequest.h

    r90524 r90525  
    3535class UINetworkRequestManager;
    3636class UINetworkRequestManagerWindow;
    37 class UINetworkRequestManagerIndicator;
    3837class UINetworkRequestWidget;
    3938class UINetworkCustomer;
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UINetworkRequestManager.cpp

    r90524 r90525  
    2424#include "UINetworkRequest.h"
    2525#include "UINetworkRequestManager.h"
    26 #include "UINetworkRequestManagerIndicator.h"
    2726#include "UINetworkRequestManagerWindow.h"
    2827
     
    5958}
    6059
    61 UINetworkRequestManagerIndicator *UINetworkRequestManager::createIndicator() const
    62 {
    63     /* For Selector UI only: */
    64     AssertReturn(uiCommon().uiType() == UICommon::UIType_SelectorUI, 0);
    65 
    66     /* Create network-manager state-indicator: */
    67     UINetworkRequestManagerIndicator *pNetworkManagerIndicator = new UINetworkRequestManagerIndicator;
    68     connect(pNetworkManagerIndicator, &UINetworkRequestManagerIndicator::sigMouseDoubleClick,
    69             this, &UINetworkRequestManager::show);
    70     connect(this, &UINetworkRequestManager::sigAddNetworkManagerIndicatorDescription,
    71             pNetworkManagerIndicator, &UINetworkRequestManagerIndicator::sltAddNetworkManagerIndicatorDescription);
    72     connect(this, &UINetworkRequestManager::sigRemoveNetworkManagerIndicatorDescription,
    73             pNetworkManagerIndicator, &UINetworkRequestManagerIndicator::sldRemoveNetworkManagerIndicatorDescription);
    74     return pNetworkManagerIndicator;
    75 }
    76 
    7760void UINetworkRequestManager::registerNetworkRequest(UINetworkRequest *pNetworkRequest)
    7861{
    7962    /* Add network-request widget to network-manager dialog: */
    8063    m_pNetworkManagerDialog->addNetworkRequestWidget(pNetworkRequest);
    81 
    82     /* Add network-request description to network-manager state-indicators: */
    83     emit sigAddNetworkManagerIndicatorDescription(pNetworkRequest);
    8464}
    8565
    8666void UINetworkRequestManager::unregisterNetworkRequest(const QUuid &uuid)
    8767{
    88     /* Remove network-request description from network-manager state-indicator: */
    89     emit sigRemoveNetworkManagerIndicatorDescription(uuid);
    90 
    9168    /* Remove network-request widget from network-manager dialog: */
    9269    m_pNetworkManagerDialog->removeNetworkRequestWidget(uuid);
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UINetworkRequestManager.h

    r90524 r90525  
    3434class UINetworkCustomer;
    3535class UINetworkRequestManagerWindow;
    36 class UINetworkRequestManagerIndicator;
    3736class UINetworkRequest;
    3837
     
    4847    void sigCancelNetworkRequests();
    4948
    50     /** Requests to add @a pNetworkRequest to network-manager state-indicators. */
    51     void sigAddNetworkManagerIndicatorDescription(UINetworkRequest *pNetworkRequest);
    52     /** Requests to remove network-request with @a uuid from network-manager state-indicators. */
    53     void sigRemoveNetworkManagerIndicatorDescription(const QUuid &uuid);
    54 
    5549public:
    5650
     
    6458    /** Returns pointer to network-manager dialog. */
    6559    UINetworkRequestManagerWindow *window() const;
    66 
    67     /** Creates network-manager state-indicator.
    68       * @remarks To be cleaned up by the caller. */
    69     UINetworkRequestManagerIndicator *createIndicator() const;
    7060
    7161    /** Registers @a pNetworkRequest in network-manager. */
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