Changeset 284 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Jan 24, 2007 6:32:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r281 r284 218 218 } 219 219 220 QString toString (CEnums::VRDPAuthType t) const 221 { 222 AssertMsg (!vrdpAuthTypes [t].isNull(), ("No text for %d", t)); 223 return vrdpAuthTypes [t]; 224 } 225 226 CEnums::VRDPAuthType toVRDPAuthType (const QString &s) const 227 { 228 QStringVector::const_iterator it = 229 qFind (vrdpAuthTypes.begin(), vrdpAuthTypes.end(), s); 230 AssertMsg (it != vrdpAuthTypes.end(), ("No value for {%s}", s.latin1())); 231 return CEnums::VRDPAuthType (it - vrdpAuthTypes.begin()); 232 } 233 220 234 /** 221 235 * Similar to toString (CEnums::HardDiskType), but returns 'Differencing' … … 421 435 QStringVector diskTypes; 422 436 QStringVector diskStorageTypes; 437 QStringVector vrdpAuthTypes; 423 438 QStringVector diskControllerDevices; 424 439 QStringVector audioDriverTypes;
Note:
See TracChangeset
for help on using the changeset viewer.