VirtualBox

Ignore:
Timestamp:
May 16, 2012 11:41:06 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78001
Message:

FE/Qt: Move some common stuff related to medium formats from wizards to VBoxGlobal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVD.cpp

    r41021 r41331  
    4343    assignBackground(":/vmw_new_harddisk_bg.png");
    4444#endif /* Q_WS_MAC */
    45 }
    46 
    47 /* static */
    48 QString UIWizardCloneVD::fullFormatName(const QString &strBaseFormatName)
    49 {
    50     if (strBaseFormatName == "VDI")
    51         return QApplication::translate("UIWizardCloneVD", "&VDI (VirtualBox Disk Image)");
    52     else if (strBaseFormatName == "VMDK")
    53         return QApplication::translate("UIWizardCloneVD", "V&MDK (Virtual Machine Disk)");
    54     else if (strBaseFormatName == "VHD")
    55         return QApplication::translate("UIWizardCloneVD", "V&HD (Virtual Hard Disk)");
    56     else if (strBaseFormatName == "Parallels")
    57         return QApplication::translate("UIWizardCloneVD", "H&DD (Parallels Hard Disk)");
    58     else if (strBaseFormatName == "QED")
    59         return QApplication::translate("UIWizardCloneVD", "Q&ED (QEMU enhanced disk)");
    60     else if (strBaseFormatName == "QCOW")
    61         return QApplication::translate("UIWizardCloneVD", "&QCOW (QEMU Copy-On-Write)");
    62     return strBaseFormatName;
    6345}
    6446
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