VirtualBox

Ignore:
Timestamp:
Apr 4, 2007 9:20:12 AM (18 years ago)
Author:
vboxsync
Message:

1920: Add UI for the Clipboard settings:

Made as designed: Advanced tab of the General category of VMSettings, above the Snapshot Folder group.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r1902 r1915  
    234234    }
    235235
     236    QString toString (CEnums::ClipboardMode t) const
     237    {
     238        AssertMsg (!clipboardTypes [t].isNull(), ("No text for %d", t));
     239        return clipboardTypes [t];
     240    }
     241
     242    CEnums::ClipboardMode toClipboardModeType (const QString &s) const
     243    {
     244        QStringVector::const_iterator it =
     245            qFind (clipboardTypes.begin(), clipboardTypes.end(), s);
     246        AssertMsg (it != clipboardTypes.end(), ("No value for {%s}", s.latin1()));
     247        return CEnums::ClipboardMode (it - clipboardTypes.begin());
     248    }
     249
    236250    CEnums::VRDPAuthType toVRDPAuthType (const QString &s) const
    237251    {
     
    510524    QStringVector audioDriverTypes;
    511525    QStringVector networkAttachmentTypes;
     526    QStringVector clipboardTypes;
    512527    QStringVector USBDeviceStates;
    513528
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