VirtualBox

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


Ignore:
Timestamp:
Oct 19, 2020 6:41:39 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: A bit of cleanup for r141004.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp

    r86630 r86631  
    582582}
    583583
     584void UIChooserAbstractModel::insertCloudAccountKey(const UICloudAccountKey &key)
     585{
     586    m_cloudAccountKeysBeingUpdated.insert(key);
     587}
     588
     589void UIChooserAbstractModel::removeCloudAccountKey(const UICloudAccountKey &key)
     590{
     591    m_cloudAccountKeysBeingUpdated.remove(key);
     592}
     593
     594bool UIChooserAbstractModel::containsCloudAccountKey(const UICloudAccountKey &key) const
     595{
     596    return m_cloudAccountKeysBeingUpdated.contains(key);
     597}
     598
    584599void UIChooserAbstractModel::sltHandleCloudMachineStateChange()
    585600{
     
    599614    makeSureGroupDefinitionsSaveIsFinished();
    600615    emit sigGroupSavingStateChanged();
    601 }
    602 
    603 void UIChooserAbstractModel::insertCloudAccountKey(const UICloudAccountKey &key)
    604 {
    605     m_cloudAccountKeysBeingUpdated.insert(key);
    606 }
    607 
    608 void UIChooserAbstractModel::removeCloudAccountKey(const UICloudAccountKey &key)
    609 {
    610     m_cloudAccountKeysBeingUpdated.remove(key);
    611 }
    612 
    613 bool UIChooserAbstractModel::containsCloudAccountKey(const UICloudAccountKey &key) const
    614 {
    615     return m_cloudAccountKeysBeingUpdated.contains(key);
    616616}
    617617
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h

    r86630 r86631  
    125125    /** @} */
    126126
    127 public slots:
    128 
    129     /** @name Cloud machine stuff.
    130       * @{ */
    131         /** Handles cloud machine state change. */
    132         void sltHandleCloudMachineStateChange();
    133     /** @} */
    134 
    135     /** @name Group saving stuff.
    136       * @{ */
    137         /** Handles group settings saving complete. */
    138         void sltGroupSettingsSaveComplete();
    139         /** Handles group definitions saving complete. */
    140         void sltGroupDefinitionsSaveComplete();
    141     /** @} */
    142 
    143127    /** @name Cloud update stuff.
    144128      * @{ */
     
    149133        /** Returns whether cloud account @a key is a part of key set currently being updated. */
    150134        bool containsCloudAccountKey(const UICloudAccountKey &key) const;
     135    /** @} */
     136
     137public slots:
     138
     139    /** @name Cloud machine stuff.
     140      * @{ */
     141        /** Handles cloud machine state change. */
     142        void sltHandleCloudMachineStateChange();
     143    /** @} */
     144
     145    /** @name Group saving stuff.
     146      * @{ */
     147        /** Handles group settings saving complete. */
     148        void sltGroupSettingsSaveComplete();
     149        /** Handles group definitions saving complete. */
     150        void sltGroupDefinitionsSaveComplete();
    151151    /** @} */
    152152
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