VirtualBox

Ignore:
Timestamp:
Jan 30, 2018 8:30:14 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8938 Using Qt5 signal-slot connection notation for VBox Qt 'src/wizard' classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic1.cpp

    r69200 r70805  
    9494
    9595    /* Setup connections: */
    96     connect(m_pSourceDiskSelector, SIGNAL(currentIndexChanged(int)), this, SIGNAL(completeChanged()));
    97     connect(m_pSourceDiskOpenButton, SIGNAL(clicked()), this, SLOT(sltHandleOpenSourceDiskClick()));
     96    connect(m_pSourceDiskSelector, static_cast<void(VBoxMediaComboBox::*)(int)>(&VBoxMediaComboBox::currentIndexChanged),
     97            this, &UIWizardCloneVDPageBasic1::completeChanged);
     98    connect(m_pSourceDiskOpenButton, &QIToolButton::clicked,
     99            this, &UIWizardCloneVDPageBasic1::sltHandleOpenSourceDiskClick);
    98100
    99101    /* Register classes: */
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