VirtualBox

Changeset 71624 in vbox


Ignore:
Timestamp:
Apr 2, 2018 5:55:33 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: A lot of refactoring for UIActionPoolRuntime missed in r121643.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp

    r71616 r71624  
    4444
    4545/** Menu action extension, used as 'Machine' menu class. */
    46 class UIActionMenuMachineRuntime : public UIActionMenu
    47 {
    48     Q_OBJECT;
    49 
    50 public:
    51 
    52     /** Constructs action passing @a pParent to the base-class. */
    53     UIActionMenuMachineRuntime(UIActionPool *pParent)
     46class UIActionMenuRuntimeMachine : public UIActionMenu
     47{
     48    Q_OBJECT;
     49
     50public:
     51
     52    /** Constructs action passing @a pParent to the base-class. */
     53    UIActionMenuRuntimeMachine(UIActionPool *pParent)
    5454        : UIActionMenu(pParent)
    5555    {}
     
    8080};
    8181
    82 /** Simple action extension, used as 'Show Settings Dialog' action class. */
    83 class UIActionSimpleShowSettingsDialog : public UIActionSimple
    84 {
    85     Q_OBJECT;
    86 
    87 public:
    88 
    89     /** Constructs action passing @a pParent to the base-class. */
    90     UIActionSimpleShowSettingsDialog(UIActionPool *pParent)
     82/** Simple action extension, used as 'Show Settings' action class. */
     83class UIActionSimpleRuntimeShowSettings : public UIActionSimple
     84{
     85    Q_OBJECT;
     86
     87public:
     88
     89    /** Constructs action passing @a pParent to the base-class. */
     90    UIActionSimpleRuntimeShowSettings(UIActionPool *pParent)
    9191        : UIActionSimple(pParent, ":/vm_settings_16px.png", ":/vm_settings_disabled_16px.png")
    9292    {}
     
    131131
    132132/** Simple action extension, used as 'Perform Take Snapshot' action class. */
    133 class UIActionSimplePerformTakeSnapshot : public UIActionSimple
    134 {
    135     Q_OBJECT;
    136 
    137 public:
    138 
    139     /** Constructs action passing @a pParent to the base-class. */
    140     UIActionSimplePerformTakeSnapshot(UIActionPool *pParent)
     133class UIActionSimpleRuntimePerformTakeSnapshot : public UIActionSimple
     134{
     135    Q_OBJECT;
     136
     137public:
     138
     139    /** Constructs action passing @a pParent to the base-class. */
     140    UIActionSimpleRuntimePerformTakeSnapshot(UIActionPool *pParent)
    141141        : UIActionSimple(pParent, ":/snapshot_take_16px.png", ":/snapshot_take_disabled_16px.png")
    142142    {}
     
    181181
    182182/** Simple action extension, used as 'Show Information Dialog' action class. */
    183 class UIActionSimpleShowInformationDialog : public UIActionSimple
    184 {
    185     Q_OBJECT;
    186 
    187 public:
    188 
    189     /** Constructs action passing @a pParent to the base-class. */
    190     UIActionSimpleShowInformationDialog(UIActionPool *pParent)
     183class UIActionSimpleRuntimeShowInformationDialog : public UIActionSimple
     184{
     185    Q_OBJECT;
     186
     187public:
     188
     189    /** Constructs action passing @a pParent to the base-class. */
     190    UIActionSimpleRuntimeShowInformationDialog(UIActionPool *pParent)
    191191        : UIActionSimple(pParent, ":/session_info_16px.png", ":/session_info_disabled_16px.png")
    192192    {}
     
    231231
    232232/** Toggle action extension, used as 'Pause' action class. */
    233 class UIActionTogglePause : public UIActionToggle
    234 {
    235     Q_OBJECT;
    236 
    237 public:
    238 
    239     /** Constructs action passing @a pParent to the base-class. */
    240     UIActionTogglePause(UIActionPool *pParent)
     233class UIActionToggleRuntimePause : public UIActionToggle
     234{
     235    Q_OBJECT;
     236
     237public:
     238
     239    /** Constructs action passing @a pParent to the base-class. */
     240    UIActionToggleRuntimePause(UIActionPool *pParent)
    241241        : UIActionToggle(pParent,
    242242                         ":/vm_pause_on_16px.png", ":/vm_pause_16px.png",
     
    283283
    284284/** Simple action extension, used as 'Perform Reset' action class. */
    285 class UIActionSimplePerformReset : public UIActionSimple
    286 {
    287     Q_OBJECT;
    288 
    289 public:
    290 
    291     /** Constructs action passing @a pParent to the base-class. */
    292     UIActionSimplePerformReset(UIActionPool *pParent)
     285class UIActionSimpleRuntimePerformReset : public UIActionSimple
     286{
     287    Q_OBJECT;
     288
     289public:
     290
     291    /** Constructs action passing @a pParent to the base-class. */
     292    UIActionSimpleRuntimePerformReset(UIActionPool *pParent)
    293293        : UIActionSimple(pParent, ":/vm_reset_16px.png", ":/vm_reset_disabled_16px.png")
    294294    {}
     
    333333
    334334/** Simple action extension, used as 'Perform Detach' action class. */
    335 class UIActionSimplePerformDetach : public UIActionSimple
    336 {
    337     Q_OBJECT;
    338 
    339 public:
    340 
    341     /** Constructs action passing @a pParent to the base-class. */
    342     UIActionSimplePerformDetach(UIActionPool *pParent)
     335class UIActionSimpleRuntimePerformDetach : public UIActionSimple
     336{
     337    Q_OBJECT;
     338
     339public:
     340
     341    /** Constructs action passing @a pParent to the base-class. */
     342    UIActionSimpleRuntimePerformDetach(UIActionPool *pParent)
    343343        : UIActionSimple(pParent, ":/vm_create_shortcut_16px.png", ":/vm_create_shortcut_disabled_16px.png")
    344344    {}
     
    377377
    378378/** Simple action extension, used as 'Perform Save State' action class. */
    379 class UIActionSimplePerformSaveState : public UIActionSimple
    380 {
    381     Q_OBJECT;
    382 
    383 public:
    384 
    385     /** Constructs action passing @a pParent to the base-class. */
    386     UIActionSimplePerformSaveState(UIActionPool *pParent)
     379class UIActionSimpleRuntimePerformSaveState : public UIActionSimple
     380{
     381    Q_OBJECT;
     382
     383public:
     384
     385    /** Constructs action passing @a pParent to the base-class. */
     386    UIActionSimpleRuntimePerformSaveState(UIActionPool *pParent)
    387387        : UIActionSimple(pParent, ":/vm_save_state_16px.png", ":/vm_save_state_disabled_16px.png")
    388388    {}
     
    421421
    422422/** Simple action extension, used as 'Perform Shutdown' action class. */
    423 class UIActionSimplePerformShutdown : public UIActionSimple
    424 {
    425     Q_OBJECT;
    426 
    427 public:
    428 
    429     /** Constructs action passing @a pParent to the base-class. */
    430     UIActionSimplePerformShutdown(UIActionPool *pParent)
     423class UIActionSimpleRuntimePerformShutdown : public UIActionSimple
     424{
     425    Q_OBJECT;
     426
     427public:
     428
     429    /** Constructs action passing @a pParent to the base-class. */
     430    UIActionSimpleRuntimePerformShutdown(UIActionPool *pParent)
    431431        : UIActionSimple(pParent, ":/vm_shutdown_16px.png", ":/vm_shutdown_disabled_16px.png")
    432432    {}
     
    475475
    476476/** Simple action extension, used as 'Perform PowerOff' action class. */
    477 class UIActionSimplePerformPowerOff : public UIActionSimple
    478 {
    479     Q_OBJECT;
    480 
    481 public:
    482 
    483     /** Constructs action passing @a pParent to the base-class. */
    484     UIActionSimplePerformPowerOff(UIActionPool *pParent)
     477class UIActionSimpleRuntimePerformPowerOff : public UIActionSimple
     478{
     479    Q_OBJECT;
     480
     481public:
     482
     483    /** Constructs action passing @a pParent to the base-class. */
     484    UIActionSimpleRuntimePerformPowerOff(UIActionPool *pParent)
    485485        : UIActionSimple(pParent, ":/vm_poweroff_16px.png", ":/vm_poweroff_disabled_16px.png")
    486486    {}
     
    520520
    521521/** Menu action extension, used as 'View' menu class. */
    522 class UIActionMenuView : public UIActionMenu
    523 {
    524     Q_OBJECT;
    525 
    526 public:
    527 
    528     /** Constructs action passing @a pParent to the base-class. */
    529     UIActionMenuView(UIActionPool *pParent)
     522class UIActionMenuRuntimeView : public UIActionMenu
     523{
     524    Q_OBJECT;
     525
     526public:
     527
     528    /** Constructs action passing @a pParent to the base-class. */
     529    UIActionMenuRuntimeView(UIActionPool *pParent)
    530530        : UIActionMenu(pParent)
    531531    {}
     
    557557
    558558/** Menu action extension, used as 'View Popup' menu class. */
    559 class UIActionMenuViewPopup : public UIActionMenu
    560 {
    561     Q_OBJECT;
    562 
    563 public:
    564 
    565     /** Constructs action passing @a pParent to the base-class. */
    566     UIActionMenuViewPopup(UIActionPool *pParent)
     559class UIActionMenuRuntimeViewPopup : public UIActionMenu
     560{
     561    Q_OBJECT;
     562
     563public:
     564
     565    /** Constructs action passing @a pParent to the base-class. */
     566    UIActionMenuRuntimeViewPopup(UIActionPool *pParent)
    567567        : UIActionMenu(pParent)
    568568    {}
     
    591591
    592592/** Toggle action extension, used as 'Full-screen Mode' action class. */
    593 class UIActionToggleFullscreenMode : public UIActionToggle
    594 {
    595     Q_OBJECT;
    596 
    597 public:
    598 
    599     /** Constructs action passing @a pParent to the base-class. */
    600     UIActionToggleFullscreenMode(UIActionPool *pParent)
     593class UIActionToggleRuntimeFullscreenMode : public UIActionToggle
     594{
     595    Q_OBJECT;
     596
     597public:
     598
     599    /** Constructs action passing @a pParent to the base-class. */
     600    UIActionToggleRuntimeFullscreenMode(UIActionPool *pParent)
    601601        : UIActionToggle(pParent,
    602602                         ":/fullscreen_on_16px.png", ":/fullscreen_16px.png",
     
    643643
    644644/** Toggle action extension, used as 'Seamless Mode' action class. */
    645 class UIActionToggleSeamlessMode : public UIActionToggle
    646 {
    647     Q_OBJECT;
    648 
    649 public:
    650 
    651     /** Constructs action passing @a pParent to the base-class. */
    652     UIActionToggleSeamlessMode(UIActionPool *pParent)
     645class UIActionToggleRuntimeSeamlessMode : public UIActionToggle
     646{
     647    Q_OBJECT;
     648
     649public:
     650
     651    /** Constructs action passing @a pParent to the base-class. */
     652    UIActionToggleRuntimeSeamlessMode(UIActionPool *pParent)
    653653        : UIActionToggle(pParent,
    654654                         ":/seamless_on_16px.png", ":/seamless_16px.png",
     
    695695
    696696/** Toggle action extension, used as 'Scaled Mode' action class. */
    697 class UIActionToggleScaledMode : public UIActionToggle
    698 {
    699     Q_OBJECT;
    700 
    701 public:
    702 
    703     /** Constructs action passing @a pParent to the base-class. */
    704     UIActionToggleScaledMode(UIActionPool *pParent)
     697class UIActionToggleRuntimeScaledMode : public UIActionToggle
     698{
     699    Q_OBJECT;
     700
     701public:
     702
     703    /** Constructs action passing @a pParent to the base-class. */
     704    UIActionToggleRuntimeScaledMode(UIActionPool *pParent)
    705705        : UIActionToggle(pParent,
    706706                         ":/scale_on_16px.png", ":/scale_16px.png",
     
    748748#ifndef VBOX_WS_MAC
    749749/** Simple action extension, used as 'Perform Minimize Window' action class. */
    750 class UIActionSimplePerformMinimizeWindow : public UIActionSimple
    751 {
    752     Q_OBJECT;
    753 
    754 public:
    755 
    756     /** Constructs action passing @a pParent to the base-class. */
    757     UIActionSimplePerformMinimizeWindow(UIActionPool *pParent)
     750class UIActionSimpleRuntimePerformMinimizeWindow : public UIActionSimple
     751{
     752    Q_OBJECT;
     753
     754public:
     755
     756    /** Constructs action passing @a pParent to the base-class. */
     757    UIActionSimpleRuntimePerformMinimizeWindow(UIActionPool *pParent)
    758758        : UIActionSimple(pParent, ":/minimize_16px.png")
    759759    {}
     
    799799
    800800/** Simple action extension, used as 'Perform Window Adjust' action class. */
    801 class UIActionSimplePerformWindowAdjust : public UIActionSimple
    802 {
    803     Q_OBJECT;
    804 
    805 public:
    806 
    807     /** Constructs action passing @a pParent to the base-class. */
    808     UIActionSimplePerformWindowAdjust(UIActionPool *pParent)
     801class UIActionSimpleRuntimePerformWindowAdjust : public UIActionSimple
     802{
     803    Q_OBJECT;
     804
     805public:
     806
     807    /** Constructs action passing @a pParent to the base-class. */
     808    UIActionSimpleRuntimePerformWindowAdjust(UIActionPool *pParent)
    809809        : UIActionSimple(pParent, ":/adjust_win_size_16px.png", ":/adjust_win_size_disabled_16px.png")
    810810    {}
     
    849849
    850850/** Toggle action extension, used as 'Guest Autoresize' action class. */
    851 class UIActionToggleGuestAutoresize : public UIActionToggle
    852 {
    853     Q_OBJECT;
    854 
    855 public:
    856 
    857     /** Constructs action passing @a pParent to the base-class. */
    858     UIActionToggleGuestAutoresize(UIActionPool *pParent)
     851class UIActionToggleRuntimeGuestAutoresize : public UIActionToggle
     852{
     853    Q_OBJECT;
     854
     855public:
     856
     857    /** Constructs action passing @a pParent to the base-class. */
     858    UIActionToggleRuntimeGuestAutoresize(UIActionPool *pParent)
    859859        : UIActionToggle(pParent,
    860860                         ":/auto_resize_on_on_16px.png", ":/auto_resize_on_16px.png",
     
    895895
    896896/** Simple action extension, used as 'Perform Take Snapshot' action class. */
    897 class UIActionSimplePerformTakeScreenshot : public UIActionSimple
    898 {
    899     Q_OBJECT;
    900 
    901 public:
    902 
    903     /** Constructs action passing @a pParent to the base-class. */
    904     UIActionSimplePerformTakeScreenshot(UIActionPool *pParent)
     897class UIActionSimpleRuntimePerformTakeScreenshot : public UIActionSimple
     898{
     899    Q_OBJECT;
     900
     901public:
     902
     903    /** Constructs action passing @a pParent to the base-class. */
     904    UIActionSimpleRuntimePerformTakeScreenshot(UIActionPool *pParent)
    905905        : UIActionSimple(pParent, ":/screenshot_take_16px.png", ":/screenshot_take_disabled_16px.png")
    906906    {}
     
    945945
    946946/** Menu action extension, used as 'View' menu class. */
    947 class UIActionMenuVideoCapture : public UIActionMenu
    948 {
    949     Q_OBJECT;
    950 
    951 public:
    952 
    953     /** Constructs action passing @a pParent to the base-class. */
    954     UIActionMenuVideoCapture(UIActionPool *pParent)
     947class UIActionMenuRuntimeVideoCapture : public UIActionMenu
     948{
     949    Q_OBJECT;
     950
     951public:
     952
     953    /** Constructs action passing @a pParent to the base-class. */
     954    UIActionMenuRuntimeVideoCapture(UIActionPool *pParent)
    955955        : UIActionMenu(pParent)
    956956    {}
     
    981981};
    982982
    983 /** Simple action extension, used as 'Show Video Capture Settings Dialog' action class. */
    984 class UIActionSimpleShowVideoCaptureSettingsDialog : public UIActionSimple
    985 {
    986     Q_OBJECT;
    987 
    988 public:
    989 
    990     /** Constructs action passing @a pParent to the base-class. */
    991     UIActionSimpleShowVideoCaptureSettingsDialog(UIActionPool *pParent)
     983/** Simple action extension, used as 'Show Video Capture Settings' action class. */
     984class UIActionSimpleRuntimeShowVideoCaptureSettings : public UIActionSimple
     985{
     986    Q_OBJECT;
     987
     988public:
     989
     990    /** Constructs action passing @a pParent to the base-class. */
     991    UIActionSimpleRuntimeShowVideoCaptureSettings(UIActionPool *pParent)
    992992        : UIActionSimple(pParent, ":/video_capture_settings_16px.png")
    993993    {}
     
    10261026
    10271027/** Toggle action extension, used as 'Video Capture' action class. */
    1028 class UIActionToggleVideoCapture : public UIActionToggle
    1029 {
    1030     Q_OBJECT;
    1031 
    1032 public:
    1033 
    1034     /** Constructs action passing @a pParent to the base-class. */
    1035     UIActionToggleVideoCapture(UIActionPool *pParent)
     1028class UIActionToggleRuntimeVideoCapture : public UIActionToggle
     1029{
     1030    Q_OBJECT;
     1031
     1032public:
     1033
     1034    /** Constructs action passing @a pParent to the base-class. */
     1035    UIActionToggleRuntimeVideoCapture(UIActionPool *pParent)
    10361036        : UIActionToggle(pParent,
    10371037                         ":/video_capture_on_16px.png", ":/video_capture_16px.png",
     
    10721072
    10731073/** Toggle action extension, used as 'VRDE Server' action class. */
    1074 class UIActionToggleVRDEServer : public UIActionToggle
    1075 {
    1076     Q_OBJECT;
    1077 
    1078 public:
    1079 
    1080     /** Constructs action passing @a pParent to the base-class. */
    1081     UIActionToggleVRDEServer(UIActionPool *pParent)
     1074class UIActionToggleRuntimeVRDEServer : public UIActionToggle
     1075{
     1076    Q_OBJECT;
     1077
     1078public:
     1079
     1080    /** Constructs action passing @a pParent to the base-class. */
     1081    UIActionToggleRuntimeVRDEServer(UIActionPool *pParent)
    10821082        : UIActionToggle(pParent,
    10831083                         ":/vrdp_on_16px.png", ":/vrdp_16px.png",
     
    11181118
    11191119/** Menu action extension, used as 'MenuBar' menu class. */
    1120 class UIActionMenuMenuBar : public UIActionMenu
    1121 {
    1122     Q_OBJECT;
    1123 
    1124 public:
    1125 
    1126     /** Constructs action passing @a pParent to the base-class. */
    1127     UIActionMenuMenuBar(UIActionPool *pParent)
     1120class UIActionMenuRuntimeMenuBar : public UIActionMenu
     1121{
     1122    Q_OBJECT;
     1123
     1124public:
     1125
     1126    /** Constructs action passing @a pParent to the base-class. */
     1127    UIActionMenuRuntimeMenuBar(UIActionPool *pParent)
    11281128        : UIActionMenu(pParent, ":/menubar_16px.png", ":/menubar_disabled_16px.png")
    11291129    {}
     
    11551155
    11561156/** Simple action extension, used as 'Show MenuBar Settings Window' action class. */
    1157 class UIActionSimpleShowMenuBarSettingsWindow : public UIActionSimple
    1158 {
    1159     Q_OBJECT;
    1160 
    1161 public:
    1162 
    1163     /** Constructs action passing @a pParent to the base-class. */
    1164     UIActionSimpleShowMenuBarSettingsWindow(UIActionPool *pParent)
     1157class UIActionSimpleRuntimeShowMenuBarSettings : public UIActionSimple
     1158{
     1159    Q_OBJECT;
     1160
     1161public:
     1162
     1163    /** Constructs action passing @a pParent to the base-class. */
     1164    UIActionSimpleRuntimeShowMenuBarSettings(UIActionPool *pParent)
    11651165        : UIActionSimple(pParent, ":/menubar_settings_16px.png", ":/menubar_settings_disabled_16px.png")
    11661166    {}
     
    12001200#ifndef VBOX_WS_MAC
    12011201/** Toggle action extension, used as 'MenuBar' action class. */
    1202 class UIActionToggleMenuBar : public UIActionToggle
    1203 {
    1204     Q_OBJECT;
    1205 
    1206 public:
    1207 
    1208     /** Constructs action passing @a pParent to the base-class. */
    1209     UIActionToggleMenuBar(UIActionPool *pParent)
     1202class UIActionToggleRuntimeMenuBar : public UIActionToggle
     1203{
     1204    Q_OBJECT;
     1205
     1206public:
     1207
     1208    /** Constructs action passing @a pParent to the base-class. */
     1209    UIActionToggleRuntimeMenuBar(UIActionPool *pParent)
    12101210        : UIActionToggle(pParent, ":/menubar_on_16px.png", ":/menubar_16px.png",
    12111211                                  ":/menubar_on_disabled_16px.png", ":/menubar_disabled_16px.png")
     
    12461246
    12471247/** Menu action extension, used as 'StatusBar' menu class. */
    1248 class UIActionMenuStatusBar : public UIActionMenu
    1249 {
    1250     Q_OBJECT;
    1251 
    1252 public:
    1253 
    1254     /** Constructs action passing @a pParent to the base-class. */
    1255     UIActionMenuStatusBar(UIActionPool *pParent)
     1248class UIActionMenuRuntimeStatusBar : public UIActionMenu
     1249{
     1250    Q_OBJECT;
     1251
     1252public:
     1253
     1254    /** Constructs action passing @a pParent to the base-class. */
     1255    UIActionMenuRuntimeStatusBar(UIActionPool *pParent)
    12561256        : UIActionMenu(pParent, ":/statusbar_16px.png", ":/statusbar_disabled_16px.png")
    12571257    {}
     
    12831283
    12841284/** Simple action extension, used as 'Show StatusBar Settings Window' action class. */
    1285 class UIActionSimpleShowStatusBarSettingsWindow : public UIActionSimple
    1286 {
    1287     Q_OBJECT;
    1288 
    1289 public:
    1290 
    1291     /** Constructs action passing @a pParent to the base-class. */
    1292     UIActionSimpleShowStatusBarSettingsWindow(UIActionPool *pParent)
     1285class UIActionSimpleRuntimeShowStatusBarSettings : public UIActionSimple
     1286{
     1287    Q_OBJECT;
     1288
     1289public:
     1290
     1291    /** Constructs action passing @a pParent to the base-class. */
     1292    UIActionSimpleRuntimeShowStatusBarSettings(UIActionPool *pParent)
    12931293        : UIActionSimple(pParent, ":/statusbar_settings_16px.png", ":/statusbar_settings_disabled_16px.png")
    12941294    {}
     
    13271327
    13281328/** Toggle action extension, used as 'StatusBar' action class. */
    1329 class UIActionToggleStatusBar : public UIActionToggle
    1330 {
    1331     Q_OBJECT;
    1332 
    1333 public:
    1334 
    1335     /** Constructs action passing @a pParent to the base-class. */
    1336     UIActionToggleStatusBar(UIActionPool *pParent)
     1329class UIActionToggleRuntimeStatusBar : public UIActionToggle
     1330{
     1331    Q_OBJECT;
     1332
     1333public:
     1334
     1335    /** Constructs action passing @a pParent to the base-class. */
     1336    UIActionToggleRuntimeStatusBar(UIActionPool *pParent)
    13371337        : UIActionToggle(pParent, ":/statusbar_on_16px.png", ":/statusbar_16px.png",
    13381338                                  ":/statusbar_on_disabled_16px.png", ":/statusbar_disabled_16px.png")
     
    13721372
    13731373/** Menu action extension, used as 'Scale Factor' menu class. */
    1374 class UIActionMenuScaleFactor : public UIActionMenu
    1375 {
    1376     Q_OBJECT;
    1377 
    1378 public:
    1379 
    1380     /** Constructs action passing @a pParent to the base-class. */
    1381     UIActionMenuScaleFactor(UIActionPool *pParent)
     1374class UIActionMenuRuntimeScaleFactor : public UIActionMenu
     1375{
     1376    Q_OBJECT;
     1377
     1378public:
     1379
     1380    /** Constructs action passing @a pParent to the base-class. */
     1381    UIActionMenuRuntimeScaleFactor(UIActionPool *pParent)
    13821382        : UIActionMenu(pParent, ":/scale_factor_16px.png", ":/scale_factor_disabled_16px.png")
    13831383    {}
     
    14101410
    14111411/** Menu action extension, used as 'Input' menu class. */
    1412 class UIActionMenuInput : public UIActionMenu
    1413 {
    1414     Q_OBJECT;
    1415 
    1416 public:
    1417 
    1418     /** Constructs action passing @a pParent to the base-class. */
    1419     UIActionMenuInput(UIActionPool *pParent)
     1412class UIActionMenuRuntimeInput : public UIActionMenu
     1413{
     1414    Q_OBJECT;
     1415
     1416public:
     1417
     1418    /** Constructs action passing @a pParent to the base-class. */
     1419    UIActionMenuRuntimeInput(UIActionPool *pParent)
    14201420        : UIActionMenu(pParent)
    14211421    {}
     
    14471447
    14481448/** Menu action extension, used as 'Keyboard' menu class. */
    1449 class UIActionMenuKeyboard : public UIActionMenu
    1450 {
    1451     Q_OBJECT;
    1452 
    1453 public:
    1454 
    1455     /** Constructs action passing @a pParent to the base-class. */
    1456     UIActionMenuKeyboard(UIActionPool *pParent)
     1449class UIActionMenuRuntimeKeyboard : public UIActionMenu
     1450{
     1451    Q_OBJECT;
     1452
     1453public:
     1454
     1455    /** Constructs action passing @a pParent to the base-class. */
     1456    UIActionMenuRuntimeKeyboard(UIActionPool *pParent)
    14571457        : UIActionMenu(pParent, ":/keyboard_16px.png")
    14581458    {}
     
    14831483};
    14841484
    1485 /** Simple action extension, used as 'Show Keyboard Settings Dialog' action class. */
    1486 class UIActionSimpleShowKeyboardSettingsDialog : public UIActionSimple
    1487 {
    1488     Q_OBJECT;
    1489 
    1490 public:
    1491 
    1492     /** Constructs action passing @a pParent to the base-class. */
    1493     UIActionSimpleShowKeyboardSettingsDialog(UIActionPool *pParent)
     1485/** Simple action extension, used as 'Show Keyboard Settings' action class. */
     1486class UIActionSimpleRuntimeShowKeyboardSettings : public UIActionSimple
     1487{
     1488    Q_OBJECT;
     1489
     1490public:
     1491
     1492    /** Constructs action passing @a pParent to the base-class. */
     1493    UIActionSimpleRuntimeShowKeyboardSettings(UIActionPool *pParent)
    14941494        : UIActionSimple(pParent, ":/keyboard_settings_16px.png", ":/keyboard_settings_disabled_16px.png")
    14951495    {}
     
    15281528
    15291529/** Simple action extension, used as 'Perform Type CAD' action class. */
    1530 class UIActionSimplePerformTypeCAD : public UIActionSimple
    1531 {
    1532     Q_OBJECT;
    1533 
    1534 public:
    1535 
    1536     /** Constructs action passing @a pParent to the base-class. */
    1537     UIActionSimplePerformTypeCAD(UIActionPool *pParent)
     1530class UIActionSimpleRuntimePerformTypeCAD : public UIActionSimple
     1531{
     1532    Q_OBJECT;
     1533
     1534public:
     1535
     1536    /** Constructs action passing @a pParent to the base-class. */
     1537    UIActionSimpleRuntimePerformTypeCAD(UIActionPool *pParent)
    15381538        : UIActionSimple(pParent)
    15391539    {}
     
    15791579#ifdef VBOX_WS_X11
    15801580/** X11: Simple action extension, used as 'Perform Type CABS' action class. */
    1581 class UIActionSimplePerformTypeCABS : public UIActionSimple
    1582 {
    1583     Q_OBJECT;
    1584 
    1585 public:
    1586 
    1587     /** Constructs action passing @a pParent to the base-class. */
    1588     UIActionSimplePerformTypeCABS(UIActionPool *pParent)
     1581class UIActionSimpleRuntimePerformTypeCABS : public UIActionSimple
     1582{
     1583    Q_OBJECT;
     1584
     1585public:
     1586
     1587    /** Constructs action passing @a pParent to the base-class. */
     1588    UIActionSimpleRuntimePerformTypeCABS(UIActionPool *pParent)
    15891589        : UIActionSimple(pParent)
    15901590    {}
     
    16301630
    16311631/** Simple action extension, used as 'Perform Type Ctrl Break' action class. */
    1632 class UIActionSimplePerformTypeCtrlBreak : public UIActionSimple
    1633 {
    1634     Q_OBJECT;
    1635 
    1636 public:
    1637 
    1638     /** Constructs action passing @a pParent to the base-class. */
    1639     UIActionSimplePerformTypeCtrlBreak(UIActionPool *pParent)
     1632class UIActionSimpleRuntimePerformTypeCtrlBreak : public UIActionSimple
     1633{
     1634    Q_OBJECT;
     1635
     1636public:
     1637
     1638    /** Constructs action passing @a pParent to the base-class. */
     1639    UIActionSimpleRuntimePerformTypeCtrlBreak(UIActionPool *pParent)
    16401640        : UIActionSimple(pParent)
    16411641    {}
     
    16741674
    16751675/** Simple action extension, used as 'Perform Type Insert' action class. */
    1676 class UIActionSimplePerformTypeInsert : public UIActionSimple
    1677 {
    1678     Q_OBJECT;
    1679 
    1680 public:
    1681 
    1682     /** Constructs action passing @a pParent to the base-class. */
    1683     UIActionSimplePerformTypeInsert(UIActionPool *pParent)
     1676class UIActionSimpleRuntimePerformTypeInsert : public UIActionSimple
     1677{
     1678    Q_OBJECT;
     1679
     1680public:
     1681
     1682    /** Constructs action passing @a pParent to the base-class. */
     1683    UIActionSimpleRuntimePerformTypeInsert(UIActionPool *pParent)
    16841684        : UIActionSimple(pParent)
    16851685    {}
     
    17181718
    17191719/** Simple action extension, used as 'Perform Type PrintScreen' action class. */
    1720 class UIActionSimplePerformTypePrintScreen : public UIActionSimple
    1721 {
    1722     Q_OBJECT;
    1723 
    1724 public:
    1725 
    1726     /** Constructs action passing @a pParent to the base-class. */
    1727     UIActionSimplePerformTypePrintScreen(UIActionPool *pParent)
     1720class UIActionSimpleRuntimePerformTypePrintScreen : public UIActionSimple
     1721{
     1722    Q_OBJECT;
     1723
     1724public:
     1725
     1726    /** Constructs action passing @a pParent to the base-class. */
     1727    UIActionSimpleRuntimePerformTypePrintScreen(UIActionPool *pParent)
    17281728        : UIActionSimple(pParent)
    17291729    {}
     
    17621762
    17631763/** Simple action extension, used as 'Perform Type Alt PrintScreen' action class. */
    1764 class UIActionSimplePerformTypeAltPrintScreen : public UIActionSimple
    1765 {
    1766     Q_OBJECT;
    1767 
    1768 public:
    1769 
    1770     /** Constructs action passing @a pParent to the base-class. */
    1771     UIActionSimplePerformTypeAltPrintScreen(UIActionPool *pParent)
     1764class UIActionSimpleRuntimePerformTypeAltPrintScreen : public UIActionSimple
     1765{
     1766    Q_OBJECT;
     1767
     1768public:
     1769
     1770    /** Constructs action passing @a pParent to the base-class. */
     1771    UIActionSimpleRuntimePerformTypeAltPrintScreen(UIActionPool *pParent)
    17721772        : UIActionSimple(pParent)
    17731773    {}
     
    18061806
    18071807/** Menu action extension, used as 'Mouse' menu class. */
    1808 class UIActionMenuMouse : public UIActionMenu
    1809 {
    1810     Q_OBJECT;
    1811 
    1812 public:
    1813 
    1814     /** Constructs action passing @a pParent to the base-class. */
    1815     UIActionMenuMouse(UIActionPool *pParent)
     1808class UIActionMenuRuntimeMouse : public UIActionMenu
     1809{
     1810    Q_OBJECT;
     1811
     1812public:
     1813
     1814    /** Constructs action passing @a pParent to the base-class. */
     1815    UIActionMenuRuntimeMouse(UIActionPool *pParent)
    18161816        : UIActionMenu(pParent)
    18171817    {}
     
    18431843
    18441844/** Toggle action extension, used as 'Mouse Integration' action class. */
    1845 class UIActionToggleMouseIntegration : public UIActionToggle
    1846 {
    1847     Q_OBJECT;
    1848 
    1849 public:
    1850 
    1851     /** Constructs action passing @a pParent to the base-class. */
    1852     UIActionToggleMouseIntegration(UIActionPool *pParent)
     1845class UIActionToggleRuntimeMouseIntegration : public UIActionToggle
     1846{
     1847    Q_OBJECT;
     1848
     1849public:
     1850
     1851    /** Constructs action passing @a pParent to the base-class. */
     1852    UIActionToggleRuntimeMouseIntegration(UIActionPool *pParent)
    18531853        : UIActionToggle(pParent,
    18541854                         ":/mouse_can_seamless_on_16px.png", ":/mouse_can_seamless_16px.png",
     
    18901890
    18911891/** Menu action extension, used as 'Devices' menu class. */
    1892 class UIActionMenuDevices : public UIActionMenu
    1893 {
    1894     Q_OBJECT;
    1895 
    1896 public:
    1897 
    1898     /** Constructs action passing @a pParent to the base-class. */
    1899     UIActionMenuDevices(UIActionPool *pParent)
     1892class UIActionMenuRuntimeDevices : public UIActionMenu
     1893{
     1894    Q_OBJECT;
     1895
     1896public:
     1897
     1898    /** Constructs action passing @a pParent to the base-class. */
     1899    UIActionMenuRuntimeDevices(UIActionPool *pParent)
    19001900        : UIActionMenu(pParent)
    19011901    {}
     
    19271927
    19281928/** Menu action extension, used as 'Hard Drives' menu class. */
    1929 class UIActionMenuHardDrives : public UIActionMenu
    1930 {
    1931     Q_OBJECT;
    1932 
    1933 public:
    1934 
    1935     /** Constructs action passing @a pParent to the base-class. */
    1936     UIActionMenuHardDrives(UIActionPool *pParent)
     1929class UIActionMenuRuntimeHardDrives : public UIActionMenu
     1930{
     1931    Q_OBJECT;
     1932
     1933public:
     1934
     1935    /** Constructs action passing @a pParent to the base-class. */
     1936    UIActionMenuRuntimeHardDrives(UIActionPool *pParent)
    19371937        : UIActionMenu(pParent, ":/hd_16px.png", ":/hd_disabled_16px.png")
    19381938    {
     
    19651965};
    19661966
    1967 /** Simple action extension, used as 'Show Hard Drives Settings Dialog' action class. */
    1968 class UIActionSimpleShowHardDrivesSettingsDialog : public UIActionSimple
    1969 {
    1970     Q_OBJECT;
    1971 
    1972 public:
    1973 
    1974     /** Constructs action passing @a pParent to the base-class. */
    1975     UIActionSimpleShowHardDrivesSettingsDialog(UIActionPool *pParent)
     1967/** Simple action extension, used as 'Show Hard Drives Settings' action class. */
     1968class UIActionSimpleRuntimeShowHardDrivesSettings : public UIActionSimple
     1969{
     1970    Q_OBJECT;
     1971
     1972public:
     1973
     1974    /** Constructs action passing @a pParent to the base-class. */
     1975    UIActionSimpleRuntimeShowHardDrivesSettings(UIActionPool *pParent)
    19761976        : UIActionSimple(pParent, ":/hd_settings_16px.png", ":/hd_settings_disabled_16px.png")
    19771977    {}
     
    20102010
    20112011/** Menu action extension, used as 'Optical Drives' menu class. */
    2012 class UIActionMenuOpticalDevices : public UIActionMenu
    2013 {
    2014     Q_OBJECT;
    2015 
    2016 public:
    2017 
    2018     /** Constructs action passing @a pParent to the base-class. */
    2019     UIActionMenuOpticalDevices(UIActionPool *pParent)
     2012class UIActionMenuRuntimeOpticalDevices : public UIActionMenu
     2013{
     2014    Q_OBJECT;
     2015
     2016public:
     2017
     2018    /** Constructs action passing @a pParent to the base-class. */
     2019    UIActionMenuRuntimeOpticalDevices(UIActionPool *pParent)
    20202020        : UIActionMenu(pParent, ":/cd_16px.png", ":/cd_disabled_16px.png")
    20212021    {
     
    20492049
    20502050/** Menu action extension, used as 'Floppy Drives' menu class. */
    2051 class UIActionMenuFloppyDevices : public UIActionMenu
    2052 {
    2053     Q_OBJECT;
    2054 
    2055 public:
    2056 
    2057     /** Constructs action passing @a pParent to the base-class. */
    2058     UIActionMenuFloppyDevices(UIActionPool *pParent)
     2051class UIActionMenuRuntimeFloppyDevices : public UIActionMenu
     2052{
     2053    Q_OBJECT;
     2054
     2055public:
     2056
     2057    /** Constructs action passing @a pParent to the base-class. */
     2058    UIActionMenuRuntimeFloppyDevices(UIActionPool *pParent)
    20592059        : UIActionMenu(pParent, ":/fd_16px.png", ":/fd_disabled_16px.png")
    20602060    {
     
    20882088
    20892089/** Menu action extension, used as 'Audio' menu class. */
    2090 class UIActionMenuAudio : public UIActionMenu
    2091 {
    2092     Q_OBJECT;
    2093 
    2094 public:
    2095 
    2096     /** Constructs action passing @a pParent to the base-class. */
    2097     UIActionMenuAudio(UIActionPool *pParent)
     2090class UIActionMenuRuntimeAudio : public UIActionMenu
     2091{
     2092    Q_OBJECT;
     2093
     2094public:
     2095
     2096    /** Constructs action passing @a pParent to the base-class. */
     2097    UIActionMenuRuntimeAudio(UIActionPool *pParent)
    20982098        : UIActionMenu(pParent, ":/audio_16px.png", ":/audio_all_off_16px.png")
    20992099    {}
     
    21252125
    21262126/** Toggle action extension, used as 'Audio Output' action class. */
    2127 class UIActionToggleAudioOutput : public UIActionToggle
    2128 {
    2129     Q_OBJECT;
    2130 
    2131 public:
    2132 
    2133     /** Constructs action passing @a pParent to the base-class. */
    2134     UIActionToggleAudioOutput(UIActionPool *pParent)
     2127class UIActionToggleRuntimeAudioOutput : public UIActionToggle
     2128{
     2129    Q_OBJECT;
     2130
     2131public:
     2132
     2133    /** Constructs action passing @a pParent to the base-class. */
     2134    UIActionToggleRuntimeAudioOutput(UIActionPool *pParent)
    21352135        : UIActionToggle(pParent,
    21362136                         ":/audio_output_on_16px.png", ":/audio_output_16px.png",
     
    21712171
    21722172/** Toggle action extension, used as 'Audio Input' action class. */
    2173 class UIActionToggleAudioInput : public UIActionToggle
    2174 {
    2175     Q_OBJECT;
    2176 
    2177 public:
    2178 
    2179     /** Constructs action passing @a pParent to the base-class. */
    2180     UIActionToggleAudioInput(UIActionPool *pParent)
     2173class UIActionToggleRuntimeAudioInput : public UIActionToggle
     2174{
     2175    Q_OBJECT;
     2176
     2177public:
     2178
     2179    /** Constructs action passing @a pParent to the base-class. */
     2180    UIActionToggleRuntimeAudioInput(UIActionPool *pParent)
    21812181        : UIActionToggle(pParent,
    21822182                         ":/audio_input_on_16px.png", ":/audio_input_16px.png",
     
    22172217
    22182218/** Menu action extension, used as 'Network Adapters' menu class. */
    2219 class UIActionMenuNetworkAdapters : public UIActionMenu
    2220 {
    2221     Q_OBJECT;
    2222 
    2223 public:
    2224 
    2225     /** Constructs action passing @a pParent to the base-class. */
    2226     UIActionMenuNetworkAdapters(UIActionPool *pParent)
     2219class UIActionMenuRuntimeNetworkAdapters : public UIActionMenu
     2220{
     2221    Q_OBJECT;
     2222
     2223public:
     2224
     2225    /** Constructs action passing @a pParent to the base-class. */
     2226    UIActionMenuRuntimeNetworkAdapters(UIActionPool *pParent)
    22272227        : UIActionMenu(pParent, ":/nw_16px.png", ":/nw_disabled_16px.png")
    22282228    {}
     
    22532253};
    22542254
    2255 /** Simple action extension, used as 'Show Network Settings Dialog' action class. */
    2256 class UIActionSimpleShowNetworkSettingsDialog : public UIActionSimple
    2257 {
    2258     Q_OBJECT;
    2259 
    2260 public:
    2261 
    2262     /** Constructs action passing @a pParent to the base-class. */
    2263     UIActionSimpleShowNetworkSettingsDialog(UIActionPool *pParent)
     2255/** Simple action extension, used as 'Show Network Settings' action class. */
     2256class UIActionSimpleRuntimeShowNetworkSettings : public UIActionSimple
     2257{
     2258    Q_OBJECT;
     2259
     2260public:
     2261
     2262    /** Constructs action passing @a pParent to the base-class. */
     2263    UIActionSimpleRuntimeShowNetworkSettings(UIActionPool *pParent)
    22642264        : UIActionSimple(pParent, ":/nw_settings_16px.png", ":/nw_settings_disabled_16px.png")
    22652265    {}
     
    22982298
    22992299/** Menu action extension, used as 'USB Devices' menu class. */
    2300 class UIActionMenuUSBDevices : public UIActionMenu
    2301 {
    2302     Q_OBJECT;
    2303 
    2304 public:
    2305 
    2306     /** Constructs action passing @a pParent to the base-class. */
    2307     UIActionMenuUSBDevices(UIActionPool *pParent)
     2300class UIActionMenuRuntimeUSBDevices : public UIActionMenu
     2301{
     2302    Q_OBJECT;
     2303
     2304public:
     2305
     2306    /** Constructs action passing @a pParent to the base-class. */
     2307    UIActionMenuRuntimeUSBDevices(UIActionPool *pParent)
    23082308        : UIActionMenu(pParent, ":/usb_16px.png", ":/usb_disabled_16px.png")
    23092309    {
     
    23362336};
    23372337
    2338 /** Simple action extension, used as 'Show USB Devices Settings Dialog' action class. */
    2339 class UIActionSimpleShowUSBDevicesSettingsDialog : public UIActionSimple
    2340 {
    2341     Q_OBJECT;
    2342 
    2343 public:
    2344 
    2345     /** Constructs action passing @a pParent to the base-class. */
    2346     UIActionSimpleShowUSBDevicesSettingsDialog(UIActionPool *pParent)
     2338/** Simple action extension, used as 'Show USB Devices Settings' action class. */
     2339class UIActionSimpleRuntimeShowUSBDevicesSettings : public UIActionSimple
     2340{
     2341    Q_OBJECT;
     2342
     2343public:
     2344
     2345    /** Constructs action passing @a pParent to the base-class. */
     2346    UIActionSimpleRuntimeShowUSBDevicesSettings(UIActionPool *pParent)
    23472347        : UIActionSimple(pParent, ":/usb_settings_16px.png", ":/usb_settings_disabled_16px.png")
    23482348    {}
     
    23812381
    23822382/** Menu action extension, used as 'Web Cams' menu class. */
    2383 class UIActionMenuWebCams : public UIActionMenu
    2384 {
    2385     Q_OBJECT;
    2386 
    2387 public:
    2388 
    2389     /** Constructs action passing @a pParent to the base-class. */
    2390     UIActionMenuWebCams(UIActionPool *pParent)
     2383class UIActionMenuRuntimeWebCams : public UIActionMenu
     2384{
     2385    Q_OBJECT;
     2386
     2387public:
     2388
     2389    /** Constructs action passing @a pParent to the base-class. */
     2390    UIActionMenuRuntimeWebCams(UIActionPool *pParent)
    23912391        : UIActionMenu(pParent, ":/web_camera_16px.png", ":/web_camera_disabled_16px.png")
    23922392    {
     
    24202420
    24212421/** Menu action extension, used as 'Shared Clipboard' menu class. */
    2422 class UIActionMenuSharedClipboard : public UIActionMenu
    2423 {
    2424     Q_OBJECT;
    2425 
    2426 public:
    2427 
    2428     /** Constructs action passing @a pParent to the base-class. */
    2429     UIActionMenuSharedClipboard(UIActionPool *pParent)
     2422class UIActionMenuRuntimeSharedClipboard : public UIActionMenu
     2423{
     2424    Q_OBJECT;
     2425
     2426public:
     2427
     2428    /** Constructs action passing @a pParent to the base-class. */
     2429    UIActionMenuRuntimeSharedClipboard(UIActionPool *pParent)
    24302430        : UIActionMenu(pParent, ":/shared_clipboard_16px.png", ":/shared_clipboard_disabled_16px.png")
    24312431    {}
     
    24572457
    24582458/** Menu action extension, used as 'Drag & Drop' menu class. */
    2459 class UIActionMenuDragAndDrop : public UIActionMenu
    2460 {
    2461     Q_OBJECT;
    2462 
    2463 public:
    2464 
    2465     /** Constructs action passing @a pParent to the base-class. */
    2466     UIActionMenuDragAndDrop(UIActionPool *pParent)
     2459class UIActionMenuRuntimeDragAndDrop : public UIActionMenu
     2460{
     2461    Q_OBJECT;
     2462
     2463public:
     2464
     2465    /** Constructs action passing @a pParent to the base-class. */
     2466    UIActionMenuRuntimeDragAndDrop(UIActionPool *pParent)
    24672467        : UIActionMenu(pParent, ":/drag_drop_16px.png", ":/drag_drop_disabled_16px.png")
    24682468    {}
     
    24942494
    24952495/** Menu action extension, used as 'Shared Folders' menu class. */
    2496 class UIActionMenuSharedFolders : public UIActionMenu
    2497 {
    2498     Q_OBJECT;
    2499 
    2500 public:
    2501 
    2502     /** Constructs action passing @a pParent to the base-class. */
    2503     UIActionMenuSharedFolders(UIActionPool *pParent)
     2496class UIActionMenuRuntimeSharedFolders : public UIActionMenu
     2497{
     2498    Q_OBJECT;
     2499
     2500public:
     2501
     2502    /** Constructs action passing @a pParent to the base-class. */
     2503    UIActionMenuRuntimeSharedFolders(UIActionPool *pParent)
    25042504        : UIActionMenu(pParent, ":/sf_16px.png", ":/sf_disabled_16px.png")
    25052505    {}
     
    25302530};
    25312531
    2532 /** Simple action extension, used as 'Show Shared Folders Settings Dialog' action class. */
    2533 class UIActionSimpleShowSharedFoldersSettingsDialog : public UIActionSimple
    2534 {
    2535     Q_OBJECT;
    2536 
    2537 public:
    2538 
    2539     /** Constructs action passing @a pParent to the base-class. */
    2540     UIActionSimpleShowSharedFoldersSettingsDialog(UIActionPool *pParent)
     2532/** Simple action extension, used as 'Show Shared Folders Settings' action class. */
     2533class UIActionSimpleRuntimeShowSharedFoldersSettings : public UIActionSimple
     2534{
     2535    Q_OBJECT;
     2536
     2537public:
     2538
     2539    /** Constructs action passing @a pParent to the base-class. */
     2540    UIActionSimpleRuntimeShowSharedFoldersSettings(UIActionPool *pParent)
    25412541        : UIActionSimple(pParent, ":/sf_settings_16px.png", ":/sf_settings_disabled_16px.png")
    25422542    {}
     
    25752575
    25762576/** Simple action extension, used as 'Perform Install Guest Tools' action class. */
    2577 class UIActionSimplePerformInstallGuestTools : public UIActionSimple
    2578 {
    2579     Q_OBJECT;
    2580 
    2581 public:
    2582 
    2583     /** Constructs action passing @a pParent to the base-class. */
    2584     UIActionSimplePerformInstallGuestTools(UIActionPool *pParent)
     2577class UIActionSimpleRuntimePerformInstallGuestTools : public UIActionSimple
     2578{
     2579    Q_OBJECT;
     2580
     2581public:
     2582
     2583    /** Constructs action passing @a pParent to the base-class. */
     2584    UIActionSimpleRuntimePerformInstallGuestTools(UIActionPool *pParent)
    25852585        : UIActionSimple(pParent, ":/guesttools_16px.png", ":/guesttools_disabled_16px.png")
    25862586    {}
     
    26202620#ifdef VBOX_WITH_DEBUGGER_GUI
    26212621/** Menu action extension, used as 'Debug' menu class. */
    2622 class UIActionMenuDebug : public UIActionMenu
    2623 {
    2624     Q_OBJECT;
    2625 
    2626 public:
    2627 
    2628     /** Constructs action passing @a pParent to the base-class. */
    2629     UIActionMenuDebug(UIActionPool *pParent)
     2622class UIActionMenuRuntimeDebug : public UIActionMenu
     2623{
     2624    Q_OBJECT;
     2625
     2626public:
     2627
     2628    /** Constructs action passing @a pParent to the base-class. */
     2629    UIActionMenuRuntimeDebug(UIActionPool *pParent)
    26302630        : UIActionMenu(pParent)
    26312631    {}
     
    26572657
    26582658/** Simple action extension, used as 'Show Statistics' action class. */
    2659 class UIActionSimpleShowStatistics : public UIActionSimple
    2660 {
    2661     Q_OBJECT;
    2662 
    2663 public:
    2664 
    2665     /** Constructs action passing @a pParent to the base-class. */
    2666     UIActionSimpleShowStatistics(UIActionPool *pParent)
     2659class UIActionSimpleRuntimeShowStatistics : public UIActionSimple
     2660{
     2661    Q_OBJECT;
     2662
     2663public:
     2664
     2665    /** Constructs action passing @a pParent to the base-class. */
     2666    UIActionSimpleRuntimeShowStatistics(UIActionPool *pParent)
    26672667        : UIActionSimple(pParent)
    26682668    {}
     
    27002700
    27012701/** Simple action extension, used as 'Show Command Line' action class. */
    2702 class UIActionSimpleShowCommandLine : public UIActionSimple
    2703 {
    2704     Q_OBJECT;
    2705 
    2706 public:
    2707 
    2708     /** Constructs action passing @a pParent to the base-class. */
    2709     UIActionSimpleShowCommandLine(UIActionPool *pParent)
     2702class UIActionSimpleRuntimeShowCommandLine : public UIActionSimple
     2703{
     2704    Q_OBJECT;
     2705
     2706public:
     2707
     2708    /** Constructs action passing @a pParent to the base-class. */
     2709    UIActionSimpleRuntimeShowCommandLine(UIActionPool *pParent)
    27102710        : UIActionSimple(pParent)
    27112711    {}
     
    27432743
    27442744/** Toggle action extension, used as 'Logging' action class. */
    2745 class UIActionToggleLogging : public UIActionToggle
    2746 {
    2747     Q_OBJECT;
    2748 
    2749 public:
    2750 
    2751     /** Constructs action passing @a pParent to the base-class. */
    2752     UIActionToggleLogging(UIActionPool *pParent)
     2745class UIActionToggleRuntimeLogging : public UIActionToggle
     2746{
     2747    Q_OBJECT;
     2748
     2749public:
     2750
     2751    /** Constructs action passing @a pParent to the base-class. */
     2752    UIActionToggleRuntimeLogging(UIActionPool *pParent)
    27532753        : UIActionToggle(pParent)
    27542754    {}
     
    27852785};
    27862786
    2787 /** Simple action extension, used as 'Show Log Dialog' action class. */
    2788 class UIActionSimpleShowLogDialog : public UIActionSimple
    2789 {
    2790     Q_OBJECT;
    2791 
    2792 public:
    2793 
    2794     /** Constructs action passing @a pParent to the base-class. */
    2795     UIActionSimpleShowLogDialog(UIActionPool *pParent)
     2787/** Simple action extension, used as 'Show Logs' action class. */
     2788class UIActionSimpleRuntimeShowLogs : public UIActionSimple
     2789{
     2790    Q_OBJECT;
     2791
     2792public:
     2793
     2794    /** Constructs action passing @a pParent to the base-class. */
     2795    UIActionSimpleRuntimeShowLogs(UIActionPool *pParent)
    27962796        : UIActionSimple(pParent)
    27972797    {}
     
    31493149{
    31503150    /* 'Machine' actions: */
    3151     m_pool[UIActionIndexRT_M_Machine] = new UIActionMenuMachineRuntime(this);
    3152     m_pool[UIActionIndexRT_M_Machine_S_Settings] = new UIActionSimpleShowSettingsDialog(this);
    3153     m_pool[UIActionIndexRT_M_Machine_S_TakeSnapshot] = new UIActionSimplePerformTakeSnapshot(this);
    3154     m_pool[UIActionIndexRT_M_Machine_S_ShowInformation] = new UIActionSimpleShowInformationDialog(this);
    3155     m_pool[UIActionIndexRT_M_Machine_T_Pause] = new UIActionTogglePause(this);
    3156     m_pool[UIActionIndexRT_M_Machine_S_Reset] = new UIActionSimplePerformReset(this);
    3157     m_pool[UIActionIndexRT_M_Machine_S_Detach] = new UIActionSimplePerformDetach(this);
    3158     m_pool[UIActionIndexRT_M_Machine_S_SaveState] = new UIActionSimplePerformSaveState(this);
    3159     m_pool[UIActionIndexRT_M_Machine_S_Shutdown] = new UIActionSimplePerformShutdown(this);
    3160     m_pool[UIActionIndexRT_M_Machine_S_PowerOff] = new UIActionSimplePerformPowerOff(this);
     3151    m_pool[UIActionIndexRT_M_Machine] = new UIActionMenuRuntimeMachine(this);
     3152    m_pool[UIActionIndexRT_M_Machine_S_Settings] = new UIActionSimpleRuntimeShowSettings(this);
     3153    m_pool[UIActionIndexRT_M_Machine_S_TakeSnapshot] = new UIActionSimpleRuntimePerformTakeSnapshot(this);
     3154    m_pool[UIActionIndexRT_M_Machine_S_ShowInformation] = new UIActionSimpleRuntimeShowInformationDialog(this);
     3155    m_pool[UIActionIndexRT_M_Machine_T_Pause] = new UIActionToggleRuntimePause(this);
     3156    m_pool[UIActionIndexRT_M_Machine_S_Reset] = new UIActionSimpleRuntimePerformReset(this);
     3157    m_pool[UIActionIndexRT_M_Machine_S_Detach] = new UIActionSimpleRuntimePerformDetach(this);
     3158    m_pool[UIActionIndexRT_M_Machine_S_SaveState] = new UIActionSimpleRuntimePerformSaveState(this);
     3159    m_pool[UIActionIndexRT_M_Machine_S_Shutdown] = new UIActionSimpleRuntimePerformShutdown(this);
     3160    m_pool[UIActionIndexRT_M_Machine_S_PowerOff] = new UIActionSimpleRuntimePerformPowerOff(this);
    31613161
    31623162    /* 'View' actions: */
    3163     m_pool[UIActionIndexRT_M_View] = new UIActionMenuView(this);
    3164     m_pool[UIActionIndexRT_M_ViewPopup] = new UIActionMenuViewPopup(this);
    3165     m_pool[UIActionIndexRT_M_View_T_Fullscreen] = new UIActionToggleFullscreenMode(this);
    3166     m_pool[UIActionIndexRT_M_View_T_Seamless] = new UIActionToggleSeamlessMode(this);
    3167     m_pool[UIActionIndexRT_M_View_T_Scale] = new UIActionToggleScaledMode(this);
     3163    m_pool[UIActionIndexRT_M_View] = new UIActionMenuRuntimeView(this);
     3164    m_pool[UIActionIndexRT_M_ViewPopup] = new UIActionMenuRuntimeViewPopup(this);
     3165    m_pool[UIActionIndexRT_M_View_T_Fullscreen] = new UIActionToggleRuntimeFullscreenMode(this);
     3166    m_pool[UIActionIndexRT_M_View_T_Seamless] = new UIActionToggleRuntimeSeamlessMode(this);
     3167    m_pool[UIActionIndexRT_M_View_T_Scale] = new UIActionToggleRuntimeScaledMode(this);
    31683168#ifndef VBOX_WS_MAC
    3169     m_pool[UIActionIndexRT_M_View_S_MinimizeWindow] = new UIActionSimplePerformMinimizeWindow(this);
     3169    m_pool[UIActionIndexRT_M_View_S_MinimizeWindow] = new UIActionSimpleRuntimePerformMinimizeWindow(this);
    31703170#endif /* !VBOX_WS_MAC */
    3171     m_pool[UIActionIndexRT_M_View_S_AdjustWindow] = new UIActionSimplePerformWindowAdjust(this);
    3172     m_pool[UIActionIndexRT_M_View_T_GuestAutoresize] = new UIActionToggleGuestAutoresize(this);
    3173     m_pool[UIActionIndexRT_M_View_S_TakeScreenshot] = new UIActionSimplePerformTakeScreenshot(this);
    3174     m_pool[UIActionIndexRT_M_View_M_VideoCapture] = new UIActionMenuVideoCapture(this);
    3175     m_pool[UIActionIndexRT_M_View_M_VideoCapture_S_Settings] = new UIActionSimpleShowVideoCaptureSettingsDialog(this);
    3176     m_pool[UIActionIndexRT_M_View_M_VideoCapture_T_Start] = new UIActionToggleVideoCapture(this);
    3177     m_pool[UIActionIndexRT_M_View_T_VRDEServer] = new UIActionToggleVRDEServer(this);
    3178     m_pool[UIActionIndexRT_M_View_M_MenuBar] = new UIActionMenuMenuBar(this);
    3179     m_pool[UIActionIndexRT_M_View_M_MenuBar_S_Settings] = new UIActionSimpleShowMenuBarSettingsWindow(this);
     3171    m_pool[UIActionIndexRT_M_View_S_AdjustWindow] = new UIActionSimpleRuntimePerformWindowAdjust(this);
     3172    m_pool[UIActionIndexRT_M_View_T_GuestAutoresize] = new UIActionToggleRuntimeGuestAutoresize(this);
     3173    m_pool[UIActionIndexRT_M_View_S_TakeScreenshot] = new UIActionSimpleRuntimePerformTakeScreenshot(this);
     3174    m_pool[UIActionIndexRT_M_View_M_VideoCapture] = new UIActionMenuRuntimeVideoCapture(this);
     3175    m_pool[UIActionIndexRT_M_View_M_VideoCapture_S_Settings] = new UIActionSimpleRuntimeShowVideoCaptureSettings(this);
     3176    m_pool[UIActionIndexRT_M_View_M_VideoCapture_T_Start] = new UIActionToggleRuntimeVideoCapture(this);
     3177    m_pool[UIActionIndexRT_M_View_T_VRDEServer] = new UIActionToggleRuntimeVRDEServer(this);
     3178    m_pool[UIActionIndexRT_M_View_M_MenuBar] = new UIActionMenuRuntimeMenuBar(this);
     3179    m_pool[UIActionIndexRT_M_View_M_MenuBar_S_Settings] = new UIActionSimpleRuntimeShowMenuBarSettings(this);
    31803180#ifndef VBOX_WS_MAC
    3181     m_pool[UIActionIndexRT_M_View_M_MenuBar_T_Visibility] = new UIActionToggleMenuBar(this);
     3181    m_pool[UIActionIndexRT_M_View_M_MenuBar_T_Visibility] = new UIActionToggleRuntimeMenuBar(this);
    31823182#endif /* !VBOX_WS_MAC */
    3183     m_pool[UIActionIndexRT_M_View_M_StatusBar] = new UIActionMenuStatusBar(this);
    3184     m_pool[UIActionIndexRT_M_View_M_StatusBar_S_Settings] = new UIActionSimpleShowStatusBarSettingsWindow(this);
    3185     m_pool[UIActionIndexRT_M_View_M_StatusBar_T_Visibility] = new UIActionToggleStatusBar(this);
    3186     m_pool[UIActionIndexRT_M_View_M_ScaleFactor] = new UIActionMenuScaleFactor(this);
     3183    m_pool[UIActionIndexRT_M_View_M_StatusBar] = new UIActionMenuRuntimeStatusBar(this);
     3184    m_pool[UIActionIndexRT_M_View_M_StatusBar_S_Settings] = new UIActionSimpleRuntimeShowStatusBarSettings(this);
     3185    m_pool[UIActionIndexRT_M_View_M_StatusBar_T_Visibility] = new UIActionToggleRuntimeStatusBar(this);
     3186    m_pool[UIActionIndexRT_M_View_M_ScaleFactor] = new UIActionMenuRuntimeScaleFactor(this);
    31873187
    31883188    /* 'Input' actions: */
    3189     m_pool[UIActionIndexRT_M_Input] = new UIActionMenuInput(this);
    3190     m_pool[UIActionIndexRT_M_Input_M_Keyboard] = new UIActionMenuKeyboard(this);
    3191     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_Settings] = new UIActionSimpleShowKeyboardSettingsDialog(this);
    3192     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCAD] = new UIActionSimplePerformTypeCAD(this);
     3189    m_pool[UIActionIndexRT_M_Input] = new UIActionMenuRuntimeInput(this);
     3190    m_pool[UIActionIndexRT_M_Input_M_Keyboard] = new UIActionMenuRuntimeKeyboard(this);
     3191    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_Settings] = new UIActionSimpleRuntimeShowKeyboardSettings(this);
     3192    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCAD] = new UIActionSimpleRuntimePerformTypeCAD(this);
    31933193#ifdef VBOX_WS_X11
    3194     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCABS] = new UIActionSimplePerformTypeCABS(this);
     3194    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCABS] = new UIActionSimpleRuntimePerformTypeCABS(this);
    31953195#endif /* VBOX_WS_X11 */
    3196     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCtrlBreak] = new UIActionSimplePerformTypeCtrlBreak(this);
    3197     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeInsert] = new UIActionSimplePerformTypeInsert(this);
    3198     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypePrintScreen] = new UIActionSimplePerformTypePrintScreen(this);
    3199     m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeAltPrintScreen] = new UIActionSimplePerformTypeAltPrintScreen(this);
    3200     m_pool[UIActionIndexRT_M_Input_M_Mouse] = new UIActionMenuMouse(this);
    3201     m_pool[UIActionIndexRT_M_Input_M_Mouse_T_Integration] = new UIActionToggleMouseIntegration(this);
     3196    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeCtrlBreak] = new UIActionSimpleRuntimePerformTypeCtrlBreak(this);
     3197    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeInsert] = new UIActionSimpleRuntimePerformTypeInsert(this);
     3198    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypePrintScreen] = new UIActionSimpleRuntimePerformTypePrintScreen(this);
     3199    m_pool[UIActionIndexRT_M_Input_M_Keyboard_S_TypeAltPrintScreen] = new UIActionSimpleRuntimePerformTypeAltPrintScreen(this);
     3200    m_pool[UIActionIndexRT_M_Input_M_Mouse] = new UIActionMenuRuntimeMouse(this);
     3201    m_pool[UIActionIndexRT_M_Input_M_Mouse_T_Integration] = new UIActionToggleRuntimeMouseIntegration(this);
    32023202
    32033203    /* 'Devices' actions: */
    3204     m_pool[UIActionIndexRT_M_Devices] = new UIActionMenuDevices(this);
    3205     m_pool[UIActionIndexRT_M_Devices_M_HardDrives] = new UIActionMenuHardDrives(this);
    3206     m_pool[UIActionIndexRT_M_Devices_M_HardDrives_S_Settings] = new UIActionSimpleShowHardDrivesSettingsDialog(this);
    3207     m_pool[UIActionIndexRT_M_Devices_M_OpticalDevices] = new UIActionMenuOpticalDevices(this);
    3208     m_pool[UIActionIndexRT_M_Devices_M_FloppyDevices] = new UIActionMenuFloppyDevices(this);
    3209     m_pool[UIActionIndexRT_M_Devices_M_Audio] = new UIActionMenuAudio(this);
    3210     m_pool[UIActionIndexRT_M_Devices_M_Audio_T_Output] = new UIActionToggleAudioOutput(this);
    3211     m_pool[UIActionIndexRT_M_Devices_M_Audio_T_Input] = new UIActionToggleAudioInput(this);
    3212     m_pool[UIActionIndexRT_M_Devices_M_Network] = new UIActionMenuNetworkAdapters(this);
    3213     m_pool[UIActionIndexRT_M_Devices_M_Network_S_Settings] = new UIActionSimpleShowNetworkSettingsDialog(this);
    3214     m_pool[UIActionIndexRT_M_Devices_M_USBDevices] = new UIActionMenuUSBDevices(this);
    3215     m_pool[UIActionIndexRT_M_Devices_M_USBDevices_S_Settings] = new UIActionSimpleShowUSBDevicesSettingsDialog(this);
    3216     m_pool[UIActionIndexRT_M_Devices_M_WebCams] = new UIActionMenuWebCams(this);
    3217     m_pool[UIActionIndexRT_M_Devices_M_SharedClipboard] = new UIActionMenuSharedClipboard(this);
    3218     m_pool[UIActionIndexRT_M_Devices_M_DragAndDrop] = new UIActionMenuDragAndDrop(this);
    3219     m_pool[UIActionIndexRT_M_Devices_M_SharedFolders] = new UIActionMenuSharedFolders(this);
    3220     m_pool[UIActionIndexRT_M_Devices_M_SharedFolders_S_Settings] = new UIActionSimpleShowSharedFoldersSettingsDialog(this);
    3221     m_pool[UIActionIndexRT_M_Devices_S_InstallGuestTools] = new UIActionSimplePerformInstallGuestTools(this);
     3204    m_pool[UIActionIndexRT_M_Devices] = new UIActionMenuRuntimeDevices(this);
     3205    m_pool[UIActionIndexRT_M_Devices_M_HardDrives] = new UIActionMenuRuntimeHardDrives(this);
     3206    m_pool[UIActionIndexRT_M_Devices_M_HardDrives_S_Settings] = new UIActionSimpleRuntimeShowHardDrivesSettings(this);
     3207    m_pool[UIActionIndexRT_M_Devices_M_OpticalDevices] = new UIActionMenuRuntimeOpticalDevices(this);
     3208    m_pool[UIActionIndexRT_M_Devices_M_FloppyDevices] = new UIActionMenuRuntimeFloppyDevices(this);
     3209    m_pool[UIActionIndexRT_M_Devices_M_Audio] = new UIActionMenuRuntimeAudio(this);
     3210    m_pool[UIActionIndexRT_M_Devices_M_Audio_T_Output] = new UIActionToggleRuntimeAudioOutput(this);
     3211    m_pool[UIActionIndexRT_M_Devices_M_Audio_T_Input] = new UIActionToggleRuntimeAudioInput(this);
     3212    m_pool[UIActionIndexRT_M_Devices_M_Network] = new UIActionMenuRuntimeNetworkAdapters(this);
     3213    m_pool[UIActionIndexRT_M_Devices_M_Network_S_Settings] = new UIActionSimpleRuntimeShowNetworkSettings(this);
     3214    m_pool[UIActionIndexRT_M_Devices_M_USBDevices] = new UIActionMenuRuntimeUSBDevices(this);
     3215    m_pool[UIActionIndexRT_M_Devices_M_USBDevices_S_Settings] = new UIActionSimpleRuntimeShowUSBDevicesSettings(this);
     3216    m_pool[UIActionIndexRT_M_Devices_M_WebCams] = new UIActionMenuRuntimeWebCams(this);
     3217    m_pool[UIActionIndexRT_M_Devices_M_SharedClipboard] = new UIActionMenuRuntimeSharedClipboard(this);
     3218    m_pool[UIActionIndexRT_M_Devices_M_DragAndDrop] = new UIActionMenuRuntimeDragAndDrop(this);
     3219    m_pool[UIActionIndexRT_M_Devices_M_SharedFolders] = new UIActionMenuRuntimeSharedFolders(this);
     3220    m_pool[UIActionIndexRT_M_Devices_M_SharedFolders_S_Settings] = new UIActionSimpleRuntimeShowSharedFoldersSettings(this);
     3221    m_pool[UIActionIndexRT_M_Devices_S_InstallGuestTools] = new UIActionSimpleRuntimePerformInstallGuestTools(this);
    32223222
    32233223#ifdef VBOX_WITH_DEBUGGER_GUI
    32243224    /* 'Debug' actions: */
    3225     m_pool[UIActionIndexRT_M_Debug] = new UIActionMenuDebug(this);
    3226     m_pool[UIActionIndexRT_M_Debug_S_ShowStatistics] = new UIActionSimpleShowStatistics(this);
    3227     m_pool[UIActionIndexRT_M_Debug_S_ShowCommandLine] = new UIActionSimpleShowCommandLine(this);
    3228     m_pool[UIActionIndexRT_M_Debug_T_Logging] = new UIActionToggleLogging(this);
    3229     m_pool[UIActionIndexRT_M_Debug_S_ShowLogDialog] = new UIActionSimpleShowLogDialog(this);
     3225    m_pool[UIActionIndexRT_M_Debug] = new UIActionMenuRuntimeDebug(this);
     3226    m_pool[UIActionIndexRT_M_Debug_S_ShowStatistics] = new UIActionSimpleRuntimeShowStatistics(this);
     3227    m_pool[UIActionIndexRT_M_Debug_S_ShowCommandLine] = new UIActionSimpleRuntimeShowCommandLine(this);
     3228    m_pool[UIActionIndexRT_M_Debug_T_Logging] = new UIActionToggleRuntimeLogging(this);
     3229    m_pool[UIActionIndexRT_M_Debug_S_ShowLogDialog] = new UIActionSimpleRuntimeShowLogs(this);
    32303230#endif /* VBOX_WITH_DEBUGGER_GUI */
    32313231
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.h

    r71616 r71624  
    224224
    225225    /** Prepares pool. */
    226     virtual void preparePool();
     226    virtual void preparePool() /* override */;
    227227    /** Prepares connections. */
    228     virtual void prepareConnections();
     228    virtual void prepareConnections() /* override */;
    229229
    230230    /** Updates configuration. */
    231     virtual void updateConfiguration();
     231    virtual void updateConfiguration() /* override */;
    232232
    233233    /** Updates menu. */
    234     void updateMenu(int iIndex);
     234    virtual void updateMenu(int iIndex) /* override */;
    235235    /** Updates menus. */
    236     void updateMenus();
     236    virtual void updateMenus() /* override */;
     237
    237238    /** Updates 'Machine' menu. */
    238239    void updateMenuMachine();
     
    277278
    278279    /** Updates shortcuts. */
    279     virtual void updateShortcuts();
     280    virtual void updateShortcuts() /* override */;
    280281
    281282    /** Returns extra-data ID to save keyboard shortcuts under. */
    282     virtual QString shortcutsExtraDataID() const;
     283    virtual QString shortcutsExtraDataID() const /* override */;
    283284
    284285    /** Returns the list of Runtime UI main menus. */
    285     virtual QList<QMenu*> menus() const { return m_mainMenus; }
     286    virtual QList<QMenu*> menus() const /* override */ { return m_mainMenus; }
    286287
    287288private:
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