Changeset 51208 in vbox
- Timestamp:
- May 7, 2014 4:26:50 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extradata
- Files:
-
- 2 edited
-
UIExtraDataManager.cpp (modified) (1 diff)
-
UIExtraDataManager.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r51207 r51208 665 665 } 666 666 667 QString UIExtraDataManager::toFeatureAllowed(bool fAllowed) 668 { 669 return fAllowed ? QString("true") : QString(); 670 } 671 672 QString UIExtraDataManager::toFeatureRestricted(bool fRestricted) 673 { 674 return fRestricted ? QString("false") : QString(); 675 } 676 667 677 QString UIExtraDataManager::extraDataString(const QString &strKey, const QString &strID /* = QString() */) const 668 678 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r51207 r51208 211 211 bool isFeatureRestricted(const QString &strKey, const QString &strID = QString()) const; 212 212 213 /** Translates bool flag into 'allowed' value. */ 214 QString toFeatureAllowed(bool fAllowed); 215 /** Translates bool flag into 'restricted' value. */ 216 QString toFeatureRestricted(bool fRestricted); 217 213 218 /** Returns extra-data value corresponding to passed @a strKey as QString. 214 219 * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
Note:
See TracChangeset
for help on using the changeset viewer.

