Changeset 1915 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Apr 4, 2007 9:20:12 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r1902 r1915 234 234 } 235 235 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 236 250 CEnums::VRDPAuthType toVRDPAuthType (const QString &s) const 237 251 { … … 510 524 QStringVector audioDriverTypes; 511 525 QStringVector networkAttachmentTypes; 526 QStringVector clipboardTypes; 512 527 QStringVector USBDeviceStates; 513 528
Note:
See TracChangeset
for help on using the changeset viewer.