VirtualBox

Changeset 38372 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2011 9:52:55 AM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: 5823: Generalize GUI action pool: Renaming UIActionPoolOffline => UIActionPoolSelector.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r38355 r38372  
    354354        src/widgets/VBoxOSTypeSelectorWidget.h \
    355355        src/widgets/VBoxWarningPane.h \
    356         src/selector/UIActionPoolOffline.h \
     356        src/selector/UIActionPoolSelector.h \
    357357        src/selector/UIVMDesktop.h \
    358358        src/selector/UIVMListView.h \
     
    399399        src/globals/UIActionPool.cpp \
    400400        src/extensions/QISplitter.cpp \
    401         src/selector/UIActionPoolOffline.cpp \
    402401        src/selector/UIVMDesktop.cpp \
    403402        src/settings/UISettingsDialogSpecific.cpp \
     
    527526        src/widgets/VBoxOSTypeSelectorWidget.cpp \
    528527        src/widgets/VBoxWarningPane.cpp \
    529         src/selector/UIActionPoolOffline.cpp \
     528        src/selector/UIActionPoolSelector.cpp \
    530529        src/selector/UISelectorShortcuts.cpp \
    531530        src/selector/UIVMDesktop.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp

    r38355 r38372  
    33 *
    44 * VBox frontends: Qt GUI ("VirtualBox"):
    5  * UIActionPoolOffline class implementation
     5 * UIActionPoolSelector class implementation
    66 */
    77
     
    1919
    2020/* Local includes: */
    21 #include "UIActionPoolOffline.h"
     21#include "UIActionPoolSelector.h"
    2222
    2323/* static */
    24 void UIActionPoolOffline::create()
     24void UIActionPoolSelector::create()
    2525{
    2626    /* Check that instance do NOT exists: */
     
    2929
    3030    /* Create instance: */
    31     UIActionPoolOffline *pPool = new UIActionPoolOffline;
     31    UIActionPoolSelector *pPool = new UIActionPoolSelector;
    3232    /* Prepare instance: */
    3333    pPool->prepare();
     
    3535
    3636/* static */
    37 void UIActionPoolOffline::destroy()
     37void UIActionPoolSelector::destroy()
    3838{
    3939    /* Check that instance exists: */
     
    4747}
    4848
    49 void UIActionPoolOffline::createActions()
     49void UIActionPoolSelector::createActions()
    5050{
    5151    /* Global actions creation: */
     
    5353}
    5454
    55 void UIActionPoolOffline::createMenus()
     55void UIActionPoolSelector::createMenus()
    5656{
    5757    /* Global menus creation: */
     
    5959}
    6060
    61 #include "UIActionPoolOffline.moc"
    62 
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.h

    r38355 r38372  
    22 *
    33 * VBox frontends: Qt GUI ("VirtualBox"):
    4  * UIActionPoolOffline class declaration
     4 * UIActionPoolSelector class declaration
    55 */
    66
     
    1717 */
    1818
    19 #ifndef __UIActionPoolOffline_h__
    20 #define __UIActionPoolOffline_h__
     19#ifndef __UIActionPoolSelector_h__
     20#define __UIActionPoolSelector_h__
    2121
    2222/* Local includes: */
     
    3131
    3232/* Singleton runtime action pool: */
    33 class UIActionPoolOffline : public UIActionPool
     33class UIActionPoolSelector : public UIActionPool
    3434{
    3535    Q_OBJECT;
     
    4444
    4545    /* Constructor: */
    46     UIActionPoolOffline() : UIActionPool(UIActionPoolType_Offline) {}
     46    UIActionPoolSelector() : UIActionPool(UIActionPoolType_Offline) {}
    4747
    4848    /* Virtual helping stuff: */
     
    5151};
    5252
    53 #endif // __UIActionPoolOffline_h__
     53#endif // __UIActionPoolSelector_h__
    5454
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSelectorWnd.cpp

    r38355 r38372  
    4242#include "UIDesktopServices.h"
    4343#include "UIGlobalSettingsExtension.h" /* extension pack installation */
    44 #include "UIActionPoolOffline.h"
     44#include "UIActionPoolSelector.h"
    4545
    4646#ifdef VBOX_GUI_WITH_SYSTRAY
     
    9595{
    9696    /* Create offline action pool: */
    97     UIActionPoolOffline::create();
     97    UIActionPoolSelector::create();
    9898
    9999    VBoxGlobalSettings settings = vboxGlobal().settings();
     
    565565
    566566    /* Delete offline action pool: */
    567     UIActionPoolOffline::destroy();
     567    UIActionPoolSelector::destroy();
    568568}
    569569
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