VirtualBox

Changeset 77190 in vbox


Ignore:
Timestamp:
Feb 6, 2019 8:50:30 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128679
Message:

FE/Qt: bugref:9340. Remove obsolete dialogs

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r76825 r77190  
    11001100                          0 /* auto-confirm id */,
    11011101                          tr("Reload settings"), tr("Keep changes"));
    1102 }
    1103 
    1104 int UIMessageCenter::confirmHardDiskAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
    1105 {
    1106     return questionTrinary(pParent, MessageType_Question,
    1107                            tr("<p>You are about to add a virtual hard disk to controller <b>%1</b>.</p>"
    1108                               "<p>Would you like to create a new, empty file to hold the disk contents or select an existing one?</p>")
    1109                               .arg(strControllerName),
    1110                            0 /* auto-confirm id */,
    1111                            tr("Create &new disk"), tr("&Choose existing disk"));
    1112 }
    1113 
    1114 int UIMessageCenter::confirmOpticalAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
    1115 {
    1116     return questionTrinary(pParent, MessageType_Question,
    1117                            tr("<p>You are about to add a new optical drive to controller <b>%1</b>.</p>"
    1118                               "<p>Would you like to choose a virtual optical disk to put in the drive "
    1119                               "or to leave it empty for now?</p>")
    1120                               .arg(strControllerName),
    1121                            0 /* auto-confirm id */,
    1122                            tr("Leave &empty"), tr("&Choose disk"));
    1123 }
    1124 
    1125 int UIMessageCenter::confirmFloppyAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
    1126 {
    1127     return questionTrinary(pParent, MessageType_Question,
    1128                            tr("<p>You are about to add a new floppy drive to controller <b>%1</b>.</p>"
    1129                               "<p>Would you like to choose a virtual floppy disk to put in the drive "
    1130                               "or to leave it empty for now?</p>")
    1131                               .arg(strControllerName),
    1132                            0 /* auto-confirm id */,
    1133                            tr("Leave &empty"), tr("&Choose disk"));
    11341102}
    11351103
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r76581 r77190  
    318318    void warnAboutStateChange(QWidget *pParent = 0) const;
    319319    bool confirmSettingsReloading(QWidget *pParent = 0) const;
    320     int confirmHardDiskAttachmentCreation(const QString &strControllerName, QWidget *pParent = 0) const;
    321     int confirmOpticalAttachmentCreation(const QString &strControllerName, QWidget *pParent = 0) const;
    322     int confirmFloppyAttachmentCreation(const QString &strControllerName, QWidget *pParent = 0) const;
    323320    int confirmRemovingOfLastDVDDevice(QWidget *pParent = 0) const;
    324321    void cannotAttachDevice(const CMachine &machine, UIMediumDeviceType type, const QString &strLocation, const StorageSlot &storageSlot, QWidget *pParent = 0);
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