Changeset 91334 in vbox
- Timestamp:
- Sep 22, 2021 7:37:27 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 147001
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.cpp ¶
r91241 r91334 62 62 comMachine, 63 63 strInstanceName, 64 shortProviderName(),64 providerShortName(), 65 65 profileName()); 66 66 connect(pNotification, &UINotificationProgressCloudMachineAdd::sigCloudMachineAdded, -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.h ¶
r91241 r91334 44 44 45 45 /** Defines @a strProviderShortName. */ 46 void set ShortProviderName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; }47 /** Returns short providername. */48 QString shortProviderName() const { return m_strProviderShortName; }46 void setProviderShortName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; } 47 /** Returns provider short name. */ 48 QString providerShortName() const { return m_strProviderShortName; } 49 49 50 50 /** Defines @a strProfileName. */ -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp ¶
r90375 r91334 225 225 } 226 226 227 void UIWizardAddCloudVMPageExpert::set ShortProviderName(const QString &strProviderShortName)228 { 229 qobject_cast<UIWizardAddCloudVM*>(wizard())->set ShortProviderName(strProviderShortName);230 } 231 232 QString UIWizardAddCloudVMPageExpert:: shortProviderName() const233 { 234 return qobject_cast<UIWizardAddCloudVM*>(wizard())-> shortProviderName();227 void UIWizardAddCloudVMPageExpert::setProviderShortName(const QString &strProviderShortName) 228 { 229 qobject_cast<UIWizardAddCloudVM*>(wizard())->setProviderShortName(strProviderShortName); 230 } 231 232 QString UIWizardAddCloudVMPageExpert::providerShortName() const 233 { 234 return qobject_cast<UIWizardAddCloudVM*>(wizard())->providerShortName(); 235 235 } 236 236 … … 268 268 { 269 269 updateComboToolTip(m_pProviderComboBox); 270 set ShortProviderName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString());271 CCloudProvider comCloudProvider = cloudProviderByShortName( shortProviderName(), wizard());270 setProviderShortName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString()); 271 CCloudProvider comCloudProvider = cloudProviderByShortName(providerShortName(), wizard()); 272 272 populateProfiles(m_pProfileComboBox, comCloudProvider); 273 273 updateProfile(); … … 277 277 { 278 278 setProfileName(m_pProfileComboBox->currentData(ProfileData_Name).toString()); 279 setClient(cloudClientByName( shortProviderName(), profileName(), wizard()));279 setClient(cloudClientByName(providerShortName(), profileName(), wizard())); 280 280 populateProfileInstances(m_pSourceInstanceList, client()); 281 281 updateSourceInstance(); -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h ¶
r91240 r91334 68 68 private: 69 69 70 /** Defines short providername. */71 void set ShortProviderName(const QString &strProviderShortName);72 /** Returns pro filename. */73 QString shortProviderName() const;70 /** Defines provider short name. */ 71 void setProviderShortName(const QString &strProviderShortName); 72 /** Returns provider short name. */ 73 QString providerShortName() const; 74 74 75 75 /** Defines profile name. */ -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp ¶
r91240 r91334 481 481 } 482 482 483 void UIWizardAddCloudVMPageSource::set ShortProviderName(const QString &strProviderShortName)484 { 485 qobject_cast<UIWizardAddCloudVM*>(wizard())->set ShortProviderName(strProviderShortName);486 } 487 488 QString UIWizardAddCloudVMPageSource:: shortProviderName() const489 { 490 return qobject_cast<UIWizardAddCloudVM*>(wizard())-> shortProviderName();483 void UIWizardAddCloudVMPageSource::setProviderShortName(const QString &strProviderShortName) 484 { 485 qobject_cast<UIWizardAddCloudVM*>(wizard())->setProviderShortName(strProviderShortName); 486 } 487 488 QString UIWizardAddCloudVMPageSource::providerShortName() const 489 { 490 return qobject_cast<UIWizardAddCloudVM*>(wizard())->providerShortName(); 491 491 } 492 492 … … 524 524 { 525 525 updateComboToolTip(m_pProviderComboBox); 526 set ShortProviderName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString());527 CCloudProvider comCloudProvider = cloudProviderByShortName( shortProviderName(), wizard());526 setProviderShortName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString()); 527 CCloudProvider comCloudProvider = cloudProviderByShortName(providerShortName(), wizard()); 528 528 populateProfiles(m_pProfileComboBox, comCloudProvider); 529 529 updateProfile(); … … 533 533 { 534 534 setProfileName(m_pProfileComboBox->currentData(ProfileData_Name).toString()); 535 setClient(cloudClientByName( shortProviderName(), profileName(), wizard()));535 setClient(cloudClientByName(providerShortName(), profileName(), wizard())); 536 536 populateProfileInstances(m_pSourceInstanceList, client()); 537 537 updateSourceInstance(); -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.h ¶
r91240 r91334 107 107 private: 108 108 109 /** Defines short providername. */110 void set ShortProviderName(const QString &strProviderShortName);111 /** Returns pro filename. */112 QString shortProviderName() const;109 /** Defines provider short name. */ 110 void setProviderShortName(const QString &strProviderShortName); 111 /** Returns provider short name. */ 112 QString providerShortName() const; 113 113 114 114 /** Defines profile name. */ -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.cpp ¶
r91240 r91334 142 142 comMachine, 143 143 comVSD, 144 shortProviderName(),144 providerShortName(), 145 145 profileName()); 146 146 connect(pNotification, &UINotificationProgressCloudMachineCreate::sigCloudMachineCreated, -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.h ¶
r90375 r91334 55 55 56 56 /** Defines @a strProviderShortName. */ 57 void set ShortProviderName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; }58 /** Returns short providername. */59 QString shortProviderName() const { return m_strProviderShortName; }57 void setProviderShortName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; } 58 /** Returns provider short name. */ 59 QString providerShortName() const { return m_strProviderShortName; } 60 60 61 61 /** Defines @a strProfileName. */ -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp ¶
r90729 r91334 356 356 } 357 357 358 void UIWizardNewCloudVMPageExpert::set ShortProviderName(const QString &strProviderShortName)359 { 360 qobject_cast<UIWizardNewCloudVM*>(wizard())->set ShortProviderName(strProviderShortName);361 } 362 363 QString UIWizardNewCloudVMPageExpert:: shortProviderName() const364 { 365 return qobject_cast<UIWizardNewCloudVM*>(wizard())-> shortProviderName();358 void UIWizardNewCloudVMPageExpert::setProviderShortName(const QString &strProviderShortName) 359 { 360 qobject_cast<UIWizardNewCloudVM*>(wizard())->setProviderShortName(strProviderShortName); 361 } 362 363 QString UIWizardNewCloudVMPageExpert::providerShortName() const 364 { 365 return qobject_cast<UIWizardNewCloudVM*>(wizard())->providerShortName(); 366 366 } 367 367 … … 409 409 { 410 410 updateComboToolTip(m_pProviderComboBox); 411 set ShortProviderName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString());412 CCloudProvider comCloudProvider = cloudProviderByShortName( shortProviderName(), wizard());411 setProviderShortName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString()); 412 CCloudProvider comCloudProvider = cloudProviderByShortName(providerShortName(), wizard()); 413 413 populateProfiles(m_pProfileComboBox, comCloudProvider); 414 414 updateProfile(); … … 418 418 { 419 419 setProfileName(m_pProfileComboBox->currentData(ProfileData_Name).toString()); 420 setClient(cloudClientByName( shortProviderName(), profileName(), wizard()));420 setClient(cloudClientByName(providerShortName(), profileName(), wizard())); 421 421 updateSource(); 422 422 } -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h ¶
r91240 r91334 75 75 private: 76 76 77 /** Defines short providername. */78 void set ShortProviderName(const QString &strProviderShortName);79 /** Returns pro filename. */80 QString shortProviderName() const;77 /** Defines provider short name. */ 78 void setProviderShortName(const QString &strProviderShortName); 79 /** Returns provider short name. */ 80 QString providerShortName() const; 81 81 82 82 /** Defines profile name. */ -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp ¶
r91240 r91334 556 556 } 557 557 558 void UIWizardNewCloudVMPageSource::set ShortProviderName(const QString &strProviderShortName)559 { 560 qobject_cast<UIWizardNewCloudVM*>(wizard())->set ShortProviderName(strProviderShortName);561 } 562 563 QString UIWizardNewCloudVMPageSource:: shortProviderName() const564 { 565 return qobject_cast<UIWizardNewCloudVM*>(wizard())-> shortProviderName();558 void UIWizardNewCloudVMPageSource::setProviderShortName(const QString &strProviderShortName) 559 { 560 qobject_cast<UIWizardNewCloudVM*>(wizard())->setProviderShortName(strProviderShortName); 561 } 562 563 QString UIWizardNewCloudVMPageSource::providerShortName() const 564 { 565 return qobject_cast<UIWizardNewCloudVM*>(wizard())->providerShortName(); 566 566 } 567 567 … … 604 604 { 605 605 updateComboToolTip(m_pProviderComboBox); 606 set ShortProviderName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString());607 CCloudProvider comCloudProvider = cloudProviderByShortName( shortProviderName(), wizard());606 setProviderShortName(m_pProviderComboBox->currentData(ProviderData_ShortName).toString()); 607 CCloudProvider comCloudProvider = cloudProviderByShortName(providerShortName(), wizard()); 608 608 populateProfiles(m_pProfileComboBox, comCloudProvider); 609 609 updateProfile(); … … 613 613 { 614 614 setProfileName(m_pProfileComboBox->currentData(ProfileData_Name).toString()); 615 setClient(cloudClientByName( shortProviderName(), profileName(), wizard()));615 setClient(cloudClientByName(providerShortName(), profileName(), wizard())); 616 616 updateSource(); 617 617 } -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.h ¶
r91240 r91334 116 116 private: 117 117 118 /** Defines short providername. */119 void set ShortProviderName(const QString &strProviderShortName);120 /** Returns pro filename. */121 QString shortProviderName() const;118 /** Defines provider short name. */ 119 void setProviderShortName(const QString &strProviderShortName); 120 /** Returns provider short name. */ 121 QString providerShortName() const; 122 122 123 123 /** Defines profile name. */
Note:
See TracChangeset
for help on using the changeset viewer.