VirtualBox

Changeset 62217 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 13, 2016 11:45:34 AM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: QIDialog cleanup (part 02): Refactoring.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.cpp

    r62216 r62217  
    3636}
    3737
    38 QIDialog::~QIDialog()
    39 {
    40 }
    41 
    4238void QIDialog::setVisible(bool fVisible)
    4339{
     
    5450{
    5551    /* Check for the recursive run: */
    56     AssertMsgReturn(!m_pEventLoop, ("QIDialog::exec() is called recursively!\n"), QDialog::Rejected);
     52    AssertMsgReturn(!m_pEventLoop, ("QIDialog::execute() is called recursively!\n"), QDialog::Rejected);
    5753
    5854    /* Reset the result-code: */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h

    r62216 r62217  
    3737    /** Constructs the dialog passing @a pParent and @a flags to the base-class. */
    3838    QIDialog(QWidget *pParent = 0, Qt::WindowFlags flags = 0);
    39     /** Destructs the dialog. */
    40     ~QIDialog();
    4139
    4240    /** Defines whether the dialog is @a fVisible. */
     
    5755
    5856    /** Handles show @a pEvent. */
    59     void showEvent(QShowEvent *pEvent);
     57    virtual void showEvent(QShowEvent *pEvent) /* override */;
    6058    /** Handles show @a pEvent sent for the first time. */
    6159    virtual void polishEvent(QShowEvent *pEvent);
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