Changeset 74758 in vbox
- Timestamp:
- Oct 11, 2018 10:49:36 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r73952 r74758 363 363 } 364 364 365 QString UIWizardExportAppPage2::format() const366 {367 const int iIndex = m_pFormatComboBox->currentIndex();368 return m_pFormatComboBox->itemData(iIndex).toString();369 }370 371 365 void UIWizardExportAppPage2::setFormat(const QString &strFormat) 372 366 { … … 375 369 m_pFormatComboBox->setCurrentIndex(iIndex); 376 370 } 371 QString UIWizardExportAppPage2::format() const 372 { 373 const int iIndex = m_pFormatComboBox->currentIndex(); 374 return m_pFormatComboBox->itemData(iIndex).toString(); 375 } 376 377 void UIWizardExportAppPage2::setPath(const QString &strPath) 378 { 379 m_pFileSelector->setPath(strPath); 380 } 377 381 378 382 QString UIWizardExportAppPage2::path() const 379 383 { 380 384 return m_pFileSelector->path(); 381 }382 383 void UIWizardExportAppPage2::setPath(const QString &strPath)384 {385 m_pFileSelector->setPath(strPath);386 }387 388 MACAddressPolicy UIWizardExportAppPage2::macAddressPolicy() const389 {390 const int iIndex = m_pMACComboBox->currentIndex();391 return (MACAddressPolicy)m_pMACComboBox->itemData(iIndex).toInt();392 385 } 393 386 … … 399 392 } 400 393 394 MACAddressPolicy UIWizardExportAppPage2::macAddressPolicy() const 395 { 396 const int iIndex = m_pMACComboBox->currentIndex(); 397 return (MACAddressPolicy)m_pMACComboBox->itemData(iIndex).toInt(); 398 } 399 400 void UIWizardExportAppPage2::setManifestSelected(bool fChecked) 401 { 402 m_pManifestCheckbox->setChecked(fChecked); 403 } 404 401 405 bool UIWizardExportAppPage2::isManifestSelected() const 402 406 { … … 404 408 } 405 409 406 void UIWizardExportAppPage2::set ManifestSelected(bool fChecked)407 { 408 m_p ManifestCheckbox->setChecked(fChecked);410 void UIWizardExportAppPage2::setIncludeISOsSelected(bool fChecked) 411 { 412 m_pIncludeISOsCheckbox->setChecked(fChecked); 409 413 } 410 414 … … 412 416 { 413 417 return m_pIncludeISOsCheckbox->isChecked(); 414 }415 416 void UIWizardExportAppPage2::setIncludeISOsSelected(bool fChecked)417 {418 m_pIncludeISOsCheckbox->setChecked(fChecked);419 418 } 420 419 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h
r73728 r74758 103 103 void adjustAccountPropertyTable(); 104 104 105 /** Defines @a strFormat. */ 106 void setFormat(const QString &strFormat); 105 107 /** Returns format. */ 106 108 QString format() const; 107 /** Defines @a strFormat. */ 108 void setFormat(const QString &strFormat);109 109 110 /** Defines @a strPath. */ 111 void setPath(const QString &strPath); 110 112 /** Returns path. */ 111 113 QString path() const; 112 /** Defines @a strPath. */ 113 void setPath(const QString &strPath);114 114 115 /** Defines @a enmMACAddressPolicy. */ 116 void setMACAddressPolicy(MACAddressPolicy enmMACAddressPolicy); 115 117 /** Returns MAC address policy. */ 116 118 MACAddressPolicy macAddressPolicy() const; 117 /** Defines @a enmMACAddressPolicy. */ 118 void setMACAddressPolicy(MACAddressPolicy enmMACAddressPolicy);119 119 120 /** Defines whether manifest @a fSelected. */ 121 void setManifestSelected(bool fChecked); 120 122 /** Returns whether manifest selected. */ 121 123 bool isManifestSelected() const; 122 /** Defines whether manifest @a fSelected. */ 123 void setManifestSelected(bool fChecked);124 124 125 /** Defines whether include ISOs @a fSelected. */ 126 void setIncludeISOsSelected(bool fChecked); 125 127 /** Returns whether include ISOs selected. */ 126 128 bool isIncludeISOsSelected() const; 127 /** Defines whether include ISOs @a fSelected. */128 void setIncludeISOsSelected(bool fChecked);129 129 130 130 /** Defines provider by @a strId. */
Note:
See TracChangeset
for help on using the changeset viewer.