Changeset 86688 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 23, 2020 2:01:54 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.cpp
r86687 r86688 962 962 } 963 963 964 void UICloudProfileManagerWidget::updateItemForCloudProfile(const UIDataCloudProfile &profileData, bool fChooseItem, UIItemCloudProfile *pItem)965 {966 /* Update passed item: */967 if (pItem)968 {969 /* Configure item: */970 pItem->UIDataCloudProfile::operator=(profileData);971 pItem->updateFields();972 /* And choose it as current if necessary: */973 if (fChooseItem)974 m_pTreeWidget->setCurrentItem(pItem);975 }976 }977 978 964 QStringList UICloudProfileManagerWidget::gatherCloudProfileManagerRestrictions(QTreeWidgetItem *pParentItem) 979 965 { -
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.h
r86687 r86688 175 175 * on the basis of passed @a providerData, @a fChooseItem if requested. */ 176 176 void createItemForCloudProvider(const UIDataCloudProvider &providerData, bool fChooseItem); 177 178 177 /** Creates a new tree-widget item as a child of certain @a pParent, 179 178 * on the basis of passed @a profileData, @a fChooseItem if requested. */ 180 179 void createItemForCloudProfile(QTreeWidgetItem *pParent, const UIDataCloudProfile &profileData, bool fChooseItem); 181 /** Updates the passed tree-widget item on the basis of passed @a profileData, @a fChooseItem if requested. */182 void updateItemForCloudProfile(const UIDataCloudProfile &profileData, bool fChooseItem, UIItemCloudProfile *pItem);183 180 184 181 /* Gathers a list of Cloud Profile Manager restrictions starting from @a pParentItem. */ … … 189 186 * @{ */ 190 187 /** Holds the widget embedding type. */ 191 const EmbedTo m_enmEmbedding;188 const EmbedTo m_enmEmbedding; 192 189 /** Holds the action-pool reference. */ 193 UIActionPool *m_pActionPool;190 UIActionPool *m_pActionPool; 194 191 /** Holds whether we should create/show toolbar. */ 195 const bool m_fShowToolbar;192 const bool m_fShowToolbar; 196 193 /** @} */ 197 194
Note:
See TracChangeset
for help on using the changeset viewer.