VirtualBox

Changeset 90153 in vbox for trunk


Ignore:
Timestamp:
Jul 12, 2021 8:05:36 AM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: Some renaming

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

Legend:

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

    r90152 r90153  
    650650        src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.h \
    651651        src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h \
    652         src/wizards/editors/UIHostNameDomainEditor.h \
     652        src/wizards/editors/UIHostnameDomainEditor.h \
    653653        src/wizards/editors/UIUserNamePasswordEditor.h \
    654654        src/wizards/newcloudvm/UIWizardNewCloudVM.h \
     
    11481148        src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp \
    11491149        src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp \
    1150         src/wizards/editors/UIHostNameDomainEditor.cpp \
     1150        src/wizards/editors/UIHostnameDomainEditor.cpp \
    11511151        src/wizards/editors/UIUserNamePasswordEditor.cpp \
    11521152        src/wizards/newcloudvm/UIWizardNewCloudVM.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainEditor.cpp

    r90152 r90153  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIHostNameDomainEditor class implementation.
     3 * VBox Qt GUI - UIHostnameDomainEditor class implementation.
    44 */
    55
     
    3030#include "UICommon.h"
    3131#include "UIIconPool.h"
    32 #include "UIHostNameDomainEditor.h"
     32#include "UIHostnameDomainEditor.h"
    3333#include "UIWizardNewVM.h"
    3434
    3535
    3636
    37 UIHostNameDomainEditor::UIHostNameDomainEditor(QWidget *pParent /*  = 0 */)
     37UIHostnameDomainEditor::UIHostnameDomainEditor(QWidget *pParent /*  = 0 */)
    3838    : QIWithRetranslateUI<QWidget>(pParent)
    3939    , m_pHostnameLineEdit(0)
     
    4545}
    4646
    47 QString UIHostNameDomainEditor::hostname() const
     47QString UIHostnameDomainEditor::hostname() const
    4848{
    4949    if (m_pHostnameLineEdit)
     
    5252}
    5353
    54 bool UIHostNameDomainEditor::isComplete() const
     54bool UIHostnameDomainEditor::isComplete() const
    5555{
    5656    return m_pHostnameLineEdit && m_pHostnameLineEdit->hasAcceptableInput() &&
     
    5858}
    5959
    60 void UIHostNameDomainEditor::setHostname(const QString &strHostname)
     60void UIHostnameDomainEditor::setHostname(const QString &strHostname)
    6161{
    6262    if (m_pHostnameLineEdit)
     
    6464}
    6565
    66 QString UIHostNameDomainEditor::domain() const
     66QString UIHostnameDomainEditor::domain() const
    6767{
    6868    if (m_pDomainLineEdit)
     
    7171}
    7272
    73 void UIHostNameDomainEditor::setDomain(const QString &strDomain)
     73void UIHostnameDomainEditor::setDomain(const QString &strDomain)
    7474{
    7575    if (m_pDomainLineEdit)
     
    7777}
    7878
    79 QString UIHostNameDomainEditor::hostnameDomain() const
     79QString UIHostnameDomainEditor::hostnameDomain() const
    8080{
    8181    if (m_pHostnameLineEdit && m_pDomainLineEdit)
     
    8484}
    8585
    86 void UIHostNameDomainEditor::retranslateUi()
     86void UIHostnameDomainEditor::retranslateUi()
    8787{
    8888    QString strHostnameTooltip(tr("Type the hostname which will be used in attended install:"));
     
    103103}
    104104
    105 void UIHostNameDomainEditor::addLineEdit(int &iRow, QLabel *&pLabel, QILineEdit *&pLineEdit, QGridLayout *pLayout)
     105void UIHostnameDomainEditor::addLineEdit(int &iRow, QLabel *&pLabel, QILineEdit *&pLineEdit, QGridLayout *pLayout)
    106106{
    107107    AssertReturnVoid(pLayout);
     
    129129}
    130130
    131 void UIHostNameDomainEditor::prepare()
     131void UIHostnameDomainEditor::prepare()
    132132{
    133133    QGridLayout *pMainLayout = new QGridLayout;
     
    143143
    144144    connect(m_pHostnameLineEdit, &QILineEdit::textChanged,
    145             this, &UIHostNameDomainEditor::sltHostnameChanged);
     145            this, &UIHostnameDomainEditor::sltHostnameChanged);
    146146    connect(m_pDomainLineEdit, &QILineEdit::textChanged,
    147             this, &UIHostNameDomainEditor::sltDomainChanged);
     147            this, &UIHostnameDomainEditor::sltDomainChanged);
    148148
    149149
     
    151151}
    152152
    153 void UIHostNameDomainEditor::sltHostnameChanged()
     153void UIHostnameDomainEditor::sltHostnameChanged()
    154154{
    155155    m_pHostnameLineEdit->mark(!m_pHostnameLineEdit->hasAcceptableInput(),
     
    158158}
    159159
    160 void UIHostNameDomainEditor::sltDomainChanged()
     160void UIHostnameDomainEditor::sltDomainChanged()
    161161{
    162162    m_pDomainLineEdit->mark(!m_pDomainLineEdit->hasAcceptableInput(),
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIHostnameDomainEditor.h

    r90152 r90153  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIHostNameDomainEditor class declaration.
     3 * VBox Qt GUI - UIHostnameDomainEditor class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_editors_UIHostNameDomainEditor_h
    19 #define FEQT_INCLUDED_SRC_wizards_editors_UIHostNameDomainEditor_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_editors_UIHostnameDomainEditor_h
     19#define FEQT_INCLUDED_SRC_wizards_editors_UIHostnameDomainEditor_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3535class UIPasswordLineEdit;
    3636
    37 class UIHostNameDomainEditor : public QIWithRetranslateUI<QWidget>
     37class UIHostnameDomainEditor : public QIWithRetranslateUI<QWidget>
    3838{
    3939
     
    4646public:
    4747
    48     UIHostNameDomainEditor(QWidget *pParent = 0);
     48    UIHostnameDomainEditor(QWidget *pParent = 0);
    4949
    5050    QString hostname() const;
     
    8080};
    8181
    82 #endif /* !FEQT_INCLUDED_SRC_wizards_editors_UIHostNameDomainEditor_h */
     82#endif /* !FEQT_INCLUDED_SRC_wizards_editors_UIHostnameDomainEditor_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.cpp

    r90151 r90153  
    3232#include "UIIconPool.h"
    3333#include "UIUserNamePasswordEditor.h"
    34 #include "UIHostNameDomainEditor.h"
     34#include "UIHostnameDomainEditor.h"
    3535#include "UIWizardNewVMUnattendedPageBasic.h"
    3636#include "UIWizardNewVM.h"
     
    102102                this, &UIWizardNewVMUnattendedPageBasic::sltInstallGACheckBoxToggle);
    103103    if (m_pHostnameDomainEditor)
    104         connect(m_pHostnameDomainEditor, &UIHostNameDomainEditor::sigHostnameDomainChanged,
     104        connect(m_pHostnameDomainEditor, &UIHostnameDomainEditor::sigHostnameDomainChanged,
    105105                this, &UIWizardNewVMUnattendedPageBasic::sltHostnameDomainChanged);
    106106    if (m_pProductKeyLineEdit)
     
    312312    }
    313313
    314     m_pHostnameDomainEditor = new UIHostNameDomainEditor;
     314    m_pHostnameDomainEditor = new UIHostnameDomainEditor;
    315315    if (m_pHostnameDomainEditor)
    316316    {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.h

    r90151 r90153  
    3535class UIFilePathSelector;
    3636class UIUserNamePasswordEditor;
    37 class UIHostNameDomainEditor;
     37class UIHostnameDomainEditor;
    3838struct UIUnattendedInstallData;
    3939
     
    9494        QCheckBox *m_pStartHeadlessCheckBox;
    9595        UIUserNamePasswordEditor *m_pUserNamePasswordEditor;
    96         UIHostNameDomainEditor *m_pHostnameDomainEditor;
     96        UIHostnameDomainEditor *m_pHostnameDomainEditor;
    9797        // QLineEdit *m_pHostnameLineEdit;
    9898        // QLabel    *m_pHostnameLabel;
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