Changeset 73507 in vbox for trunk/src/VBox
- Timestamp:
- Aug 5, 2018 2:07:07 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r72696 r73507 3136 3136 /* Get iterated enum-value: */ 3137 3137 const UIExtraDataMetaDefs::MenuType enumValue = 3138 static_cast< constUIExtraDataMetaDefs::MenuType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3138 static_cast<UIExtraDataMetaDefs::MenuType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3139 3139 /* Skip MenuType_Invalid & MenuType_All enum-values: */ 3140 3140 if (enumValue == UIExtraDataMetaDefs::MenuType_Invalid || … … 3183 3183 /* Get iterated enum-value: */ 3184 3184 const UIExtraDataMetaDefs::MenuApplicationActionType enumValue = 3185 static_cast< constUIExtraDataMetaDefs::MenuApplicationActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3185 static_cast<UIExtraDataMetaDefs::MenuApplicationActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3186 3186 /* Skip MenuApplicationActionType_Invalid & MenuApplicationActionType_All enum-values: */ 3187 3187 if (enumValue == UIExtraDataMetaDefs::MenuApplicationActionType_Invalid || … … 3242 3242 /* Get iterated enum-value: */ 3243 3243 const UIExtraDataMetaDefs::RuntimeMenuMachineActionType enumValue = 3244 static_cast< constUIExtraDataMetaDefs::RuntimeMenuMachineActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3244 static_cast<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3245 3245 /* Skip RuntimeMenuMachineActionType_Invalid, RuntimeMenuMachineActionType_Nothing & RuntimeMenuMachineActionType_All enum-values: */ 3246 3246 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuMachineActionType_Invalid || … … 3293 3293 /* Get iterated enum-value: */ 3294 3294 const UIExtraDataMetaDefs::RuntimeMenuViewActionType enumValue = 3295 static_cast< constUIExtraDataMetaDefs::RuntimeMenuViewActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3295 static_cast<UIExtraDataMetaDefs::RuntimeMenuViewActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3296 3296 /* Skip RuntimeMenuViewActionType_Invalid & RuntimeMenuViewActionType_All enum-values: */ 3297 3297 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuViewActionType_Invalid || … … 3340 3340 /* Get iterated enum-value: */ 3341 3341 const UIExtraDataMetaDefs::RuntimeMenuInputActionType enumValue = 3342 static_cast< constUIExtraDataMetaDefs::RuntimeMenuInputActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3342 static_cast<UIExtraDataMetaDefs::RuntimeMenuInputActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3343 3343 /* Skip RuntimeMenuInputActionType_Invalid & RuntimeMenuInputActionType_All enum-values: */ 3344 3344 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuInputActionType_Invalid || … … 3398 3398 /* Get iterated enum-value: */ 3399 3399 const UIExtraDataMetaDefs::RuntimeMenuDevicesActionType enumValue = 3400 static_cast< constUIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3400 static_cast<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3401 3401 /* Skip RuntimeMenuDevicesActionType_Invalid, RuntimeMenuDevicesActionType_Nothing & RuntimeMenuDevicesActionType_All enum-values: */ 3402 3402 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuDevicesActionType_Invalid || … … 3450 3450 /* Get iterated enum-value: */ 3451 3451 const UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType enumValue = 3452 static_cast< constUIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3452 static_cast<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3453 3453 /* Skip RuntimeMenuDebuggerActionType_Invalid & RuntimeMenuDebuggerActionType_All enum-values: */ 3454 3454 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_Invalid || … … 3547 3547 /* Get iterated enum-value: */ 3548 3548 const UIExtraDataMetaDefs::MenuHelpActionType enumValue = 3549 static_cast< constUIExtraDataMetaDefs::MenuHelpActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));3549 static_cast<UIExtraDataMetaDefs::MenuHelpActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 3550 3550 /* Skip MenuHelpActionType_Invalid && MenuHelpActionType_All enum-values: */ 3551 3551 if (enumValue == UIExtraDataMetaDefs::MenuHelpActionType_Invalid || -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.cpp
r71920 r73507 759 759 const KeySym ks = ::XKeycodeToKeysym(QX11Info::display(), pKeyEvent->detail, 0); 760 760 RT_GCC_NO_WARN_DEPRECATED_END 761 const int iKeySym = static_cast< constint>(ks);761 const int iKeySym = static_cast<int>(ks); 762 762 763 763 /* Handle key-event: */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuBarEditorWindow.cpp
r72025 r73507 412 412 /* Get iterated enum-value: */ 413 413 const UIExtraDataMetaDefs::MenuType enumValue = 414 static_cast< constUIExtraDataMetaDefs::MenuType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));414 static_cast<UIExtraDataMetaDefs::MenuType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 415 415 /* Skip MenuType_Invalid & MenuType_All enum-value: */ 416 416 if (enumValue == UIExtraDataMetaDefs::MenuType_Invalid || … … 441 441 /* Get iterated enum-value: */ 442 442 const UIExtraDataMetaDefs::MenuApplicationActionType enumValue = 443 static_cast< constUIExtraDataMetaDefs::MenuApplicationActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));443 static_cast<UIExtraDataMetaDefs::MenuApplicationActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 444 444 /* Skip MenuApplicationActionType_Invalid & MenuApplicationActionType_All enum-value: */ 445 445 if (enumValue == UIExtraDataMetaDefs::MenuApplicationActionType_Invalid || … … 470 470 /* Get iterated enum-value: */ 471 471 const UIExtraDataMetaDefs::RuntimeMenuMachineActionType enumValue = 472 static_cast< constUIExtraDataMetaDefs::RuntimeMenuMachineActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));472 static_cast<UIExtraDataMetaDefs::RuntimeMenuMachineActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 473 473 /* Skip RuntimeMenuMachineActionType_Invalid & RuntimeMenuMachineActionType_All enum-value: */ 474 474 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuMachineActionType_Invalid || … … 499 499 /* Get iterated enum-value: */ 500 500 const UIExtraDataMetaDefs::RuntimeMenuViewActionType enumValue = 501 static_cast< constUIExtraDataMetaDefs::RuntimeMenuViewActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));501 static_cast<UIExtraDataMetaDefs::RuntimeMenuViewActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 502 502 /* Skip RuntimeMenuViewActionType_Invalid & RuntimeMenuViewActionType_All enum-value: */ 503 503 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuViewActionType_Invalid || … … 528 528 /* Get iterated enum-value: */ 529 529 const UIExtraDataMetaDefs::RuntimeMenuInputActionType enumValue = 530 static_cast< constUIExtraDataMetaDefs::RuntimeMenuInputActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));530 static_cast<UIExtraDataMetaDefs::RuntimeMenuInputActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 531 531 /* Skip RuntimeMenuInputActionType_Invalid & RuntimeMenuInputActionType_All enum-value: */ 532 532 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuInputActionType_Invalid || … … 557 557 /* Get iterated enum-value: */ 558 558 const UIExtraDataMetaDefs::RuntimeMenuDevicesActionType enumValue = 559 static_cast< constUIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));559 static_cast<UIExtraDataMetaDefs::RuntimeMenuDevicesActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 560 560 /* Skip RuntimeMenuDevicesActionType_Invalid & RuntimeMenuDevicesActionType_All enum-value: */ 561 561 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuDevicesActionType_Invalid || … … 587 587 /* Get iterated enum-value: */ 588 588 const UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType enumValue = 589 static_cast< constUIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));589 static_cast<UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 590 590 /* Skip RuntimeMenuDebuggerActionType_Invalid & RuntimeMenuDebuggerActionType_All enum-value: */ 591 591 if (enumValue == UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_Invalid || … … 648 648 /* Get iterated enum-value: */ 649 649 const UIExtraDataMetaDefs::MenuHelpActionType enumValue = 650 static_cast< constUIExtraDataMetaDefs::MenuHelpActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex)));650 static_cast<UIExtraDataMetaDefs::MenuHelpActionType>(metaEnum.keyToValue(metaEnum.key(iKeyIndex))); 651 651 /* Skip MenuHelpActionType_Invalid & MenuHelpActionType_All enum-value: */ 652 652 if (enumValue == UIExtraDataMetaDefs::MenuHelpActionType_Invalid ||
Note:
See TracChangeset
for help on using the changeset viewer.