VirtualBox

Ignore:
Timestamp:
May 28, 2014 1:22:45 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: 6660: Advanced extra-data management framework: Remove GUI_Export_StorageType, GUI_Export_Username, GUI_Export_Hostname, GUI_Export_Bucket (no longer used).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp

    r51189 r51446  
    4040const char* UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun";
    4141const char* UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
    42 const char* UIExtraDataDefs::GUI_Export_StorageType = "GUI/Export/StorageType";
    43 const char* UIExtraDataDefs::GUI_Export_Username = "GUI/Export/Username";
    44 const char* UIExtraDataDefs::GUI_Export_Hostname = "GUI/Export/Hostname";
    45 const char* UIExtraDataDefs::GUI_Export_Bucket = "GUI/Export/Bucket";
    4642
    4743#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h

    r51401 r51446  
    4848    extern const char* GUI_FirstRun;
    4949    extern const char* GUI_HideDescriptionForWizards;
    50     extern const char* GUI_Export_StorageType;
    51     extern const char* GUI_Export_Username;
    52     extern const char* GUI_Export_Hostname;
    53     extern const char* GUI_Export_Bucket;
    5450
    5551#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp

    r51215 r51446  
    121121
    122122    /* Export the VMs, on success we are finished: */
    123     if (exportVMs(*pAppliance))
    124     {
    125 #if 0
    126         /* Save attributes to GUI extra data: */
    127         StorageType storageType = field("storageType").value<StorageType>();
    128         vboxGlobal().virtualBox().SetExtraData(GUI_Export_StorageType, QString::number(storageType));
    129         vboxGlobal().virtualBox().SetExtraData(GUI_Export_Username, m_pLeUsername->text());
    130         vboxGlobal().virtualBox().SetExtraData(GUI_Export_Hostname, m_pLeHostname->text());
    131         vboxGlobal().virtualBox().SetExtraData(GUI_Export_Bucket, m_pLeBucket->text());
    132 #endif
    133         return true;
    134     }
    135     return false;
     123    return exportVMs(*pAppliance);
    136124}
    137125
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp

    r41689 r51446  
    3434void UIWizardExportAppPage2::chooseDefaultStorageType()
    3535{
    36     /* Select default storage type: */
    37 #if 0
    38     /* Load storage-type from GUI extra data: */
    39     bool ok;
    40     StorageType storageType = StorageType(vboxGlobal().virtualBox().GetExtraData(GUI_Export_StorageType).toInt(&ok));
    41     if (ok)
    42         setStorageType(storageType);
    43 #else
    4436    /* Just select first of types: */
    4537    setStorageType(Filesystem);
    46 #endif
    4738}
    4839
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp

    r48592 r51446  
    4141void UIWizardExportAppPage3::chooseDefaultSettings()
    4242{
    43     /* Select default settings: */
    44 #if 0
    45     m_pUsernameEditor->setText(vboxGlobal().virtualBox().GetExtraData(GUI_Export_Username));
    46     m_pHostnameEditor->setText(vboxGlobal().virtualBox().GetExtraData(GUI_Export_Hostname));
    47     m_pBucketEditor->setText(vboxGlobal().virtualBox().GetExtraData(GUI_Export_Bucket));
    48 #else
    49     /* Choose defalt format: */
     43    /* Choose default format: */
    5044    setFormat("ovf-1.0");
    51 #endif
    5245}
    5346
Note: See TracChangeset for help on using the changeset viewer.

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