VirtualBox

Changeset 87342 in vbox


Ignore:
Timestamp:
Jan 21, 2021 9:28:42 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9871: Missed bits related to renaming Host Network Manager to just Network Manager.

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

Legend:

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

    r86925 r87342  
    9696};
    9797
    98 /** Simple action extension, used as 'Show Host Network Manager' action class. */
     98/** Simple action extension, used as 'Show Network Manager' action class. */
    9999class UIActionSimpleManagerFileShowHostNetworkManager : public UIActionSimple
    100100{
     
    125125    virtual void retranslateUi() /* override */
    126126    {
    127         setName(QApplication::translate("UIActionPool", "&Host Network Manager..."));
    128         setStatusTip(QApplication::translate("UIActionPool", "Display the Host Network Manager window"));
     127        setName(QApplication::translate("UIActionPool", "&Network Manager..."));
     128        setStatusTip(QApplication::translate("UIActionPool", "Display the Network Manager window"));
    129129    }
    130130};
     
    18131813};
    18141814
    1815 /** Simple action extension, used as 'Show Host Network Manager' action class. */
     1815/** Simple action extension, used as 'Show Network Manager' action class. */
    18161816class UIActionSimpleManagerToolsGlobalShowHostNetworkManager : public UIActionSimple
    18171817{
     
    18381838    virtual void retranslateUi() /* override */
    18391839    {
    1840         setName(QApplication::translate("UIActionPool", "&Host Network Manager"));
    1841         setStatusTip(QApplication::translate("UIActionPool", "Open the Host Network Manager"));
     1840        setName(QApplication::translate("UIActionPool", "&Network Manager"));
     1841        setStatusTip(QApplication::translate("UIActionPool", "Open the Network Manager"));
    18421842    }
    18431843};
     
    35073507    m_pool[UIActionIndexMN_M_Medium_S_Refresh] = new UIActionMenuManagerMediumPerformRefresh(this);
    35083508
    3509     /* Host Network Manager actions: */
     3509    /* Network Manager actions: */
    35103510    m_pool[UIActionIndexMN_M_NetworkWindow] = new UIActionMenuManagerNetwork(this);
    35113511    m_pool[UIActionIndexMN_M_Network] = new UIActionMenuManagerNetwork(this);
     
    36453645    updateMenuMediumWindow();
    36463646    updateMenuMedium();
    3647     /* 'Host Network Manager' menu: */
     3647    /* 'Network Manager' menu: */
    36483648    addMenu(m_mainMenus, action(UIActionIndexMN_M_Network));
    36493649    updateMenuNetworkWindow();
     
    36533653    updateMenuCloudWindow();
    36543654    updateMenuCloud();
    3655 
    36563655    /* 'VM Resource Monitor' menu: */
    36573656    addMenu(m_mainMenus, action(UIActionIndexMN_M_VMResourceMonitor));
     
    38233822    /* 'Show Virtual Medium Manager' action goes to 'File' menu: */
    38243823    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
    3825     /* 'Show Host Network Manager' action goes to 'File' menu: */
     3824    /* 'Show Network Manager' action goes to 'File' menu: */
    38263825    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    38273826    /* 'Show Cloud Profile Manager' action goes to 'File' menu: */
     
    38463845    /* 'Show Virtual Medium Manager' action goes to 'File' menu: */
    38473846    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
    3848     /* 'Show Host Network Manager' action goes to 'File' menu: */
     3847    /* 'Show Network Manager' action goes to 'File' menu: */
    38493848    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    38503849    /* 'Show Cloud Profile Manager' action goes to 'File' menu: */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolManager.h

    r86925 r87342  
    160160    UIActionIndexMN_M_Medium_S_Refresh,
    161161
    162     /* Host Network Manager actions: */
     162    /* Network Manager actions: */
    163163    UIActionIndexMN_M_NetworkWindow,
    164164    UIActionIndexMN_M_Network,
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.cpp

    r87026 r87342  
    143143            case UIToolType_Network:
    144144            {
    145                 /* Create Host Network Manager: */
     145                /* Create Network Manager: */
    146146                m_pPaneNetwork = new UINetworkManagerWidget(EmbedTo_Stack, m_pActionPool, false /* show toolbar */);
    147147                AssertPtrReturnVoid(m_pPaneNetwork);
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.h

    r87022 r87342  
    9696    /** Holds the Virtual Media Manager instance. */
    9797    UIMediumManagerWidget       *m_pPaneMedia;
    98     /** Holds the Host Network Manager instance. */
     98    /** Holds the Network Manager instance. */
    9999    UINetworkManagerWidget      *m_pPaneNetwork;
    100100    /** Holds the Cloud Profile Manager instance. */
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r87027 r87342  
    704704    {
    705705        case UIToolType_Media:       sltCloseVirtualMediumManagerWindow(); break;
    706         case UIToolType_Network:     sltCloseHostNetworkManagerWindow(); break;
     706        case UIToolType_Network:     sltCloseNetworkManagerWindow(); break;
    707707        case UIToolType_Cloud:       sltCloseCloudProfileManagerWindow(); break;
    708708        case UIToolType_Logs:        sltCloseLogViewerWindow(); break;
     
    764764}
    765765
    766 void UIVirtualBoxManager::sltOpenHostNetworkManagerWindow()
     766void UIVirtualBoxManager::sltOpenNetworkManagerWindow()
    767767{
    768768    /* First check if instance of widget opened the embedded way: */
     
    778778        UINetworkManagerFactory(m_pActionPool).prepare(m_pManagerHostNetwork, this);
    779779        connect(m_pManagerHostNetwork, &QIManagerDialog::sigClose,
    780                 this, &UIVirtualBoxManager::sltCloseHostNetworkManagerWindow);
     780                this, &UIVirtualBoxManager::sltCloseNetworkManagerWindow);
    781781    }
    782782
     
    787787}
    788788
    789 void UIVirtualBoxManager::sltCloseHostNetworkManagerWindow()
     789void UIVirtualBoxManager::sltCloseNetworkManagerWindow()
    790790{
    791791    /* Destroy instance if still exists: */
     
    23162316            this, &UIVirtualBoxManager::sltOpenVirtualMediumManagerWindow);
    23172317    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowHostNetworkManager), &UIAction::triggered,
    2318             this, &UIVirtualBoxManager::sltOpenHostNetworkManagerWindow);
     2318            this, &UIVirtualBoxManager::sltOpenNetworkManagerWindow);
    23192319    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowCloudProfileManager), &UIAction::triggered,
    23202320            this, &UIVirtualBoxManager::sltOpenCloudProfileManagerWindow);
     
    25422542    /* Close the sub-dialogs first: */
    25432543    sltCloseVirtualMediumManagerWindow();
    2544     sltCloseHostNetworkManagerWindow();
     2544    sltCloseNetworkManagerWindow();
    25452545    sltCloseCloudProfileManagerWindow();
    25462546    sltCloseCloudConsoleManagerWindow();
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h

    r87022 r87342  
    160160        void sltCloseVirtualMediumManagerWindow();
    161161
    162         /** Handles call to open Host Network Manager window. */
    163         void sltOpenHostNetworkManagerWindow();
    164         /** Handles call to close Host Network Manager window. */
    165         void sltCloseHostNetworkManagerWindow();
     162        /** Handles call to open Network Manager window. */
     163        void sltOpenNetworkManagerWindow();
     164        /** Handles call to close Network Manager window. */
     165        void sltCloseNetworkManagerWindow();
    166166
    167167        /** Handles call to open Cloud Profile Manager window. */
     
    466466    /** Holds the Virtual Media Manager window instance. */
    467467    QIManagerDialog *m_pManagerVirtualMedia;
    468     /** Holds the Host Network Manager window instance. */
     468    /** Holds the Network Manager window instance. */
    469469    QIManagerDialog *m_pManagerHostNetwork;
    470470    /** Holds the Cloud Profile Manager window instance. */
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.h

    r86233 r87342  
    424424private:
    425425
    426     /** Constructs Host Network Manager dialog.
     426    /** Constructs Medium Manager dialog.
    427427      * @param  pCenterWidget  Brings the widget reference to center according to.
    428428      * @param  pActionPool    Brings the action-pool reference. */
  • trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.h

    r87312 r87342  
    255255
    256256
    257 /** QIManagerDialogFactory extension used as a factory for Host Network Manager dialog. */
     257/** QIManagerDialogFactory extension used as a factory for Network Manager dialog. */
    258258class UINetworkManagerFactory : public QIManagerDialogFactory
    259259{
     
    297297private:
    298298
    299     /** Constructs Host Network Manager dialog.
     299    /** Constructs Network Manager dialog.
    300300      * @param  pCenterWidget  Brings the widget reference to center according to.
    301301      * @param  pActionPool    Brings the action-pool reference. */
  • trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManagerUtils.h

    r86997 r87342  
    2626
    2727
    28 /** Host Network Manager: Host network utilities. */
     28/** Network Manager: Host network utilities. */
    2929namespace UINetworkManagerUtils
    3030{
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