Changeset 70805 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 30, 2018 8:30:14 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UIWizard.cpp
r69690 r70805 98 98 99 99 /* Setup connections: */ 100 connect(this, SIGNAL(currentIdChanged(int)), this, SLOT(sltCurrentIdChanged(int)));101 connect(this, SIGNAL(customButtonClicked(int)), this, SLOT(sltCustomButtonClicked(int)));100 connect(this, &UIWizard::currentIdChanged, this, &UIWizard::sltCurrentIdChanged); 101 connect(this, &UIWizard::customButtonClicked, this, &UIWizard::sltCustomButtonClicked); 102 102 } 103 103 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic1.cpp
r69200 r70805 94 94 95 95 /* 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); 98 100 99 101 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic2.cpp
r69200 r70805 147 147 148 148 /* Setup connections: */ 149 connect(m_pFormatButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 149 connect(m_pFormatButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 150 this, &UIWizardCloneVDPageBasic2::completeChanged); 150 151 151 152 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp
r69200 r70805 121 121 122 122 /* Setup connections: */ 123 connect(m_pVariantButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 124 connect(m_pSplitBox, SIGNAL(stateChanged(int)), this, SIGNAL(completeChanged())); 123 connect(m_pVariantButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 124 this, &UIWizardCloneVDPageBasic3::completeChanged); 125 connect(m_pSplitBox, &QCheckBox::stateChanged, 126 this, &UIWizardCloneVDPageBasic3::completeChanged); 125 127 126 128 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic4.cpp
r69239 r70805 191 191 192 192 /* Setup page connections: */ 193 connect(m_pDestinationDiskEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));194 connect(m_pDestinationDiskOpenButton, SIGNAL(clicked()), this, SLOT(sltSelectLocationButtonClicked()));193 connect(m_pDestinationDiskEditor, &QLineEdit::textChanged, this, &UIWizardCloneVDPageBasic4::completeChanged); 194 connect(m_pDestinationDiskOpenButton, &QIToolButton::clicked, this, &UIWizardCloneVDPageBasic4::sltSelectLocationButtonClicked); 195 195 196 196 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageExpert.cpp
r69726 r70805 165 165 166 166 /* Setup connections: */ 167 connect(m_pSourceDiskSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(sltHandleSourceDiskChange())); 168 connect(m_pSourceDiskOpenButton, SIGNAL(clicked()), this, SLOT(sltHandleOpenSourceDiskClick())); 169 connect(m_pFormatButtonGroup, SIGNAL(buttonClicked(QAbstractButton*)), this, SLOT(sltMediumFormatChanged())); 170 connect(m_pVariantButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 171 connect(m_pSplitBox, SIGNAL(stateChanged(int)), this, SIGNAL(completeChanged())); 172 connect(m_pDestinationDiskEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged())); 173 connect(m_pDestinationDiskOpenButton, SIGNAL(clicked()), this, SLOT(sltSelectLocationButtonClicked())); 167 connect(m_pSourceDiskSelector, static_cast<void(VBoxMediaComboBox::*)(int)>(&VBoxMediaComboBox::currentIndexChanged), 168 this, &UIWizardCloneVDPageExpert::sltHandleSourceDiskChange); 169 connect(m_pSourceDiskOpenButton, &QIToolButton::clicked, 170 this, &UIWizardCloneVDPageExpert::sltHandleOpenSourceDiskClick); 171 connect(m_pFormatButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 172 this, &UIWizardCloneVDPageExpert::sltMediumFormatChanged); 173 connect(m_pVariantButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 174 this, &UIWizardCloneVDPageExpert::completeChanged); 175 connect(m_pSplitBox, &QCheckBox::stateChanged, 176 this, &UIWizardCloneVDPageExpert::completeChanged); 177 connect(m_pDestinationDiskEditor, &QLineEdit::textChanged, 178 this, &UIWizardCloneVDPageExpert::completeChanged); 179 connect(m_pDestinationDiskOpenButton, &QIToolButton::clicked, 180 this, &UIWizardCloneVDPageExpert::sltSelectLocationButtonClicked); 174 181 175 182 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp
r69500 r70805 72 72 73 73 /* Setup connections: */ 74 connect(m_pNameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));74 connect(m_pNameEditor, &QLineEdit::textChanged, this, &UIWizardCloneVMPageBasic1::completeChanged); 75 75 76 76 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageBasic2.cpp
r69500 r70805 71 71 72 72 /* Setup connections: */ 73 connect(m_pButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SLOT(sltButtonClicked(QAbstractButton *))); 73 connect(m_pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), 74 this, &UIWizardCloneVMPageBasic2::sltButtonClicked); 74 75 75 76 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp
r69726 r70805 101 101 102 102 /* Setup connections: */ 103 connect(m_pNameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged())); 104 connect(m_pButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SLOT(sltButtonClicked(QAbstractButton *))); 103 connect(m_pNameEditor, &QLineEdit::textChanged, 104 this, &UIWizardCloneVMPageExpert::completeChanged); 105 connect(m_pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 106 this, &UIWizardCloneVMPageExpert::sltButtonClicked); 105 107 106 108 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic1.cpp
r69500 r70805 131 131 132 132 /* Setup connections: */ 133 connect(m_pVMSelector, SIGNAL(itemSelectionChanged()), this, SIGNAL(completeChanged()));133 connect(m_pVMSelector, &QListWidget::itemSelectionChanged, this, &UIWizardExportAppPageBasic1::completeChanged); 134 134 135 135 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r69500 r70805 96 96 97 97 /* Setup connections: */ 98 connect(m_pTypeLocalFilesystem, SIGNAL(clicked()), this, SIGNAL(completeChanged()));99 connect(m_pTypeSunCloud, SIGNAL(clicked()), this, SIGNAL(completeChanged()));100 connect(m_pTypeSimpleStorageSystem, SIGNAL(clicked()), this, SIGNAL(completeChanged()));98 connect(m_pTypeLocalFilesystem, &QRadioButton::clicked, this, &UIWizardExportAppPageBasic2::completeChanged); 99 connect(m_pTypeSunCloud, &QRadioButton::clicked, this, &UIWizardExportAppPageBasic2::completeChanged); 100 connect(m_pTypeSimpleStorageSystem, &QRadioButton::clicked, this, &UIWizardExportAppPageBasic2::completeChanged); 101 101 102 102 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r68418 r70805 312 312 313 313 /* Setup connections: */ 314 connect(m_pUsernameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));315 connect(m_pPasswordEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));316 connect(m_pHostnameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));317 connect(m_pBucketEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));318 connect(m_pFileSelector, SIGNAL(pathChanged(const QString &)), this, SIGNAL(completeChanged()));314 connect(m_pUsernameEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageBasic3::completeChanged); 315 connect(m_pPasswordEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageBasic3::completeChanged); 316 connect(m_pHostnameEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageBasic3::completeChanged); 317 connect(m_pBucketEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageBasic3::completeChanged); 318 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, this, &UIWizardExportAppPageBasic3::completeChanged); 319 319 320 320 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r69726 r70805 171 171 172 172 /* Setup connections: */ 173 connect(m_pVMSelector, SIGNAL(itemSelectionChanged()), this, SLOT(sltVMSelectionChangeHandler()));174 connect(m_pTypeLocalFilesystem, SIGNAL(clicked()), this, SLOT(sltStorageTypeChangeHandler()));175 connect(m_pTypeSunCloud, SIGNAL(clicked()), this, SLOT(sltStorageTypeChangeHandler()));176 connect(m_pTypeSimpleStorageSystem, SIGNAL(clicked()), this, SLOT(sltStorageTypeChangeHandler()));177 connect(m_pUsernameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));178 connect(m_pPasswordEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));179 connect(m_pHostnameEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));180 connect(m_pBucketEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));181 connect(m_pFileSelector, SIGNAL(pathChanged(const QString &)), this, SIGNAL(completeChanged()));173 connect(m_pVMSelector, &QListWidget::itemSelectionChanged, this, &UIWizardExportAppPageExpert::sltVMSelectionChangeHandler); 174 connect(m_pTypeLocalFilesystem, &QRadioButton::clicked, this, &UIWizardExportAppPageExpert::sltStorageTypeChangeHandler); 175 connect(m_pTypeSunCloud, &QRadioButton::clicked, this, &UIWizardExportAppPageExpert::sltStorageTypeChangeHandler); 176 connect(m_pTypeSimpleStorageSystem, &QRadioButton::clicked, this, &UIWizardExportAppPageExpert::sltStorageTypeChangeHandler); 177 connect(m_pUsernameEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageExpert::completeChanged); 178 connect(m_pPasswordEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageExpert::completeChanged); 179 connect(m_pHostnameEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageExpert::completeChanged); 180 connect(m_pBucketEditor, &QLineEdit::textChanged, this, &UIWizardExportAppPageExpert::completeChanged); 181 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, this, &UIWizardExportAppPageExpert::completeChanged); 182 182 183 183 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
r69726 r70805 91 91 92 92 /* Setup connections: */ 93 connect(m_pMediaSelector, SIGNAL(currentIndexChanged(int)), this, SIGNAL(completeChanged())); 94 connect(m_pSelectMediaButton, SIGNAL(clicked()), this, SLOT(sltOpenMediumWithFileOpenDialog())); 93 connect(m_pMediaSelector, static_cast<void(VBoxMediaComboBox::*)(int)>(&VBoxMediaComboBox::currentIndexChanged), 94 this, &UIWizardFirstRunPageBasic::completeChanged); 95 connect(m_pSelectMediaButton, &QIToolButton::clicked, 96 this, &UIWizardFirstRunPageBasic::sltOpenMediumWithFileOpenDialog); 95 97 96 98 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportApp.cpp
r69500 r70805 74 74 75 75 /* Setup connections: */ 76 connect(m_pButtonBox, SIGNAL(rejected()), this, SLOT(reject()));77 connect(m_pButtonBox, SIGNAL(accepted()), this, SLOT(accept()));78 connect(m_pPrintButton, SIGNAL(clicked()), this, SLOT(sltPrint()));79 connect(m_pSaveButton, SIGNAL(clicked()), this, SLOT(sltSave()));76 connect(m_pButtonBox, &QDialogButtonBox::rejected, this, &UIImportLicenseViewer::reject); 77 connect(m_pButtonBox, &QDialogButtonBox::accepted, this, &UIImportLicenseViewer::accept); 78 connect(m_pPrintButton, &QPushButton::clicked, this, &UIImportLicenseViewer::sltPrint); 79 connect(m_pSaveButton, &QPushButton::clicked, this, &UIImportLicenseViewer::sltSave); 80 80 } 81 81 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp
r69500 r70805 58 58 59 59 /* Setup connections: */ 60 connect(m_pFileSelector, SIGNAL(pathChanged(const QString&)), this, SIGNAL(completeChanged()));60 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, this, &UIWizardImportAppPageBasic1::completeChanged); 61 61 } 62 62 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp
r69500 r70805 247 247 pButtonBox->button(QDialogButtonBox::Yes)->setShortcut(Qt::Key_Enter); 248 248 //pButtonBox->button(QDialogButtonBox::No)->setShortcut(Qt::Key_Esc); 249 connect(pButtonBox, SIGNAL(accepted()), this, SLOT(accept()));250 connect(pButtonBox, SIGNAL(rejected()), this, SLOT(reject()));249 connect(pButtonBox, &QIDialogButtonBox::accepted, this, &UIApplianceUnverifiedCertificateViewer::accept); 250 connect(pButtonBox, &QIDialogButtonBox::rejected, this, &UIApplianceUnverifiedCertificateViewer::reject); 251 251 /* Add button-box into layout: */ 252 252 pLayout->addWidget(pButtonBox); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r69726 r70805 73 73 74 74 /* Setup connections: */ 75 connect(m_pFileSelector, SIGNAL(pathChanged(const QString&)), this, SLOT(sltFilePathChangeHandler()));75 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, this, &UIWizardImportAppPageExpert::sltFilePathChangeHandler); 76 76 77 77 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic1.cpp
r69500 r70805 141 141 142 142 /* Setup connections: */ 143 connect(m_pFormatButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 143 connect(m_pFormatButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 144 this, &UIWizardNewVDPageBasic1::completeChanged); 144 145 145 146 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic2.cpp
r69500 r70805 114 114 115 115 /* Setup connections: */ 116 connect(m_pVariantButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 117 connect(m_pSplitBox, SIGNAL(stateChanged(int)), this, SIGNAL(completeChanged())); 116 connect(m_pVariantButtonGroup,static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 117 this, &UIWizardNewVDPageBasic2::completeChanged); 118 connect(m_pSplitBox, &QCheckBox::stateChanged, 119 this, &UIWizardNewVDPageBasic2::completeChanged); 118 120 119 121 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic3.cpp
r69500 r70805 203 203 204 204 /* Setup connections: */ 205 connect(m_pLocationEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged()));206 connect(m_pLocationOpenButton, SIGNAL(clicked()), this, SLOT(sltSelectLocationButtonClicked()));205 connect(m_pLocationEditor, &QLineEdit::textChanged, this, &UIWizardNewVDPageBasic3::completeChanged); 206 connect(m_pLocationOpenButton, &QIToolButton::clicked, this, &UIWizardNewVDPageBasic3::sltSelectLocationButtonClicked); 207 207 connect(m_pEditorSize, &UIMediumSizeEditor::sigSizeChanged, this, &UIWizardNewVDPageBasic3::completeChanged); 208 208 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageExpert.cpp
r69726 r70805 159 159 160 160 /* Setup connections: */ 161 connect(m_pFormatButtonGroup, SIGNAL(buttonClicked(QAbstractButton*)), this, SLOT(sltMediumFormatChanged())); 162 connect(m_pVariantButtonGroup, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(completeChanged())); 163 connect(m_pSplitBox, SIGNAL(stateChanged(int)), this, SIGNAL(completeChanged())); 164 connect(m_pLocationEditor, SIGNAL(textChanged(const QString &)), this, SIGNAL(completeChanged())); 165 connect(m_pLocationOpenButton, SIGNAL(clicked()), this, SLOT(sltSelectLocationButtonClicked())); 166 connect(m_pEditorSize, &UIMediumSizeEditor::sigSizeChanged, this, &UIWizardNewVDPageExpert::completeChanged); 161 connect(m_pFormatButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 162 this, &UIWizardNewVDPageExpert::sltMediumFormatChanged); 163 connect(m_pVariantButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked), 164 this, &UIWizardNewVDPageExpert::completeChanged); 165 connect(m_pSplitBox, &QCheckBox::stateChanged, 166 this, &UIWizardNewVDPageExpert::completeChanged); 167 connect(m_pLocationEditor, &QLineEdit::textChanged, 168 this, &UIWizardNewVDPageExpert::completeChanged); 169 connect(m_pLocationOpenButton, &QIToolButton::clicked, 170 this, &UIWizardNewVDPageExpert::sltSelectLocationButtonClicked); 171 connect(m_pEditorSize, &UIMediumSizeEditor::sigSizeChanged, 172 this, &UIWizardNewVDPageExpert::completeChanged); 167 173 168 174 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.cpp
r69500 r70805 102 102 103 103 /* Setup connections: */ 104 connect(m_pRamSlider, SIGNAL(valueChanged(int)), this, SLOT(sltRamSliderValueChanged())); 105 connect(m_pRamEditor, SIGNAL(valueChanged(int)), this, SLOT(sltRamEditorValueChanged())); 104 connect(m_pRamSlider, &VBoxGuestRAMSlider::valueChanged, 105 this, &UIWizardNewVMPageBasic2::sltRamSliderValueChanged); 106 connect(m_pRamEditor, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), 107 this, &UIWizardNewVMPageBasic2::sltRamEditorValueChanged); 106 108 107 109 /* Register fields: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic3.cpp
r69500 r70805 168 168 169 169 /* Setup connections: */ 170 connect(m_pDiskSkip, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 171 connect(m_pDiskCreate, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 172 connect(m_pDiskPresent, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 173 connect(m_pDiskSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(sltVirtualDiskSourceChanged())); 174 connect(m_pVMMButton, SIGNAL(clicked()), this, SLOT(sltGetWithFileOpenDialog())); 170 connect(m_pDiskSkip, &QRadioButton::toggled, 171 this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged); 172 connect(m_pDiskCreate, &QRadioButton::toggled, 173 this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged); 174 connect(m_pDiskPresent, &QRadioButton::toggled, 175 this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged); 176 connect(m_pDiskSelector, static_cast<void(VBoxMediaComboBox::*)(int)>(&VBoxMediaComboBox::currentIndexChanged), 177 this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged); 178 connect(m_pVMMButton, &QIToolButton::clicked, 179 this, &UIWizardNewVMPageBasic3::sltGetWithFileOpenDialog); 175 180 176 181 /* Register classes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r69726 r70805 136 136 137 137 /* Setup connections: */ 138 connect(m_pNameAndSystemEditor, SIGNAL(sigNameChanged(const QString &)), this, SLOT(sltNameChanged(const QString &))); 139 connect(m_pNameAndSystemEditor, SIGNAL(sigOsTypeChanged()), this, SLOT(sltOsTypeChanged())); 140 connect(m_pRamSlider, SIGNAL(valueChanged(int)), this, SLOT(sltRamSliderValueChanged())); 141 connect(m_pRamEditor, SIGNAL(valueChanged(int)), this, SLOT(sltRamEditorValueChanged())); 142 connect(m_pDiskSkip, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 143 connect(m_pDiskCreate, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 144 connect(m_pDiskPresent, SIGNAL(toggled(bool)), this, SLOT(sltVirtualDiskSourceChanged())); 145 connect(m_pDiskSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(sltVirtualDiskSourceChanged())); 146 connect(m_pVMMButton, SIGNAL(clicked()), this, SLOT(sltGetWithFileOpenDialog())); 138 connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigNameChanged, 139 this, &UIWizardNewVMPageExpert::sltNameChanged); 140 connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigOsTypeChanged, 141 this, &UIWizardNewVMPageExpert::sltOsTypeChanged); 142 connect(m_pRamSlider, &VBoxGuestRAMSlider::valueChanged, 143 this, &UIWizardNewVMPageExpert::sltRamSliderValueChanged); 144 connect(m_pRamEditor, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), 145 this, &UIWizardNewVMPageExpert::sltRamEditorValueChanged); 146 connect(m_pDiskSkip, &QRadioButton::toggled, 147 this, &UIWizardNewVMPageExpert::sltVirtualDiskSourceChanged); 148 connect(m_pDiskCreate, &QRadioButton::toggled, 149 this, &UIWizardNewVMPageExpert::sltVirtualDiskSourceChanged); 150 connect(m_pDiskPresent, &QRadioButton::toggled, 151 this, &UIWizardNewVMPageExpert::sltVirtualDiskSourceChanged); 152 connect(m_pDiskSelector, static_cast<void(VBoxMediaComboBox::*)(int)>(&VBoxMediaComboBox::currentIndexChanged), 153 this, &UIWizardNewVMPageExpert::sltVirtualDiskSourceChanged); 154 connect(m_pVMMButton, &QIToolButton::clicked, 155 this, &UIWizardNewVMPageExpert::sltGetWithFileOpenDialog); 147 156 148 157 /* Register classes: */
Note:
See TracChangeset
for help on using the changeset viewer.