Changeset 84006 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 27, 2020 12:13:44 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/cloud/machinesettings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/machinesettings/UICloudMachineSettingsDialogPage.cpp
r83963 r84006 23 23 #include "UICloudMachineSettingsDialogPage.h" 24 24 25 /* Other VBox includes: */ 26 #include "iprt/assert.h" 27 25 28 26 29 UICloudMachineSettingsDialogPage::UICloudMachineSettingsDialogPage(QWidget *pParent) … … 32 35 void UICloudMachineSettingsDialogPage::setForm(const CForm &comForm) 33 36 { 34 if (m_pFormEditor) 35 m_pFormEditor->setForm(comForm); 37 m_comForm = comForm; 38 AssertPtrReturnVoid(m_pFormEditor.data()); 39 m_pFormEditor->setForm(m_comForm); 36 40 } 37 41 38 42 void UICloudMachineSettingsDialogPage::makeSureDataCommitted() 39 43 { 40 if (m_pFormEditor)41 44 AssertPtrReturnVoid(m_pFormEditor.data()); 45 m_pFormEditor->makeSureEditorDataCommitted(); 42 46 } 43 47 -
trunk/src/VBox/Frontends/VirtualBox/src/cloud/machinesettings/UICloudMachineSettingsDialogPage.h
r83963 r84006 29 29 #include "UIFormEditorWidget.h" 30 30 31 /* Forward declarations: */ 32 class CForm; 31 /* COM includes: */ 32 #include "COMEnums.h" 33 #include "CForm.h" 33 34 34 35 /** Cloud machine settings dialog page. */ … … 41 42 /** Constructs cloud machine settings dialog page passing @a pParent to the base-class. */ 42 43 UICloudMachineSettingsDialogPage(QWidget *pParent); 44 45 /** Returns page form. */ 46 CForm form() const { return m_comForm; } 47 48 public slots: 43 49 44 50 /** Defines page @a comForm. */ … … 55 61 /** Holds the form editor widget instance. */ 56 62 UIFormEditorWidgetPointer m_pFormEditor; 63 64 /** Holds the page form. */ 65 CForm m_comForm; 57 66 }; 58 67
Note:
See TracChangeset
for help on using the changeset viewer.