Changeset 92730 in vbox for trunk/src/VBox
- Timestamp:
- Dec 3, 2021 10:46:28 AM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UIDetailsWidgetNATNetwork.h
r87622 r92730 235 235 /** Holds the 'Options' button-box instance. */ 236 236 QIDialogButtonBox *m_pButtonBoxOptions; 237 /** Holds the list of names busy by other 238 * NAT networks. */ 239 QStringList m_busyNames; 237 240 /** @} */ 238 241 … … 247 250 /** Holds the 'Forwarding' button-box instance. */ 248 251 QIDialogButtonBox *m_pButtonBoxForwarding; 249 /** Holds the list of names busy by other250 * NAT networks. */251 QStringList m_busyNames;252 252 /** Holds whether we should try to keep 253 253 * port forwarding rule position intact. */ -
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp
r91142 r92730 970 970 if (pItem) 971 971 { 972 QStringList busyNamesForItem = busyNames ();972 QStringList busyNamesForItem = busyNamesNAT(); 973 973 busyNamesForItem.removeAll(pItem->name()); 974 974 m_pDetailsWidgetNATNetwork->setData(*pItem, busyNamesForItem, fHoldPosition); … … 1639 1639 } 1640 1640 1641 QStringList UINetworkManagerWidget::busyNames () const1641 QStringList UINetworkManagerWidget::busyNamesNAT() const 1642 1642 { 1643 1643 QStringList names; -
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.h
r90483 r92730 60 60 /** Notifies listeners about host network details data @a fDiffers. */ 61 61 void sigDetailsDataChangedHostNetwork(bool fDiffers); 62 63 62 /** Notifies listeners about NAT network details data @a fDiffers. */ 64 63 void sigDetailsDataChangedNATNetwork(bool fDiffers); … … 210 209 211 210 /** Returns a list of busy NAT network names. */ 212 QStringList busyNames () const;211 QStringList busyNamesNAT() const; 213 212 /** @} */ 214 213 -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h
r92477 r92730 441 441 static void cannotCreateNATNetwork(const CVirtualBox &comVBox); 442 442 /** Notifies about inability to remove NAT network. 443 * @param comVBox Brings common VBox object trying to remove DHCP server.443 * @param comVBox Brings common VBox object trying to remove NAT network. 444 444 * @param strNetworkName Brings the network name. */ 445 445 static void cannotRemoveNATNetwork(const CVirtualBox &comVBox, const QString &strNetworkName);
Note:
See TracChangeset
for help on using the changeset viewer.