VirtualBox

Changeset 100979 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 25, 2023 3:33:24 PM (16 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: Initial cloning of UISettingsDialog to UIAdvancedSettingsDialog; No code changes, just names.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 edited
4 copied

Legend:

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

    r100961 r100979  
    876876        src/notificationcenter/UINotificationProgressTask.h \
    877877        src/objects/UIExecutionQueue.h \
     878        src/settings/UIAdvancedSettingsDialog.h \
     879        src/settings/UIAdvancedSettingsDialogSpecific.h \
    878880        src/settings/UISettingsDialog.h \
    879881        src/settings/UISettingsDialogSpecific.h \
     
    14591461        src/objects/UIRichTextString.cpp \
    14601462        src/settings/UISettingsDefs.cpp \
     1463        src/settings/UIAdvancedSettingsDialog.cpp \
     1464        src/settings/UIAdvancedSettingsDialogSpecific.cpp \
    14611465        src/settings/UISettingsDialog.cpp \
    14621466        src/settings/UISettingsDialogSpecific.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.cpp

    r100977 r100979  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UISettingsDialog class implementation.
     3 * VBox Qt GUI - UIAdvancedSettingsDialog class implementation.
    44 */
    55
     
    3737/* GUI includes: */
    3838#include "QIDialogButtonBox.h"
     39#include "UIAdvancedSettingsDialog.h"
    3940#include "UICommon.h"
    4041#include "UIDesktopWidgetWatchdog.h"
     
    4243#include "UIModalWindowManager.h"
    4344#include "UIPopupCenter.h"
    44 #include "UISettingsDialog.h"
    4545#include "UISettingsPage.h"
    4646#include "UISettingsPageValidator.h"
     
    6161
    6262
    63 UISettingsDialog::UISettingsDialog(QWidget *pParent,
    64                                    const QString &strCategory,
    65                                    const QString &strControl)
     63UIAdvancedSettingsDialog::UIAdvancedSettingsDialog(QWidget *pParent,
     64                                                   const QString &strCategory,
     65                                                   const QString &strControl)
    6666    : QIWithRetranslateUI<QMainWindow>(pParent)
    6767    , m_strCategory(strCategory)
     
    8787}
    8888
    89 UISettingsDialog::~UISettingsDialog()
     89UIAdvancedSettingsDialog::~UIAdvancedSettingsDialog()
    9090{
    9191    cleanup();
    9292}
    9393
    94 void UISettingsDialog::accept()
     94void UIAdvancedSettingsDialog::accept()
    9595{
    9696    /* Save data: */
     
    102102}
    103103
    104 void UISettingsDialog::reject()
     104void UIAdvancedSettingsDialog::reject()
    105105{
    106106    /* Close if there is no ongoing serialization: */
     
    109109}
    110110
    111 void UISettingsDialog::sltCategoryChanged(int cId)
     111void UIAdvancedSettingsDialog::sltCategoryChanged(int cId)
    112112{
    113113#ifndef VBOX_WS_MAC
     
    158158}
    159159
    160 void UISettingsDialog::sltHandleSerializationStarted()
     160void UIAdvancedSettingsDialog::sltHandleSerializationStarted()
    161161{
    162162    m_pProcessBar->setValue(0);
     
    164164}
    165165
    166 void UISettingsDialog::sltHandleSerializationProgressChange(int iValue)
     166void UIAdvancedSettingsDialog::sltHandleSerializationProgressChange(int iValue)
    167167{
    168168    m_pProcessBar->setValue(iValue);
     
    176176}
    177177
    178 void UISettingsDialog::sltHandleSerializationFinished()
     178void UIAdvancedSettingsDialog::sltHandleSerializationFinished()
    179179{
    180180    /* Delete serializer if exists: */
     
    186186}
    187187
    188 void UISettingsDialog::retranslateUi()
     188void UIAdvancedSettingsDialog::retranslateUi()
    189189{
    190190#ifndef VBOX_GUI_WITH_TOOLBAR_SETTINGS
     
    202202}
    203203
    204 void UISettingsDialog::showEvent(QShowEvent *pEvent)
     204void UIAdvancedSettingsDialog::showEvent(QShowEvent *pEvent)
    205205{
    206206    /* Polish stuff: */
     
    215215}
    216216
    217 void UISettingsDialog::polishEvent()
     217void UIAdvancedSettingsDialog::polishEvent()
    218218{
    219219    /* Check what's the minimum selector size: */
     
    277277}
    278278
    279 void UISettingsDialog::closeEvent(QCloseEvent *pEvent)
     279void UIAdvancedSettingsDialog::closeEvent(QCloseEvent *pEvent)
    280280{
    281281    /* Ignore event initially: */
     
    297297}
    298298
    299 void UISettingsDialog::choosePageAndTab(bool fKeepPreviousByDefault /* = false */)
     299void UIAdvancedSettingsDialog::choosePageAndTab(bool fKeepPreviousByDefault /* = false */)
    300300{
    301301    /* Setup settings window: */
     
    334334}
    335335
    336 void UISettingsDialog::loadData(QVariant &data)
     336void UIAdvancedSettingsDialog::loadData(QVariant &data)
    337337{
    338338    /* Mark serialization started: */
     
    346346        /* Configure settings loader: */
    347347        connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessStarted,
    348                 this, &UISettingsDialog::sltHandleSerializationStarted);
     348                this, &UIAdvancedSettingsDialog::sltHandleSerializationStarted);
    349349        connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessProgressChanged,
    350                 this, &UISettingsDialog::sltHandleSerializationProgressChange);
     350                this, &UIAdvancedSettingsDialog::sltHandleSerializationProgressChange);
    351351        connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessFinished,
    352                 this, &UISettingsDialog::sltHandleSerializationFinished);
     352                this, &UIAdvancedSettingsDialog::sltHandleSerializationFinished);
    353353
    354354        /* Raise current page priority: */
     
    363363}
    364364
    365 void UISettingsDialog::saveData(QVariant &data)
     365void UIAdvancedSettingsDialog::saveData(QVariant &data)
    366366{
    367367    /* Mark serialization started: */
     
    397397}
    398398
    399 void UISettingsDialog::setConfigurationAccessLevel(ConfigurationAccessLevel enmConfigurationAccessLevel)
     399void UIAdvancedSettingsDialog::setConfigurationAccessLevel(ConfigurationAccessLevel enmConfigurationAccessLevel)
    400400{
    401401    /* Make sure something changed: */
     
    411411}
    412412
    413 void UISettingsDialog::addItem(const QString &strBigIcon,
    414                                const QString &strMediumIcon,
    415                                const QString &strSmallIcon,
    416                                int cId,
    417                                const QString &strLink,
    418                                UISettingsPage *pSettingsPage /* = 0 */,
    419                                int iParentId /* = -1 */)
     413void UIAdvancedSettingsDialog::addItem(const QString &strBigIcon,
     414                                       const QString &strMediumIcon,
     415                                       const QString &strSmallIcon,
     416                                       int cId,
     417                                       const QString &strLink,
     418                                       UISettingsPage *pSettingsPage /* = 0 */,
     419                                       int iParentId /* = -1 */)
    420420{
    421421    /* Add new selector item: */
     
    433433        /* Create validator: */
    434434        UISettingsPageValidator *pValidator = new UISettingsPageValidator(this, pSettingsPage);
    435         connect(pValidator, &UISettingsPageValidator::sigValidityChanged, this, &UISettingsDialog::sltHandleValidityChange);
     435        connect(pValidator, &UISettingsPageValidator::sigValidityChanged, this, &UIAdvancedSettingsDialog::sltHandleValidityChange);
    436436        pSettingsPage->setValidator(pValidator);
    437437        m_pWarningPane->registerValidator(pValidator);
     
    442442}
    443443
    444 void UISettingsDialog::addPageHelpKeyword(int iPageType, const QString &strHelpKeyword)
     444void UIAdvancedSettingsDialog::addPageHelpKeyword(int iPageType, const QString &strHelpKeyword)
    445445{
    446446    m_pageHelpKeywords[iPageType] = strHelpKeyword;
    447447}
    448448
    449 void UISettingsDialog::revalidate()
     449void UIAdvancedSettingsDialog::revalidate()
    450450{
    451451    /* Perform dialog revalidation: */
     
    490490}
    491491
    492 bool UISettingsDialog::isSettingsChanged()
     492bool UIAdvancedSettingsDialog::isSettingsChanged()
    493493{
    494494    bool fIsSettingsChanged = false;
     
    502502}
    503503
    504 void UISettingsDialog::sltHandleValidityChange(UISettingsPageValidator *pValidator)
     504void UIAdvancedSettingsDialog::sltHandleValidityChange(UISettingsPageValidator *pValidator)
    505505{
    506506    /* Determine which settings-page had called for revalidation: */
     
    525525}
    526526
    527 void UISettingsDialog::sltHandleWarningPaneHovered(UISettingsPageValidator *pValidator)
     527void UIAdvancedSettingsDialog::sltHandleWarningPaneHovered(UISettingsPageValidator *pValidator)
    528528{
    529529    LogRelFlow(("Settings Dialog: Warning-icon hovered: %s.\n", pValidator->internalName().toUtf8().constData()));
     
    535535}
    536536
    537 void UISettingsDialog::sltHandleWarningPaneUnhovered(UISettingsPageValidator *pValidator)
     537void UIAdvancedSettingsDialog::sltHandleWarningPaneUnhovered(UISettingsPageValidator *pValidator)
    538538{
    539539    LogRelFlow(("Settings Dialog: Warning-icon unhovered: %s.\n", pValidator->internalName().toUtf8().constData()));
     
    543543}
    544544
    545 void UISettingsDialog::prepare()
     545void UIAdvancedSettingsDialog::prepare()
    546546{
    547547    /* Prepare central-widget: */
     
    564564}
    565565
    566 void UISettingsDialog::prepareSelector()
     566void UIAdvancedSettingsDialog::prepareSelector()
    567567{
    568568#ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS
     
    615615    if (m_pSelector)
    616616        connect(m_pSelector, &UISettingsSelectorTreeWidget::sigCategoryChanged,
    617                 this, &UISettingsDialog::sltCategoryChanged);
    618 }
    619 
    620 void UISettingsDialog::prepareStack()
     617                this, &UIAdvancedSettingsDialog::sltCategoryChanged);
     618}
     619
     620void UIAdvancedSettingsDialog::prepareStack()
    621621{
    622622    /* Prepare page-stack: */
     
    632632}
    633633
    634 void UISettingsDialog::prepareButtonBox()
     634void UIAdvancedSettingsDialog::prepareButtonBox()
    635635{
    636636    /* Prepare button-box: */
     
    650650        m_pButtonBox->button(QDialogButtonBox::Ok)->setShortcut(Qt::Key_Return);
    651651        m_pButtonBox->button(QDialogButtonBox::Cancel)->setShortcut(Qt::Key_Escape);
    652         connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UISettingsDialog::close);
    653         connect(m_pButtonBox, &QIDialogButtonBox::accepted, this, &UISettingsDialog::accept);
     652        connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UIAdvancedSettingsDialog::close);
     653        connect(m_pButtonBox, &QIDialogButtonBox::accepted, this, &UIAdvancedSettingsDialog::accept);
    654654#ifndef VBOX_WS_MAC
    655655        connect(m_pButtonBox->button(QDialogButtonBox::Help), &QAbstractButton::pressed,
     
    678678            {
    679679                connect(m_pWarningPane, &UISettingsWarningPane::sigHoverEnter,
    680                         this, &UISettingsDialog::sltHandleWarningPaneHovered);
     680                        this, &UIAdvancedSettingsDialog::sltHandleWarningPaneHovered);
    681681                connect(m_pWarningPane, &UISettingsWarningPane::sigHoverLeave,
    682                         this, &UISettingsDialog::sltHandleWarningPaneUnhovered);
     682                        this, &UIAdvancedSettingsDialog::sltHandleWarningPaneUnhovered);
    683683                m_pStatusBar->addWidget(m_pWarningPane);
    684684            }
     
    693693}
    694694
    695 void UISettingsDialog::cleanup()
     695void UIAdvancedSettingsDialog::cleanup()
    696696{
    697697    /* Delete serializer if exists: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.h

    r100977 r100979  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UISettingsDialog class declaration.
     3 * VBox Qt GUI - UIAdvancedSettingsDialog class declaration.
    44 */
    55
     
    2626 */
    2727
    28 #ifndef FEQT_INCLUDED_SRC_settings_UISettingsDialog_h
    29 #define FEQT_INCLUDED_SRC_settings_UISettingsDialog_h
     28#ifndef FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h
     29#define FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h
    3030#ifndef RT_WITHOUT_PRAGMA_ONCE
    3131# pragma once
     
    5959  * base dialog class for both Global Preferences & Machine Settings
    6060  * dialogs, which encapsulates most of their common functionality. */
    61 class SHARED_LIBRARY_STUFF UISettingsDialog : public QIWithRetranslateUI<QMainWindow>
     61class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialog : public QIWithRetranslateUI<QMainWindow>
    6262{
    6363    Q_OBJECT;
     
    7676      * @param  strCategory  Brings the name of category to be opened.
    7777      * @param  strControl   Brings the name of control to be focused. */
    78     UISettingsDialog(QWidget *pParent,
    79                      const QString &strCategory,
    80                      const QString &strControl);
     78    UIAdvancedSettingsDialog(QWidget *pParent,
     79                             const QString &strCategory,
     80                             const QString &strControl);
    8181    /** Destructs settings dialog. */
    82     virtual ~UISettingsDialog() RT_OVERRIDE;
     82    virtual ~UIAdvancedSettingsDialog() RT_OVERRIDE;
    8383
    8484    /** Loads the dialog data. */
     
    252252};
    253253
    254 #endif /* !FEQT_INCLUDED_SRC_settings_UISettingsDialog_h */
     254#endif /* !FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp

    r100977 r100979  
    3030
    3131/* GUI includes: */
    32 #include "QIWidgetValidator.h"
     32#include "UIAdvancedSettingsDialogSpecific.h"
    3333#include "UICommon.h"
    3434#include "UIExtraDataManager.h"
     
    3636#include "UIMessageCenter.h"
    3737#include "UISettingsDefs.h"
    38 #include "UISettingsDialogSpecific.h"
    3938#include "UISettingsSerializer.h"
    4039#include "UISettingsSelector.h"
     
    7776
    7877/*********************************************************************************************************************************
    79 *   Class UISettingsDialogGlobal implementation.                                                                                 *
     78*   Class UIAdvancedSettingsDialogGlobal implementation.                                                                         *
    8079*********************************************************************************************************************************/
    8180
    82 UISettingsDialogGlobal::UISettingsDialogGlobal(QWidget *pParent,
    83                                                const QString &strCategory /* = QString() */,
    84                                                const QString &strControl /* = QString() */)
     81UIAdvancedSettingsDialogGlobal::UIAdvancedSettingsDialogGlobal(QWidget *pParent,
     82                                                               const QString &strCategory /* = QString() */,
     83                                                               const QString &strControl /* = QString() */)
    8584    : UISettingsDialog(pParent, strCategory, strControl)
    8685{
     
    8887}
    8988
    90 void UISettingsDialogGlobal::retranslateUi()
     89void UIAdvancedSettingsDialogGlobal::retranslateUi()
    9190{
    9291    /* Selector itself: */
     
    130129}
    131130
    132 void UISettingsDialogGlobal::load()
     131void UIAdvancedSettingsDialogGlobal::load()
    133132{
    134133    /* Get host & properties: */
     
    144143}
    145144
    146 void UISettingsDialogGlobal::save()
     145void UIAdvancedSettingsDialogGlobal::save()
    147146{
    148147    /* Get host & properties: */
     
    173172}
    174173
    175 QString UISettingsDialogGlobal::titleExtension() const
     174QString UIAdvancedSettingsDialogGlobal::titleExtension() const
    176175{
    177176#ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS
     
    182181}
    183182
    184 QString UISettingsDialogGlobal::title() const
     183QString UIAdvancedSettingsDialogGlobal::title() const
    185184{
    186185    return tr("VirtualBox - %1").arg(titleExtension());
    187186}
    188187
    189 void UISettingsDialogGlobal::prepare()
     188void UIAdvancedSettingsDialogGlobal::prepare()
    190189{
    191190#ifndef VBOX_WS_MAC
     
    293292}
    294293
    295 bool UISettingsDialogGlobal::isPageAvailable(int) const
     294bool UIAdvancedSettingsDialogGlobal::isPageAvailable(int) const
    296295{
    297296    /* Add restrictions here.. */
     
    301300
    302301/*********************************************************************************************************************************
    303 *   Class UISettingsDialogMachine implementation.                                                                                *
     302*   Class UIAdvancedSettingsDialogMachine implementation.                                                                        *
    304303*********************************************************************************************************************************/
    305304
    306 UISettingsDialogMachine::UISettingsDialogMachine(QWidget *pParent,
    307                                                  const QUuid &uMachineId,
    308                                                  UIActionPool *pActionPool,
    309                                                  const QString &strCategory /* = QString() */,
    310                                                  const QString &strControl /* = QString() */)
     305UIAdvancedSettingsDialogMachine::UIAdvancedSettingsDialogMachine(QWidget *pParent,
     306                                                                 const QUuid &uMachineId,
     307                                                                 UIActionPool *pActionPool,
     308                                                                 const QString &strCategory /* = QString() */,
     309                                                                 const QString &strControl /* = QString() */)
    311310    : UISettingsDialog(pParent, strCategory, strControl)
    312311    , m_uMachineId(uMachineId)
     
    316315}
    317316
    318 void UISettingsDialogMachine::setNewMachineId(const QUuid &uMachineId,
    319                                               const QString &strCategory /* = QString() */,
    320                                               const QString &strControl /* = QString() */)
     317void UIAdvancedSettingsDialogMachine::setNewMachineId(const QUuid &uMachineId,
     318                                                      const QString &strCategory /* = QString() */,
     319                                                      const QString &strControl /* = QString() */)
    321320{
    322321    /* Cache new machine stuff: */
     
    344343}
    345344
    346 void UISettingsDialogMachine::retranslateUi()
     345void UIAdvancedSettingsDialogMachine::retranslateUi()
    347346{
    348347    /* Selector itself: */
     
    401400}
    402401
    403 void UISettingsDialogMachine::load()
     402void UIAdvancedSettingsDialogMachine::load()
    404403{
    405404    /* Check that session is NOT created: */
     
    427426}
    428427
    429 void UISettingsDialogMachine::save()
     428void UIAdvancedSettingsDialogMachine::save()
    430429{
    431430    /* Check that session is NOT created: */
     
    488487}
    489488
    490 QString UISettingsDialogMachine::titleExtension() const
     489QString UIAdvancedSettingsDialogMachine::titleExtension() const
    491490{
    492491#ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS
     
    497496}
    498497
    499 QString UISettingsDialogMachine::title() const
     498QString UIAdvancedSettingsDialogMachine::title() const
    500499{
    501500    QString strDialogTitle;
     
    507506}
    508507
    509 void UISettingsDialogMachine::recorrelate(UISettingsPage *pSettingsPage)
     508void UIAdvancedSettingsDialogMachine::recorrelate(UISettingsPage *pSettingsPage)
    510509{
    511510    switch (pSettingsPage->id())
     
    546545}
    547546
    548 void UISettingsDialogMachine::sltCategoryChanged(int cId)
     547void UIAdvancedSettingsDialogMachine::sltCategoryChanged(int cId)
    549548{
    550549    /* Raise priority of requested page: */
     
    556555}
    557556
    558 void UISettingsDialogMachine::sltHandleSerializationFinished()
     557void UIAdvancedSettingsDialogMachine::sltHandleSerializationFinished()
    559558{
    560559    /* Call to base-class: */
     
    571570}
    572571
    573 void UISettingsDialogMachine::sltSessionStateChanged(const QUuid &uMachineId, const KSessionState enmSessionState)
     572void UIAdvancedSettingsDialogMachine::sltSessionStateChanged(const QUuid &uMachineId, const KSessionState enmSessionState)
    574573{
    575574    /* Ignore if serialization is in progress: */
     
    590589}
    591590
    592 void UISettingsDialogMachine::sltMachineStateChanged(const QUuid &uMachineId, const KMachineState enmMachineState)
     591void UIAdvancedSettingsDialogMachine::sltMachineStateChanged(const QUuid &uMachineId, const KMachineState enmMachineState)
    593592{
    594593    /* Ignore if serialization is in progress: */
     
    609608}
    610609
    611 void UISettingsDialogMachine::sltMachineDataChanged(const QUuid &uMachineId)
     610void UIAdvancedSettingsDialogMachine::sltMachineDataChanged(const QUuid &uMachineId)
    612611{
    613612    /* Ignore if serialization is in progress: */
     
    626625}
    627626
    628 void UISettingsDialogMachine::prepare()
     627void UIAdvancedSettingsDialogMachine::prepare()
    629628{
    630629#ifndef VBOX_WS_MAC
     
    635634    /* Make sure settings window will be updated on session/machine state/data changes: */
    636635    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigSessionStateChange,
    637             this, &UISettingsDialogMachine::sltSessionStateChanged);
     636            this, &UIAdvancedSettingsDialogMachine::sltSessionStateChanged);
    638637    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineStateChange,
    639             this, &UISettingsDialogMachine::sltMachineStateChanged);
     638            this, &UIAdvancedSettingsDialogMachine::sltMachineStateChanged);
    640639    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineDataChange,
    641             this, &UISettingsDialogMachine::sltMachineDataChanged);
     640            this, &UIAdvancedSettingsDialogMachine::sltMachineDataChanged);
    642641
    643642    /* Get corresponding machine (required to determine dialog type and page availability): */
     
    774773}
    775774
    776 bool UISettingsDialogMachine::isPageAvailable(int iPageId) const
     775bool UIAdvancedSettingsDialogMachine::isPageAvailable(int iPageId) const
    777776{
    778777    if (m_machine.isNull())
     
    811810}
    812811
    813 void UISettingsDialogMachine::updateConfigurationAccessLevel()
     812void UIAdvancedSettingsDialogMachine::updateConfigurationAccessLevel()
    814813{
    815814    /* Determine new configuration access level: */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.h

    r100977 r100979  
    2626 */
    2727
    28 #ifndef FEQT_INCLUDED_SRC_settings_UISettingsDialogSpecific_h
    29 #define FEQT_INCLUDED_SRC_settings_UISettingsDialogSpecific_h
     28#ifndef FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h
     29#define FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h
    3030#ifndef RT_WITHOUT_PRAGMA_ONCE
    3131# pragma once
     
    4848
    4949/** UISettingsDialog extension encapsulating all the specific functionality of the Global Preferences. */
    50 class SHARED_LIBRARY_STUFF UISettingsDialogGlobal : public UISettingsDialog
     50class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialogGlobal : public UISettingsDialog
    5151{
    5252    Q_OBJECT;
     
    5757      * @param  strCategory  Brings the name of category to be opened.
    5858      * @param  strControl   Brings the name of control to be focused. */
    59     UISettingsDialogGlobal(QWidget *pParent,
    60                            const QString &strCategory = QString(),
    61                            const QString &strControl = QString());
     59    UIAdvancedSettingsDialogGlobal(QWidget *pParent,
     60                                   const QString &strCategory = QString(),
     61                                   const QString &strControl = QString());
    6262
    6363protected:
     
    8686
    8787/** Safe pointer to cloud machine settings dialog. */
    88 typedef QPointer<UISettingsDialogGlobal> UISafePointerSettingsDialogGlobal;
     88typedef QPointer<UIAdvancedSettingsDialogGlobal> UISafePointerAdvancedSettingsDialogGlobal;
    8989
    9090
    9191/** UISettingsDialog extension encapsulating all the specific functionality of the Machine Settings. */
    92 class SHARED_LIBRARY_STUFF UISettingsDialogMachine : public UISettingsDialog
     92class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialogMachine : public UISettingsDialog
    9393{
    9494    Q_OBJECT;
     
    101101      * @param  strCategory  Brings the name of category to be opened.
    102102      * @param  strControl   Brings the name of control to be focused. */
    103     UISettingsDialogMachine(QWidget *pParent,
    104                             const QUuid &uMachineId,
    105                             UIActionPool *pActionPool,
    106                             const QString &strCategory = QString(),
    107                             const QString &strControl = QString());
     103    UIAdvancedSettingsDialogMachine(QWidget *pParent,
     104                                    const QUuid &uMachineId,
     105                                    UIActionPool *pActionPool,
     106                                    const QString &strCategory = QString(),
     107                                    const QString &strControl = QString());
    108108
    109109    /** Update machine stuff.
     
    180180
    181181/** Safe pointer to cloud machine settings dialog. */
    182 typedef QPointer<UISettingsDialogMachine> UISafePointerSettingsDialogMachine;
     182typedef QPointer<UIAdvancedSettingsDialogMachine> UISafePointerAdvancedSettingsDialogMachine;
    183183
    184184
    185 #endif /* !FEQT_INCLUDED_SRC_settings_UISettingsDialogSpecific_h */
     185#endif /* !FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h */
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