VirtualBox

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


Ignore:
Timestamp:
Oct 12, 2020 2:51:37 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: Chooser pane: Unify cloud profile related handlers to one method; Corresponding signals are not being logically distinguished for now.

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

    r86539 r86544  
    689689}
    690690
    691 void UIChooserAbstractModel::sltHandleCloudProviderListChanged()
    692 {
    693     /* Reload cloud tree: */
    694     reloadCloudTree();
    695 }
    696 
    697691void UIChooserAbstractModel::sltHandleCloudProviderUninstall(const QUuid &uId)
    698692{
     
    785779}
    786780
    787 void UIChooserAbstractModel::sltHandleCloudProfileManagerRestrictionChange()
     781void UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange()
    788782{
    789783    /* Reload cloud tree: */
     
    824818            this, &UIChooserAbstractModel::sltSnapshotChanged);
    825819    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProviderListChanged,
    826             this, &UIChooserAbstractModel::sltHandleCloudProviderListChanged);
     820            this, &UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange);
    827821    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProviderUninstall,
    828822            this, &UIChooserAbstractModel::sltHandleCloudProviderUninstall);
     
    835829    /* Setup extra-data connections: */
    836830    connect(gEDataManager, &UIExtraDataManager::sigCloudProfileManagerRestrictionChange,
    837             this, &UIChooserAbstractModel::sltHandleCloudProfileManagerRestrictionChange);
     831            this, &UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange);
    838832}
    839833
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h

    r86077 r86544  
    154154        /** Handles snapshot change for machine/snapshot with certain @a uMachineId / @a uSnapshotId. */
    155155        virtual void sltSnapshotChanged(const QUuid &uMachineId, const QUuid &uSnapshotId);
    156         /** Handles event about cloud provider list changed. */
    157         virtual void sltHandleCloudProviderListChanged();
    158156        /** Handles event about cloud provider with @a uId being uninstalled. */
    159157        virtual void sltHandleCloudProviderUninstall(const QUuid &uId);
     
    170168        /** Handles list cloud machines task complete signal. */
    171169        virtual void sltHandleCloudListMachinesTaskComplete(UITask *pTask);
    172         /** Handles Cloud Profile Manager restriction change. */
    173         virtual void sltHandleCloudProfileManagerRestrictionChange();
     170        /** Handles Cloud Profile Manager cumulative change. */
     171        virtual void sltHandleCloudProfileManagerCumulativeChange();
    174172    /** @} */
    175173
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp

    r86344 r86544  
    11941194}
    11951195
    1196 void UIChooserModel::sltHandleCloudProfileManagerRestrictionChange()
     1196void UIChooserModel::sltHandleCloudProfileManagerCumulativeChange()
    11971197{
    11981198    /* Call to base-class: */
    1199     UIChooserAbstractModel::sltHandleCloudProfileManagerRestrictionChange();
     1199    UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange();
    12001200
    12011201    /* Build tree for main root: */
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h

    r86202 r86544  
    282282        /** Handles list cloud machines task complete signal. */
    283283        virtual void sltHandleCloudListMachinesTaskComplete(UITask *pTask) /* override */;
    284         /** Handles Cloud Profile Manager restriction changes. */
    285         virtual void sltHandleCloudProfileManagerRestrictionChange() /* override */;
     284        /** Handles Cloud Profile Manager cumulative changes. */
     285        virtual void sltHandleCloudProfileManagerCumulativeChange() /* override */;
    286286    /** @} */
    287287
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