- Timestamp:
- Oct 14, 2020 11:29:29 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r86570 r86572 613 613 } 614 614 615 void UIChooserAbstractModel::sltLocalMachineRegist ered(const QUuid &uMachineId, const bool fRegistered)615 void UIChooserAbstractModel::sltLocalMachineRegistrationChanged(const QUuid &uMachineId, const bool fRegistered) 616 616 { 617 617 /* Existing VM unregistered? */ … … 636 636 } 637 637 638 void UIChooserAbstractModel::sltCloudMachineRegist ered(const QString &strProviderShortName, const QString &strProfileName,639 const QUuid &uMachineId, const bool fRegistered)638 void UIChooserAbstractModel::sltCloudMachineRegistrationChanged(const QString &strProviderShortName, const QString &strProfileName, 639 const QUuid &uMachineId, const bool fRegistered) 640 640 { 641 641 /* Search for profile node: */ … … 800 800 * this is to be replaced by corresponding Main API event later. */ 801 801 connect(&uiCommon(), &UICommon::sigCloudMachineRegistered, 802 this, &UIChooserAbstractModel::sltCloudMachineRegist ered);802 this, &UIChooserAbstractModel::sltCloudMachineRegistrationChanged); 803 803 804 804 /* Setup global connections: */ … … 808 808 this, &UIChooserAbstractModel::sltLocalMachineDataChanged); 809 809 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineRegistered, 810 this, &UIChooserAbstractModel::sltLocalMachineRegist ered);810 this, &UIChooserAbstractModel::sltLocalMachineRegistrationChanged); 811 811 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigSessionStateChange, 812 812 this, &UIChooserAbstractModel::sltSessionStateChanged); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h
r86570 r86572 144 144 virtual void sltLocalMachineDataChanged(const QUuid &uMachineId); 145 145 /** Handles local machine registering/unregistering for machine with certain @a uMachineId. */ 146 virtual void sltLocalMachineRegist ered(const QUuid &uMachineId, const bool fRegistered);146 virtual void sltLocalMachineRegistrationChanged(const QUuid &uMachineId, const bool fRegistered); 147 147 /** Handles cloud machine registering/unregistering for machine with certain @a uMachineId. 148 148 * @param strProviderShortName Brings provider short name. 149 149 * @param strProfileName Brings profile name. */ 150 virtual void sltCloudMachineRegist ered(const QString &strProviderShortName, const QString &strProfileName,151 const QUuid &uMachineId, const bool fRegistered);150 virtual void sltCloudMachineRegistrationChanged(const QString &strProviderShortName, const QString &strProfileName, 151 const QUuid &uMachineId, const bool fRegistered); 152 152 /** Handles session @a enmState change for machine with certain @a uMachineId. */ 153 153 virtual void sltSessionStateChanged(const QUuid &uMachineId, const KSessionState enmState); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r86570 r86572 1079 1079 } 1080 1080 1081 void UIChooserModel::sltLocalMachineRegist ered(const QUuid &uMachineId, const bool fRegistered)1081 void UIChooserModel::sltLocalMachineRegistrationChanged(const QUuid &uMachineId, const bool fRegistered) 1082 1082 { 1083 1083 /* Existing VM unregistered => make sure no item with passed uMachineId is selected: */ … … 1086 1086 1087 1087 /* Call to base-class: */ 1088 UIChooserAbstractModel::sltLocalMachineRegist ered(uMachineId, fRegistered);1088 UIChooserAbstractModel::sltLocalMachineRegistrationChanged(uMachineId, fRegistered); 1089 1089 1090 1090 /* Existing VM unregistered? */ … … 1110 1110 } 1111 1111 1112 void UIChooserModel::sltCloudMachineRegist ered(const QString &strProviderShortName, const QString &strProfileName,1113 const QUuid &uMachineId, const bool fRegistered)1112 void UIChooserModel::sltCloudMachineRegistrationChanged(const QString &strProviderShortName, const QString &strProfileName, 1113 const QUuid &uMachineId, const bool fRegistered) 1114 1114 { 1115 1115 /* Existing VM unregistered => make sure no item with passed uMachineId is selected: */ … … 1118 1118 1119 1119 /* Call to base-class: */ 1120 UIChooserAbstractModel::sltCloudMachineRegist ered(strProviderShortName, strProfileName, uMachineId, fRegistered);1120 UIChooserAbstractModel::sltCloudMachineRegistrationChanged(strProviderShortName, strProfileName, uMachineId, fRegistered); 1121 1121 1122 1122 /* Existing VM unregistered? */ … … 1782 1782 const QString strProviderShortName = pItem->parentItem()->parentItem()->name(); 1783 1783 const QString strProfileName = pItem->parentItem()->name(); 1784 sltCloudMachineRegist ered(strProviderShortName,1785 strProfileName,1786 uId /* machine ID */,1787 false /* registered? */);1784 sltCloudMachineRegistrationChanged(strProviderShortName, 1785 strProfileName, 1786 uId /* machine ID */, 1787 false /* registered? */); 1788 1788 } 1789 1789 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
r86570 r86572 262 262 * @{ */ 263 263 /** Handles local machine registering/unregistering for machine with certain @a uMachineId. */ 264 virtual void sltLocalMachineRegist ered(const QUuid &uMachineId, const bool fRegistered) /* override */;264 virtual void sltLocalMachineRegistrationChanged(const QUuid &uMachineId, const bool fRegistered) /* override */; 265 265 /** Handles cloud machine registering/unregistering for machine with certain @a uMachineId. 266 266 * @param strProviderShortName Brings provider short name. 267 267 * @param strProfileName Brings profile name. */ 268 virtual void sltCloudMachineRegist ered(const QString &strProviderShortName, const QString &strProfileName,269 const QUuid &uMachineId, const bool fRegistered);268 virtual void sltCloudMachineRegistrationChanged(const QString &strProviderShortName, const QString &strProfileName, 269 const QUuid &uMachineId, const bool fRegistered) /* override */; 270 270 /** Handles event about cloud provider with @a uProviderId being uninstalled. */ 271 virtual void sltHandleCloudProviderUninstall(const QUuid &uProviderId) ;271 virtual void sltHandleCloudProviderUninstall(const QUuid &uProviderId) /* override */; 272 272 /** @} */ 273 273
Note:
See TracChangeset
for help on using the changeset viewer.