- Timestamp:
- Oct 20, 2021 1:27:20 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 2 edited
-
UIWizardExportApp.cpp (modified) (1 diff)
-
UIWizardExportApp.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp
r91893 r91894 58 58 setPixmapName(":/wizard_ovf_export_bg.png"); 59 59 #endif 60 }61 62 QStringList UIWizardExportApp::machineNames() const63 {64 return m_machineNames;65 }66 67 void UIWizardExportApp::setMachineNames(const QStringList &names)68 {69 m_machineNames = names;70 }71 72 QList<QUuid> UIWizardExportApp::machineIDs() const73 {74 return m_machineIDs;75 }76 77 void UIWizardExportApp::setMachineIDs(const QList<QUuid> &ids)78 {79 m_machineIDs = ids;80 }81 82 QString UIWizardExportApp::format() const83 {84 return m_strFormat;85 }86 87 void UIWizardExportApp::setFormat(const QString &strFormat)88 {89 m_strFormat = strFormat;90 }91 92 bool UIWizardExportApp::isFormatCloudOne() const93 {94 return m_fFormatCloudOne;95 }96 97 void UIWizardExportApp::setFormatCloudOne(bool fCloudOne)98 {99 m_fFormatCloudOne = fCloudOne;100 }101 102 QString UIWizardExportApp::path() const103 {104 return m_strPath;105 }106 107 void UIWizardExportApp::setPath(const QString &strPath)108 {109 m_strPath = strPath;110 }111 112 MACAddressExportPolicy UIWizardExportApp::macAddressExportPolicy() const113 {114 return m_enmMACAddressExportPolicy;115 }116 117 void UIWizardExportApp::setMACAddressExportPolicy(MACAddressExportPolicy enmPolicy)118 {119 m_enmMACAddressExportPolicy = enmPolicy;120 }121 122 bool UIWizardExportApp::isManifestSelected() const123 {124 return m_fManifestSelected;125 }126 127 void UIWizardExportApp::setManifestSelected(bool fSelected)128 {129 m_fManifestSelected = fSelected;130 }131 132 bool UIWizardExportApp::isIncludeISOsSelected() const133 {134 return m_fIncludeISOsSelected;135 }136 137 void UIWizardExportApp::setIncludeISOsSelected(bool fSelected)138 {139 m_fIncludeISOsSelected = fSelected;140 }141 142 CAppliance UIWizardExportApp::localAppliance()143 {144 return m_comLocalAppliance;145 }146 147 void UIWizardExportApp::setLocalAppliance(const CAppliance &comAppliance)148 {149 m_comLocalAppliance = comAppliance;150 }151 152 QString UIWizardExportApp::profileName() const153 {154 return m_strProfileName;155 }156 157 void UIWizardExportApp::setProfileName(const QString &strName)158 {159 m_strProfileName = strName;160 }161 162 CAppliance UIWizardExportApp::cloudAppliance()163 {164 return m_comCloudAppliance;165 }166 167 void UIWizardExportApp::setCloudAppliance(const CAppliance &comAppliance)168 {169 m_comCloudAppliance = comAppliance;170 }171 172 CCloudClient UIWizardExportApp::cloudClient()173 {174 return m_comCloudClient;175 }176 177 void UIWizardExportApp::setCloudClient(const CCloudClient &comClient)178 {179 m_comCloudClient = comClient;180 }181 182 CVirtualSystemDescription UIWizardExportApp::vsd()183 {184 return m_comVsd;185 }186 187 void UIWizardExportApp::setVsd(const CVirtualSystemDescription &comDescription)188 {189 m_comVsd = comDescription;190 }191 192 CVirtualSystemDescriptionForm UIWizardExportApp::vsdExportForm()193 {194 return m_comVsdExportForm;195 }196 197 void UIWizardExportApp::setVsdExportForm(const CVirtualSystemDescriptionForm &comForm)198 {199 m_comVsdExportForm = comForm;200 }201 202 CVirtualSystemDescriptionForm UIWizardExportApp::vsdLaunchForm()203 {204 return m_comVsdLaunchForm;205 }206 207 void UIWizardExportApp::setVsdLaunchForm(const CVirtualSystemDescriptionForm &comForm)208 {209 m_comVsdLaunchForm = comForm;210 }211 212 CloudExportMode UIWizardExportApp::cloudExportMode() const213 {214 return m_enmCloudExportMode;215 }216 217 void UIWizardExportApp::setCloudExportMode(const CloudExportMode &enmMode)218 {219 m_enmCloudExportMode = enmMode;220 60 } 221 61 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.h
r91893 r91894 69 69 * @{ */ 70 70 /** Returns a list of machine names. */ 71 QStringList machineNames() const; 72 /** Defines a list of machine @a names. */ 73 void setMachineNames(const QStringList &names); 71 QStringList machineNames() const { return m_machineNames; } 74 72 /** Returns a list of machine IDs. */ 75 QList<QUuid> machineIDs() const; 76 /** Defines a list of machine @a ids. */ 77 void setMachineIDs(const QList<QUuid> &ids); 73 QList<QUuid> machineIDs() const { return m_machineIDs; } 78 74 79 75 /** Returns format. */ 80 QString format() const; 81 /** Defines @a strFormat. */ 82 void setFormat(const QString &strFormat); 76 QString format() const { return m_strFormat; } 83 77 84 78 /** Returns whether format is cloud one. */ 85 bool isFormatCloudOne() const; 86 /** Defines whether format is @a fCloudOne. */ 87 void setFormatCloudOne(bool fCloudOne); 79 bool isFormatCloudOne() const { return m_fFormatCloudOne; } 88 80 /** @} */ 89 81 … … 91 83 * @{ */ 92 84 /** Returns path. */ 93 QString path() const; 94 /** Defines @a strPath. */ 95 void setPath(const QString &strPath); 85 QString path() const { return m_strPath; } 96 86 97 87 /** Returns MAC address export policy. */ 98 MACAddressExportPolicy macAddressExportPolicy() const; 99 /** Defines MAC address export @a enmPolicy. */ 100 void setMACAddressExportPolicy(MACAddressExportPolicy enmPolicy); 88 MACAddressExportPolicy macAddressExportPolicy() const { return m_enmMACAddressExportPolicy; } 101 89 102 90 /** Returns whether manifest is selected. */ 103 bool isManifestSelected() const; 104 /** Defines whether manifest is @a fSelected. */ 105 void setManifestSelected(bool fSelected); 91 bool isManifestSelected() const { return m_fManifestSelected; } 106 92 107 93 /** Returns whether include ISOs is selected. */ 108 bool isIncludeISOsSelected() const; 109 /** Defines whether include ISOs is @a fSelected. */ 110 void setIncludeISOsSelected(bool fSelected); 94 bool isIncludeISOsSelected() const { return m_fIncludeISOsSelected; } 111 95 112 96 /** Returns local appliance object. */ 113 CAppliance localAppliance(); 114 /** Defines local @a comAppliance object. */ 115 void setLocalAppliance(const CAppliance &comAppliance); 97 CAppliance localAppliance() const { return m_comLocalAppliance; } 116 98 /** @} */ 117 99 … … 119 101 * @{ */ 120 102 /** Returns profile name. */ 121 QString profileName() const; 122 /** Defines profile @a strName. */ 123 void setProfileName(const QString &strName); 103 QString profileName() const { return m_strProfileName; } 124 104 125 105 /** Returns cloud appliance object. */ 126 CAppliance cloudAppliance(); 127 /** Defines cloud @a comAppliance object. */ 128 void setCloudAppliance(const CAppliance &comAppliance); 106 CAppliance cloudAppliance() const { return m_comCloudAppliance; } 129 107 130 108 /** Returns cloud client object. */ 131 CCloudClient cloudClient(); 132 /** Defines cloud @a comClient object. */ 133 void setCloudClient(const CCloudClient &comClient); 109 CCloudClient cloudClient() const { return m_comCloudClient; } 134 110 135 111 /** Returns virtual system description object. */ 136 CVirtualSystemDescription vsd(); 137 /** Defines virtual system @a comDescription object. */ 138 void setVsd(const CVirtualSystemDescription &comDescription); 112 CVirtualSystemDescription vsd() const { return m_comVsd; } 139 113 140 114 /** Returns virtual system description export form object. */ 141 CVirtualSystemDescriptionForm vsdExportForm(); 142 /** Defines virtual system description export @a comForm object. */ 143 void setVsdExportForm(const CVirtualSystemDescriptionForm &comForm); 115 CVirtualSystemDescriptionForm vsdExportForm() const { return m_comVsdExportForm; } 144 116 145 117 /** Returns virtual system description launch form object. */ 146 CVirtualSystemDescriptionForm vsdLaunchForm(); 147 /** Defines virtual system description launch @a comForm object. */ 148 void setVsdLaunchForm(const CVirtualSystemDescriptionForm &comForm); 118 CVirtualSystemDescriptionForm vsdLaunchForm() const { return m_comVsdLaunchForm; } 149 119 150 120 /** Returns cloud export mode. */ 151 CloudExportMode cloudExportMode() const; 152 /** Defines cloud export @a enmMode. */ 153 void setCloudExportMode(const CloudExportMode &enmMode); 121 CloudExportMode cloudExportMode() const { return m_enmCloudExportMode; } 154 122 /** @} */ 155 123 … … 174 142 /** Creates New Cloud VM. */ 175 143 bool createCloudVM(); 144 /** @} */ 145 146 public slots: 147 148 /** @name Common fields. 149 * @{ */ 150 /** Defines a list of machine @a names. */ 151 void setMachineNames(const QStringList &names) { m_machineNames = names; } 152 /** Defines a list of machine @a ids. */ 153 void setMachineIDs(const QList<QUuid> &ids) { m_machineIDs = ids; } 154 155 /** Defines @a strFormat. */ 156 void setFormat(const QString &strFormat) { m_strFormat = strFormat; } 157 158 /** Defines whether format is @a fCloudOne. */ 159 void setFormatCloudOne(bool fCloudOne) { m_fFormatCloudOne = fCloudOne; } 160 /** @} */ 161 162 /** @name Local export fields. 163 * @{ */ 164 /** Defines @a strPath. */ 165 void setPath(const QString &strPath) { m_strPath = strPath; } 166 167 /** Defines MAC address export @a enmPolicy. */ 168 void setMACAddressExportPolicy(MACAddressExportPolicy enmPolicy) { m_enmMACAddressExportPolicy = enmPolicy; } 169 170 /** Defines whether manifest is @a fSelected. */ 171 void setManifestSelected(bool fSelected) { m_fManifestSelected = fSelected; } 172 173 /** Defines whether include ISOs is @a fSelected. */ 174 void setIncludeISOsSelected(bool fSelected) { m_fIncludeISOsSelected = fSelected; } 175 176 /** Defines local @a comAppliance object. */ 177 void setLocalAppliance(const CAppliance &comAppliance) { m_comLocalAppliance = comAppliance; } 178 /** @} */ 179 180 /** @name Cloud export fields. 181 * @{ */ 182 /** Defines profile @a strName. */ 183 void setProfileName(const QString &strName) { m_strProfileName = strName; } 184 185 /** Defines cloud @a comAppliance object. */ 186 void setCloudAppliance(const CAppliance &comAppliance) { m_comCloudAppliance = comAppliance; } 187 188 /** Defines cloud @a comClient object. */ 189 void setCloudClient(const CCloudClient &comClient) { m_comCloudClient = comClient; } 190 191 /** Defines virtual system @a comDescription object. */ 192 void setVsd(const CVirtualSystemDescription &comDescription) { m_comVsd = comDescription; } 193 194 /** Defines virtual system description export @a comForm object. */ 195 void setVsdExportForm(const CVirtualSystemDescriptionForm &comForm) { m_comVsdExportForm = comForm; } 196 197 /** Defines virtual system description launch @a comForm object. */ 198 void setVsdLaunchForm(const CVirtualSystemDescriptionForm &comForm) { m_comVsdLaunchForm = comForm; } 199 200 /** Defines cloud export @a enmMode. */ 201 void setCloudExportMode(const CloudExportMode &enmMode) { m_enmCloudExportMode = enmMode; } 176 202 /** @} */ 177 203
Note:
See TracChangeset
for help on using the changeset viewer.

