VirtualBox

Changeset 91261 in vbox for trunk/src


Ignore:
Timestamp:
Sep 15, 2021 7:03:33 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146920
Message:

FE/Qt: bugref:9996: Export Appliance wizard: Rename appliance field to cloudAppliance since there will be separate localAppliance field for local needs; It's initialized on another page.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp

    r91259 r91261  
    6464    {
    6565        /* Get appliance: */
    66         CAppliance comAppliance = field("appliance").value<CAppliance>();
     66        CAppliance comAppliance = field("cloudAppliance").value<CAppliance>();
     67        AssertReturn(comAppliance.isNotNull(), false);
    6768
    6869        /* Export the VMs, on success we are finished: */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp

    r91159 r91261  
    517517}
    518518
    519 CAppliance UIWizardExportAppPage2::appliance() const
     519CAppliance UIWizardExportAppPage2::cloudAppliance() const
    520520{
    521521    return m_comAppliance;
     
    846846    registerField("includeISOsSelected", this, "includeISOsSelected");
    847847    registerField("providerShortName", this, "providerShortName");
    848     registerField("appliance", this, "appliance");
     848    registerField("cloudAppliance", this, "cloudAppliance");
    849849    registerField("client", this, "client");
    850850    registerField("vsd", this, "vsd");
     
    10111011        populateFormProperties();
    10121012        /* Which are required to continue to the next page: */
    1013         fResult =    field("appliance").value<CAppliance>().isNotNull()
     1013        fResult =    field("cloudAppliance").value<CAppliance>().isNotNull()
    10141014                  && field("client").value<CCloudClient>().isNotNull()
    10151015                  && field("vsd").value<CVirtualSystemDescription>().isNotNull()
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h

    r86587 r91261  
    162162    /** Returns profile name. */
    163163    QString profileName() const;
    164     /** Returns Appliance object. */
    165     CAppliance appliance() const;
     164    /** Returns Cloud Appliance object. */
     165    CAppliance cloudAppliance() const;
    166166    /** Returns Cloud Client object. */
    167167    CCloudClient client() const;
     
    260260    Q_PROPERTY(bool includeISOsSelected READ isIncludeISOsSelected WRITE setIncludeISOsSelected);
    261261    Q_PROPERTY(QString providerShortName READ providerShortName);
    262     Q_PROPERTY(CAppliance appliance READ appliance);
     262    Q_PROPERTY(CAppliance cloudAppliance READ cloudAppliance);
    263263    Q_PROPERTY(CCloudClient client READ client);
    264264    Q_PROPERTY(CVirtualSystemDescription vsd READ vsd);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp

    r91259 r91261  
    436436    registerField("includeISOsSelected", this, "includeISOsSelected");
    437437    registerField("providerShortName", this, "providerShortName");
    438     registerField("appliance", this, "appliance");
     438    registerField("cloudAppliance", this, "cloudAppliance");
    439439    registerField("client", this, "client");
    440440    registerField("vsd", this, "vsd");
     
    596596                      && UICommon::hasAllowedExtension(path().toLower(), OVFFileExts))
    597597                  || (   fCSP
    598                       && field("appliance").value<CAppliance>().isNotNull()
     598                      && field("cloudAppliance").value<CAppliance>().isNotNull()
    599599                      && field("client").value<CCloudClient>().isNotNull()
    600600                      && field("vsd").value<CVirtualSystemDescription>().isNotNull()
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h

    r91259 r91261  
    4646    Q_PROPERTY(bool includeISOsSelected READ isIncludeISOsSelected WRITE setIncludeISOsSelected);
    4747    Q_PROPERTY(QString providerShortName READ providerShortName);
    48     Q_PROPERTY(CAppliance appliance READ appliance);
     48    Q_PROPERTY(CAppliance cloudAppliance READ cloudAppliance);
    4949    Q_PROPERTY(CCloudClient client READ client);
    5050    Q_PROPERTY(CVirtualSystemDescription vsd READ vsd);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette