- Timestamp:
- Oct 23, 2023 11:36:38 PM (12 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 53 edited
-
extensions/QIComboBox.cpp (modified) (1 diff)
-
helpbrowser/UIHelpBrowserWidget.cpp (modified) (2 diffs)
-
logviewer/UIVMLogViewerBookmarksWidget.cpp (modified) (1 diff)
-
logviewer/UIVMLogViewerFilterWidget.cpp (modified) (1 diff)
-
logviewer/UIVMLogViewerPreferencesWidget.cpp (modified) (1 diff)
-
manager/UIVirtualBoxManagerWidget.cpp (modified) (1 diff)
-
medium/UIMediumDetailsWidget.cpp (modified) (12 diffs)
-
medium/UIMediumSearchWidget.cpp (modified) (1 diff)
-
networkmanager/UIDetailsWidgetCloudNetwork.cpp (modified) (6 diffs)
-
runtime/UIIndicatorsPool.cpp (modified) (2 diffs)
-
runtime/UIVMCloseDialog.cpp (modified) (1 diff)
-
settings/UISettingsSelector.cpp (modified) (2 diffs)
-
settings/UISettingsSelector.h (modified) (1 diff)
-
settings/editors/UIBaseMemoryEditor.cpp (modified) (1 diff)
-
settings/editors/UIChipsetEditor.cpp (modified) (1 diff)
-
settings/editors/UIDiskEncryptionSettingsEditor.cpp (modified) (1 diff)
-
settings/editors/UIExecutionCapEditor.cpp (modified) (1 diff)
-
settings/editors/UIFontScaleEditor.cpp (modified) (2 diffs)
-
settings/editors/UIGraphicsControllerEditor.cpp (modified) (1 diff)
-
settings/editors/UIMaximumGuestScreenSizeEditor.cpp (modified) (1 diff)
-
settings/editors/UIMonitorCountEditor.cpp (modified) (1 diff)
-
settings/editors/UINameAndSystemEditor.cpp (modified) (1 diff)
-
settings/editors/UINetworkAttachmentEditor.cpp (modified) (2 diffs)
-
settings/editors/UIPointingHIDEditor.cpp (modified) (1 diff)
-
settings/editors/UIProxyFeaturesEditor.cpp (modified) (1 diff)
-
settings/editors/UIRecordingSettingsEditor.cpp (modified) (1 diff)
-
settings/editors/UIScaleFactorEditor.cpp (modified) (3 diffs)
-
settings/editors/UISerialSettingsEditor.cpp (modified) (2 diffs)
-
settings/editors/UISharedFolderDetailsEditor.cpp (modified) (1 diff)
-
settings/editors/UIStorageSettingsEditor.cpp (modified) (1 diff)
-
settings/editors/UITpmEditor.cpp (modified) (1 diff)
-
settings/editors/UIUSBControllerEditor.cpp (modified) (1 diff)
-
settings/editors/UIUpdateSettingsEditor.cpp (modified) (1 diff)
-
settings/editors/UIVideoMemoryEditor.cpp (modified) (1 diff)
-
settings/editors/UIVirtualCPUEditor.cpp (modified) (1 diff)
-
softkeyboard/UISoftKeyboard.cpp (modified) (1 diff)
-
widgets/UIFilePathSelector.cpp (modified) (1 diff)
-
widgets/UIFormEditorWidget.cpp (modified) (1 diff)
-
widgets/UIGuestOSTypeSelectionButton.cpp (modified) (2 diffs)
-
widgets/UIMediaComboBox.cpp (modified) (1 diff)
-
wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp (modified) (1 diff)
-
wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp (modified) (1 diff)
-
wizards/editors/UIWizardCloneVMEditors.cpp (modified) (3 diffs)
-
wizards/editors/UIWizardDiskEditors.cpp (modified) (2 diffs)
-
wizards/exportappliance/UIWizardExportAppPageExpert.cpp (modified) (2 diffs)
-
wizards/exportappliance/UIWizardExportAppPageFormat.cpp (modified) (2 diffs)
-
wizards/importappliance/UIWizardImportAppPageExpert.cpp (modified) (2 diffs)
-
wizards/importappliance/UIWizardImportAppPageSettings.cpp (modified) (1 diff)
-
wizards/importappliance/UIWizardImportAppPageSource.cpp (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp (modified) (1 diff)
-
wizards/newvm/UIWizardNewVMDiskPage.cpp (modified) (1 diff)
-
wizards/newvm/UIWizardNewVMExpertPage.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIComboBox.cpp
r98103 r101563 406 406 /* Configure combo-box: */ 407 407 setFocusProxy(m_pComboBox); 408 connect(m_pComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated), 409 this, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated)); 410 #ifdef VBOX_IS_QT6_OR_LATER /* textActivated was added in 5.14 actually */ 411 connect(m_pComboBox, &QComboBox::textActivated, 412 this, &QIComboBox::textActivated); 413 #else 414 connect(m_pComboBox, static_cast<void(QComboBox::*)(const QString &)>(&QComboBox::activated), 415 this, static_cast<void(QIComboBox::*)(const QString &)>(&QIComboBox::textActivated)); 416 #endif 417 connect(m_pComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), 418 this, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged)); 408 connect(m_pComboBox, &QComboBox::activated, this, &QIComboBox::activated); 409 connect(m_pComboBox, &QComboBox::textActivated, this, &QIComboBox::textActivated); 410 connect(m_pComboBox, &QComboBox::currentIndexChanged, this, &QIComboBox::currentIndexChanged); 419 411 connect(m_pComboBox, &QComboBox::currentTextChanged, this, &QIComboBox::currentTextChanged); 420 412 connect(m_pComboBox, &QComboBox::editTextChanged, this, &QIComboBox::editTextChanged); 421 #ifdef VBOX_IS_QT6_OR_LATER /* textHighlighted was added in 5.14 actually */ 422 connect(m_pComboBox, &QComboBox::textHighlighted, 423 this, &QIComboBox::textHighlighted); 424 #else 425 connect(m_pComboBox, static_cast<void(QComboBox::*)(const QString &)>(&QComboBox::highlighted), 426 this, static_cast<void(QIComboBox::*)(const QString &)>(&QIComboBox::textHighlighted)); 427 #endif 413 connect(m_pComboBox, &QComboBox::textHighlighted, this, &QIComboBox::textHighlighted); 428 414 /* Add combo-box into layout: */ 429 415 pLayout->addWidget(m_pComboBox); -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp
r101561 r101563 704 704 connect(m_pContentViewer, &UIHelpViewer::sigAddBookmark, 705 705 this, &UIHelpBrowserTab::sltAddBookmarkAction); 706 connect(m_pContentViewer, static_cast<void(UIHelpViewer::*)(const QUrl&)>(&UIHelpViewer::highlighted),706 connect(m_pContentViewer, &UIHelpViewer::highlighted, 707 707 this, &UIHelpBrowserTab::sigLinkHighlighted); 708 708 connect(m_pContentViewer, &UIHelpViewer::copyAvailable, … … 765 765 m_pAddressBar = new QComboBox(); 766 766 m_pAddressBar->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); 767 connect(m_pAddressBar, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),767 connect(m_pAddressBar, &QComboBox::currentIndexChanged, 768 768 this, &UIHelpBrowserTab::sltAddressBarIndexChanged); 769 770 769 771 770 QHBoxLayout *pTopLayout = new QHBoxLayout; -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerBookmarksWidget.cpp
r101018 r101563 184 184 void UIVMLogViewerBookmarksWidget::prepareConnections() 185 185 { 186 connect(m_pBookmarksComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), 187 this, &UIVMLogViewerBookmarksWidget::sltBookmarkSelected); 186 connect(m_pBookmarksComboBox, &QComboBox::currentIndexChanged, this, &UIVMLogViewerBookmarksWidget::sltBookmarkSelected); 188 187 189 188 connect(m_pGotoSelectedBookmark, &QIToolButton::clicked, this, &UIVMLogViewerBookmarksWidget::sltGotoSelectedBookmark); -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerFilterWidget.cpp
r100963 r101563 557 557 void UIVMLogViewerFilterWidget::prepareConnections() 558 558 { 559 connect(m_pAddFilterTermButton, &QIToolButton::clicked, this, &UIVMLogViewerFilterWidget::sltAddFilterTerm); 560 connect(m_pButtonGroup, static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), 559 connect(m_pAddFilterTermButton, &QIToolButton::clicked, 560 this, &UIVMLogViewerFilterWidget::sltAddFilterTerm); 561 connect(m_pButtonGroup, &QButtonGroup::buttonClicked, 561 562 this, &UIVMLogViewerFilterWidget::sltOperatorButtonChanged); 562 connect(m_pFilterComboBox, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged),563 connect(m_pFilterComboBox, &QComboBox::currentIndexChanged, 563 564 this, &UIVMLogViewerFilterWidget::sltAddFilterTerm); 564 565 connect(m_pFilterTermsLineEdit, &UIVMFilterLineEdit::sigFilterTermRemoved, -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerPreferencesWidget.cpp
r101026 r101563 162 162 connect(m_pWrapLinesCheckBox, &QCheckBox::toggled, this, &UIVMLogViewerPreferencesWidget::sigWrapLines); 163 163 if (m_pFontSizeSpinBox) 164 connect(m_pFontSizeSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), 165 this, &UIVMLogViewerPreferencesWidget::sigChangeFontSizeInPoints); 164 connect(m_pFontSizeSpinBox, &QSpinBox::valueChanged, this, &UIVMLogViewerPreferencesWidget::sigChangeFontSizeInPoints); 166 165 if (m_pOpenFontDialogButton) 167 166 connect(m_pOpenFontDialogButton, &QIToolButton::clicked, this, &UIVMLogViewerPreferencesWidget::sltOpenFontDialog); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r100943 r101563 1034 1034 // forget to update toolbar after changing its actions on Cocoa platform. 1035 1035 connect(actionPool()->action(UIActionIndexMN_M_Machine_S_New), &UIAction::changed, 1036 m_pToolBar, static_cast<void(QIToolBar::*)(void)>(&QIToolBar::update));1036 m_pToolBar, &QIToolBar::update); 1037 1037 connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings), &UIAction::changed, 1038 m_pToolBar, static_cast<void(QIToolBar::*)(void)>(&QIToolBar::update));1038 m_pToolBar, &QIToolBar::update); 1039 1039 connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard), &UIAction::changed, 1040 m_pToolBar, static_cast<void(QIToolBar::*)(void)>(&QIToolBar::update));1040 m_pToolBar, &QIToolBar::update); 1041 1041 connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow), &UIAction::changed, 1042 m_pToolBar, static_cast<void(QIToolBar::*)(void)>(&QIToolBar::update));1042 m_pToolBar, &QIToolBar::update); 1043 1043 1044 1044 // WORKAROUND: -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDetailsWidget.cpp
r98103 r101563 284 284 /* Configure label: */ 285 285 m_pLabelType->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 286 287 286 /* Add into layout: */ 288 287 pLayoutOptions->addWidget(m_pLabelType, 0, 0); … … 304 303 m_pComboBoxType->setSizeAdjustPolicy(QComboBox::AdjustToContents); 305 304 m_pComboBoxType->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); 306 connect(m_pComboBoxType, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),305 connect(m_pComboBoxType, &QComboBox::activated, 307 306 this, &UIMediumDetailsWidget::sltTypeIndexChanged); 308 309 307 /* Add into layout: */ 310 308 pLayoutType->addWidget(m_pComboBoxType); … … 322 320 m_pErrorPaneType->setPixmap(UIIconPool::iconSet(":/status_error_16px.png") 323 321 .pixmap(QSize(iIconMetric, iIconMetric))); 324 325 322 /* Add into layout: */ 326 323 pLayoutType->addWidget(m_pErrorPaneType); … … 337 334 /* Configure label: */ 338 335 m_pLabelLocation->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 339 340 336 /* Add into layout: */ 341 337 pLayoutOptions->addWidget(m_pLabelLocation, 1, 0); … … 358 354 connect(m_pEditorLocation, &QLineEdit::textChanged, 359 355 this, &UIMediumDetailsWidget::sltLocationPathChanged); 360 361 356 /* Add into layout: */ 362 357 pLayoutLocation->addWidget(m_pEditorLocation); … … 386 381 connect(m_pButtonLocation, &QIToolButton::clicked, 387 382 this, &UIMediumDetailsWidget::sltChooseLocationPath); 388 389 383 /* Add into layout: */ 390 384 pLayoutLocation->addWidget(m_pButtonLocation); … … 401 395 /* Configure label: */ 402 396 m_pLabelDescription->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 403 404 397 /* Add into layout: */ 405 398 pLayoutOptions->addWidget(m_pLabelDescription, 2, 0); … … 427 420 connect(m_pEditorDescription, &QTextEdit::textChanged, 428 421 this, &UIMediumDetailsWidget::sltDescriptionTextChanged); 429 430 422 /* Add into layout: */ 431 423 pLayoutDescription->addWidget(m_pEditorDescription, 0, 0, 2, 1); … … 441 433 m_pErrorPaneDescription->setPixmap(UIIconPool::iconSet(":/status_error_16px.png") 442 434 .pixmap(QSize(iIconMetric, iIconMetric))); 443 444 435 /* Add into layout: */ 445 436 pLayoutDescription->addWidget(m_pErrorPaneDescription, 0, 1, Qt::AlignCenter); … … 456 447 /* Configure label: */ 457 448 m_pLabelSize->setAlignment(Qt::AlignRight | Qt::AlignVCenter); 458 459 449 /* Add into layout: */ 460 450 pLayoutOptions->addWidget(m_pLabelSize, 4, 0); … … 484 474 connect(m_pEditorSize, &UIMediumSizeEditor::sigSizeChanged, 485 475 this, &UIMediumDetailsWidget::sltSizeValueChanged); 486 487 476 /* Add into layout: */ 488 477 pLayoutSize->addWidget(m_pEditorSize, 0, 0, 2, 1); … … 498 487 m_pErrorPaneSize->setPixmap(UIIconPool::iconSet(":/status_error_16px.png") 499 488 .pixmap(QSize(iIconMetric, iIconMetric))); 500 501 489 /* Add into layout: */ 502 490 pLayoutSize->addWidget(m_pErrorPaneSize, 0, 1, Qt::AlignCenter); -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSearchWidget.cpp
r100795 r101563 128 128 m_pSearchComboxBox->insertItem(SearchByName, "Search By Name"); 129 129 m_pSearchComboxBox->insertItem(SearchByUUID, "Search By UUID"); 130 connect(m_pSearchComboxBox, &QComboBox::currentIndexChanged, 131 this, &UIMediumSearchWidget::sigPerformSearch); 130 132 pLayout->addWidget(m_pSearchComboxBox); 131 132 connect(m_pSearchComboxBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),133 this, &UIMediumSearchWidget::sigPerformSearch);134 135 133 } 136 134 -
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UIDetailsWidgetCloudNetwork.cpp
r98103 r101563 395 395 connect(m_pEditorNetworkName, &QLineEdit::textEdited, 396 396 this, &UIDetailsWidgetCloudNetwork::sltNetworkNameChanged); 397 398 397 pLayout->addWidget(m_pEditorNetworkName, 0, 1, 1, 2); 399 398 } … … 412 411 if (m_pLabelProviderName) 413 412 m_pLabelProviderName->setBuddy(m_pComboProviderName); 414 connect(m_pComboProviderName, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),413 connect(m_pComboProviderName, &QComboBox::currentIndexChanged, 415 414 this, &UIDetailsWidgetCloudNetwork::sltCloudProviderNameChanged); 416 417 415 pLayout->addWidget(m_pComboProviderName, 1, 1, 1, 2); 418 416 } … … 431 429 if (m_pLabelProfileName) 432 430 m_pLabelProfileName->setBuddy(m_pComboProfileName); 433 connect(m_pComboProfileName, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),431 connect(m_pComboProfileName, &QComboBox::currentIndexChanged, 434 432 this, &UIDetailsWidgetCloudNetwork::sltCloudProfileNameChanged); 435 436 433 pLayout->addWidget(m_pComboProfileName, 2, 1, 1, 2); 437 434 } … … 452 449 connect(m_pEditorNetworkId, &QLineEdit::textChanged, 453 450 this, &UIDetailsWidgetCloudNetwork::sltNetworkIdChanged); 454 455 451 pLayout->addWidget(m_pEditorNetworkId, 3, 1); 456 452 } … … 462 458 connect(m_pButtonNetworkId, &QIToolButton::clicked, 463 459 this, &UIDetailsWidgetCloudNetwork::sltNetworkIdListRequested); 464 465 460 pLayout->addWidget(m_pButtonNetworkId, 3, 2); 466 461 } … … 475 470 m_pButtonBoxOptions->setStandardButtons(QDialogButtonBox::Cancel | QDialogButtonBox::Ok); 476 471 connect(m_pButtonBoxOptions, &QIDialogButtonBox::clicked, this, &UIDetailsWidgetCloudNetwork::sltHandleButtonBoxClick); 477 478 472 pLayout->addWidget(m_pButtonBoxOptions, 4, 0, 1, 2); 479 473 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r101385 r101563 877 877 /* Configure connection: */ 878 878 connect(m_pMachine, &UIMachine::sigMouseStateChange, 879 this, static_cast<void(UIIndicatorMouse::*)(int)>(&UIIndicatorMouse::setState)); 879 this, static_cast<void(UIIndicatorMouse::*)(int)>(&UIIndicatorMouse::setState)); // us to blame .. 880 880 /* Translate finally: */ 881 881 retranslateUi(); … … 956 956 /* Configure connection: */ 957 957 connect(m_pMachine, &UIMachine::sigKeyboardStateChange, 958 this, static_cast<void(UIIndicatorKeyboard::*)(int)>(&UIIndicatorKeyboard::setState)); 958 this, static_cast<void(UIIndicatorKeyboard::*)(int)>(&UIIndicatorKeyboard::setState)); // us to blame .. 959 959 /* Translate finally: */ 960 960 retranslateUi(); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIVMCloseDialog.cpp
r101560 r101563 416 416 QButtonGroup *pButtonGroup = new QButtonGroup(this); 417 417 if (pButtonGroup) 418 { 419 connect(pButtonGroup, static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), 418 connect(pButtonGroup, &QButtonGroup::buttonClicked, 420 419 this, &UIVMCloseDialog::sltUpdateWidgetAvailability); 421 }422 420 423 421 /* Create 'detach' icon label: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.cpp
r101558 r101563 1418 1418 } 1419 1419 1420 void UISettingsSelectorToolBar::sltSettingsGroupChanged(int iIndex)1421 {1422 const UISelectorActionItem *pItem = findActionItemByTabWidget(qobject_cast<QTabWidget*>(sender()), iIndex);1423 if (pItem)1424 {1425 if (pItem->page() &&1426 !pItem->tabWidget())1427 emit sigCategoryChanged(pItem->id());1428 else1429 {1430 const UISelectorActionItem *pChild = static_cast<UISelectorActionItem*>(1431 findItemByPage(static_cast<UISettingsPage*>(pItem->tabWidget()->currentWidget())));1432 if (pChild)1433 emit sigCategoryChanged(pChild->id());1434 }1435 }1436 }1437 1438 1420 void UISettingsSelectorToolBar::prepare() 1439 1421 { … … 1458 1440 m_pActionGroup->setExclusive(true); 1459 1441 connect(m_pActionGroup, &QActionGroup::triggered, 1460 this, static_cast<void(UISettingsSelectorToolBar::*)(QAction*)>(&UISettingsSelectorToolBar::sltSettingsGroupChanged));1442 this, &UISettingsSelectorToolBar::sltSettingsGroupChanged); 1461 1443 } 1462 1444 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSelector.h
r101417 r101563 312 312 /** Handles selector section change to @a pAction. */ 313 313 void sltSettingsGroupChanged(QAction *pAction); 314 /** Handles selector section change to @a iIndex. */315 void sltSettingsGroupChanged(int iIndex);316 314 317 315 private: -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIBaseMemoryEditor.cpp
r101498 r101563 421 421 m_pSpinBox->setMinimum(m_pSlider->minRAM()); 422 422 m_pSpinBox->setMaximum(m_pSlider->maxRAM()); 423 connect(m_pSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),423 connect(m_pSpinBox, &QSpinBox::valueChanged, 424 424 this, &UIBaseMemoryEditor::sltHandleSpinBoxChange); 425 425 m_pLayout->addWidget(m_pSpinBox, 0, 2); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIChipsetEditor.cpp
r101035 r101563 122 122 if (m_pLabel) 123 123 m_pLabel->setBuddy(m_pCombo); 124 connect(m_pCombo, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),124 connect(m_pCombo, &QComboBox::currentIndexChanged, 125 125 this, &UIChipsetEditor::sigValueChanged); 126 126 pComboLayout->addWidget(m_pCombo); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIDiskEncryptionSettingsEditor.cpp
r101011 r101563 250 250 this, &UIDiskEncryptionSettingsEditor::sltHandleFeatureToggled); 251 251 if (m_pComboCipherType) 252 connect(m_pComboCipherType, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),252 connect(m_pComboCipherType, &QComboBox::currentIndexChanged, 253 253 this, &UIDiskEncryptionSettingsEditor::sigCipherChanged); 254 254 if (m_pEditorPassword1) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIExecutionCapEditor.cpp
r101011 r101563 211 211 m_pSpinBox->setMaximum(m_uMaxExecCap); 212 212 uiCommon().setMinimumWidthAccordingSymbolCount(m_pSpinBox, 4); 213 connect(m_pSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),213 connect(m_pSpinBox, &QSpinBox::valueChanged, 214 214 this, &UIExecutionCapEditor::sltHandleSpinBoxChange); 215 215 m_pLayout->addWidget(m_pSpinBox, 0, 2); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIFontScaleEditor.cpp
r101454 r101563 159 159 m_pLabel->setBuddy(m_pScaleSlider); 160 160 m_pScaleSlider->setSnappingEnabled(true); 161 connect(m_pScaleSlider, static_cast<void(QIAdvancedSlider::*)(int)>(&QIAdvancedSlider::valueChanged),161 connect(m_pScaleSlider, &QIAdvancedSlider::valueChanged, 162 162 this, &UIFontScaleEditor::sltScaleSliderValueChanged); 163 164 163 m_pLayout->addWidget(m_pScaleSlider, 0, 1, 1, 4); 165 164 } … … 170 169 setFocusProxy(m_pScaleSpinBox); 171 170 m_pScaleSpinBox->setSuffix("%"); 172 connect(m_pScaleSpinBox ,static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),171 connect(m_pScaleSpinBox, &QSpinBox::valueChanged, 173 172 this, &UIFontScaleEditor::sltScaleSpinBoxValueChanged); 174 173 m_pLayout->addWidget(m_pScaleSpinBox, 0, 5); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGraphicsControllerEditor.cpp
r101134 r101563 127 127 m_pLabel->setBuddy(m_pCombo); 128 128 m_pCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents); 129 connect(m_pCombo, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),129 connect(m_pCombo, &QComboBox::currentIndexChanged, 130 130 this, &UIGraphicsControllerEditor::sltHandleCurrentIndexChanged); 131 132 131 pLayoutCombo->addWidget(m_pCombo); 133 132 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp
r101011 r101563 199 199 if (m_pLabelPolicy) 200 200 m_pLabelPolicy->setBuddy(m_pComboPolicy); 201 connect(m_pComboPolicy, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),201 connect(m_pComboPolicy, &QComboBox::activated, 202 202 this, &UIMaximumGuestScreenSizeEditor::sltHandleCurrentPolicyIndexChanged); 203 203 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMonitorCountEditor.cpp
r101498 r101563 201 201 this, &UIMonitorCountEditor::sltHandleSliderChange); 202 202 if (m_pSpinBox) 203 connect(m_pSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),203 connect(m_pSpinBox, &QSpinBox::valueChanged, 204 204 this, &UIMonitorCountEditor::sltHandleSpinBoxChange); 205 205 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
r101519 r101563 679 679 this, &UINameAndSystemEditor::sigImageChanged); 680 680 if (m_pComboEdition) 681 connect(m_pComboEdition, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),681 connect(m_pComboEdition, &QComboBox::currentIndexChanged, 682 682 this, &UINameAndSystemEditor::sltSelectedEditionsChanged); 683 683 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkAttachmentEditor.cpp
r101498 r101563 304 304 if (m_pLabelType) 305 305 m_pLabelType->setBuddy(m_pComboType); 306 connect(m_pComboType, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),306 connect(m_pComboType, &QComboBox::currentIndexChanged, 307 307 this, &UINetworkAttachmentEditor::sltHandleCurrentTypeChanged); 308 308 pComboLayout->addWidget(m_pComboType); … … 328 328 m_pLabelName->setBuddy(m_pComboName); 329 329 m_pComboName->setInsertPolicy(QComboBox::NoInsert); 330 connect(m_pComboName, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),330 connect(m_pComboName, &QComboBox::currentIndexChanged, 331 331 this, &UINetworkAttachmentEditor::sltHandleCurrentNameChanged); 332 332 connect(m_pComboName, &QComboBox::editTextChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIPointingHIDEditor.cpp
r101498 r101563 121 121 if (m_pLabel) 122 122 m_pLabel->setBuddy(m_pCombo); 123 connect(m_pCombo, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),123 connect(m_pCombo, &QComboBox::currentIndexChanged, 124 124 this, &UIPointingHIDEditor::sigValueChanged); 125 125 pComboLayout->addWidget(m_pCombo); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIProxyFeaturesEditor.cpp
r101455 r101563 227 227 228 228 /* Prepare connections: */ 229 connect(m_pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked),229 connect(m_pButtonGroup, &QButtonGroup::buttonClicked, 230 230 this, &UIProxyFeaturesEditor::sltHandleProxyModeChanged); 231 231 connect(m_pEditorHost, &QILineEdit::textEdited, -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIRecordingSettingsEditor.cpp
r101011 r101563 817 817 connect(m_pCheckboxFeature, &QCheckBox::toggled, 818 818 this, &UIRecordingSettingsEditor::sltHandleFeatureToggled); 819 connect(m_pComboMode, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),819 connect(m_pComboMode, &QComboBox::currentIndexChanged, 820 820 this, &UIRecordingSettingsEditor::sltHandleModeComboChange); 821 connect(m_pComboFrameSize, static_cast<void(QComboBox::*)(int)>(&QComboBox:: currentIndexChanged),821 connect(m_pComboFrameSize, &QComboBox:: currentIndexChanged, 822 822 this, &UIRecordingSettingsEditor::sltHandleVideoFrameSizeComboChange); 823 connect(m_pSpinboxFrameWidth, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),823 connect(m_pSpinboxFrameWidth, &QSpinBox::valueChanged, 824 824 this, &UIRecordingSettingsEditor::sltHandleVideoFrameWidthChange); 825 connect(m_pSpinboxFrameHeight, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),825 connect(m_pSpinboxFrameHeight, &QSpinBox::valueChanged, 826 826 this, &UIRecordingSettingsEditor::sltHandleVideoFrameHeightChange); 827 827 connect(m_pSliderFrameRate, &QIAdvancedSlider::valueChanged, 828 828 this, &UIRecordingSettingsEditor::sltHandleVideoFrameRateSliderChange); 829 connect(m_pSpinboxFrameRate, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),829 connect(m_pSpinboxFrameRate, &QSpinBox::valueChanged, 830 830 this, &UIRecordingSettingsEditor::sltHandleVideoFrameRateSpinboxChange); 831 831 connect(m_pSliderVideoQuality, &QIAdvancedSlider::valueChanged, 832 832 this, &UIRecordingSettingsEditor::sltHandleVideoBitRateSliderChange); 833 connect(m_pSpinboxVideoQuality, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),833 connect(m_pSpinboxVideoQuality, &QSpinBox::valueChanged, 834 834 this, &UIRecordingSettingsEditor::sltHandleVideoBitRateSpinboxChange); 835 835 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIScaleFactorEditor.cpp
r101454 r101563 256 256 { 257 257 m_pMonitorComboBox->insertItem(0, "All Monitors"); 258 connect(m_pMonitorComboBox ,static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),258 connect(m_pMonitorComboBox, &QComboBox::currentIndexChanged, 259 259 this, &UIScaleFactorEditor::sltMonitorComboIndexChanged); 260 261 260 m_pLayout->addWidget(m_pMonitorComboBox, 0, 1); 262 261 } … … 270 269 m_pScaleSlider->setTickInterval(10); 271 270 m_pScaleSlider->setSnappingEnabled(true); 272 connect(m_pScaleSlider, static_cast<void(QIAdvancedSlider::*)(int)>(&QIAdvancedSlider::valueChanged),271 connect(m_pScaleSlider, &QIAdvancedSlider::valueChanged, 273 272 this, &UIScaleFactorEditor::sltScaleSliderValueChanged); 274 275 273 m_pLayout->addWidget(m_pScaleSlider, 0, 2, 1, 2); 276 274 } … … 281 279 setFocusProxy(m_pScaleSpinBox); 282 280 m_pScaleSpinBox->setSuffix("%"); 283 connect(m_pScaleSpinBox ,static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),281 connect(m_pScaleSpinBox, &QSpinBox::valueChanged, 284 282 this, &UIScaleFactorEditor::sltScaleSpinBoxValueChanged); 285 283 m_pLayout->addWidget(m_pScaleSpinBox, 0, 4); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISerialSettingsEditor.cpp
r101328 r101563 439 439 connect(m_pCheckBoxPort, &QCheckBox::toggled, 440 440 this, &UISerialSettingsEditor::sltHandlePortAvailabilityToggled); 441 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)442 441 if (m_pComboNumber) 443 connect(m_pComboNumber, static_cast<void(QComboBox::*)(const QString&)>(&QComboBox::textActivated),442 connect(m_pComboNumber, &QComboBox::textActivated, 444 443 this, &UISerialSettingsEditor::sltHandleStandardPortOptionActivated); 445 #else446 if (m_pComboNumber)447 connect(m_pComboNumber, static_cast<void(QComboBox::*)(const QString&)>(&QComboBox::activated),448 this, &UISerialSettingsEditor::sltHandleStandardPortOptionActivated);449 #endif450 444 if (m_pLineEditIRQ) 451 445 connect(m_pLineEditIRQ, &QLineEdit::textChanged, this, &UISerialSettingsEditor::sigPortIRQChanged); … … 453 447 connect(m_pLineEditIOAddress, &QLineEdit::textChanged, this, &UISerialSettingsEditor::sigPortIOAddressChanged); 454 448 if (m_pComboMode) 455 connect(m_pComboMode, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),449 connect(m_pComboMode, &QComboBox::activated, 456 450 this, &UISerialSettingsEditor::sltHandleModeChange); 457 451 if (m_pEditorPath) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UISharedFolderDetailsEditor.cpp
r100064 r101563 327 327 if (m_pSelectorPath) 328 328 { 329 connect(m_pSelectorPath, static_cast<void(UIFilePathSelector::*)(int)>(&UIFilePathSelector::currentIndexChanged),329 connect(m_pSelectorPath, &UIFilePathSelector::currentIndexChanged, 330 330 this, &UISharedFolderDetailsEditor::sltSelectPath); 331 331 connect(m_pSelectorPath, &UIFilePathSelector::pathChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.cpp
r101561 r101563 5001 5001 connect(m_pMediumIdHolder, &UIMediumIDHolder::sigChanged, 5002 5002 this, &UIStorageSettingsEditor::sltSetInformation); 5003 connect(m_pSpinboxPortCount, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),5003 connect(m_pSpinboxPortCount, &QSpinBox::valueChanged, 5004 5004 this, &UIStorageSettingsEditor::sltSetInformation); 5005 5005 connect(m_pEditorName, &QLineEdit::textEdited, 5006 5006 this, &UIStorageSettingsEditor::sltSetInformation); 5007 connect(m_pComboType, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),5007 connect(m_pComboType, &QComboBox::activated, 5008 5008 this, &UIStorageSettingsEditor::sltSetInformation); 5009 connect(m_pComboSlot, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),5009 connect(m_pComboSlot, &QComboBox::activated, 5010 5010 this, &UIStorageSettingsEditor::sltSetInformation); 5011 5011 connect(m_pCheckBoxIoCache, &QCheckBox::stateChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UITpmEditor.cpp
r101035 r101563 120 120 if (m_pLabel) 121 121 m_pLabel->setBuddy(m_pCombo); 122 connect(m_pCombo, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),122 connect(m_pCombo, &QComboBox::currentIndexChanged, 123 123 this, &UITpmEditor::sigValueChanged); 124 124 pComboLayout->addWidget(m_pCombo); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBControllerEditor.cpp
r101498 r101563 133 133 } 134 134 135 connect(pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*)>(&QButtonGroup::buttonClicked),135 connect(pButtonGroup, &QButtonGroup::buttonClicked, 136 136 this, &UIUSBControllerEditor::sigValueChanged); 137 137 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUpdateSettingsEditor.cpp
r101454 r101563 285 285 connect(m_pCheckBox, &QCheckBox::toggled, this, &UIUpdateSettingsEditor::sltHandleUpdateToggle); 286 286 if (m_pComboUpdatePeriod) 287 connect(m_pComboUpdatePeriod, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),287 connect(m_pComboUpdatePeriod, &QComboBox::activated, 288 288 this, &UIUpdateSettingsEditor::sltHandleUpdatePeriodChange); 289 289 } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVideoMemoryEditor.cpp
r101498 r101563 302 302 m_pSpinBox->setMinimum(m_iMinVRAM); 303 303 m_pSpinBox->setMaximum(m_iMaxVRAMVisible); 304 connect(m_pSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),304 connect(m_pSpinBox, &QSpinBox::valueChanged, 305 305 this, &UIVideoMemoryEditor::sltHandleSpinBoxChange); 306 306 m_pLayout->addWidget(m_pSpinBox, 0, 2); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIVirtualCPUEditor.cpp
r101498 r101563 215 215 m_pSpinBox->setMinimum(m_uMinVCPUCount); 216 216 m_pSpinBox->setMaximum(m_uMaxVCPUCount); 217 connect(m_pSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged),217 connect(m_pSpinBox, &QSpinBox::valueChanged, 218 218 this, &UIVirtualCPUEditor::sltHandleSpinBoxChange); 219 219 m_pLayout->addWidget(m_pSpinBox, 0, 2); -
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r101561 r101563 1245 1245 m_pEditorLayout->addWidget(m_pPhysicalLayoutLabel, 4, 0, 1, 1); 1246 1246 m_pEditorLayout->addWidget(m_pPhysicalLayoutCombo, 4, 1, 1, 1); 1247 connect(m_pPhysicalLayoutCombo, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), 1248 this, &UIKeyboardLayoutEditor::sltPhysicalLayoutChanged); 1247 connect(m_pPhysicalLayoutCombo, &QComboBox::currentIndexChanged, this, &UIKeyboardLayoutEditor::sltPhysicalLayoutChanged); 1249 1248 1250 1249 m_pSelectedKeyGroupBox = new QGroupBox; -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.cpp
r98103 r101563 111 111 112 112 /* Setup connections: */ 113 connect(this, static_cast<void(UIFilePathSelector::*)(int)>(&UIFilePathSelector::activated), this, &UIFilePathSelector::onActivated);113 connect(this, &UIFilePathSelector::activated, this, &UIFilePathSelector::onActivated); 114 114 connect(m_pCopyAction, &QAction::triggered, this, &UIFilePathSelector::copyToClipboard); 115 115 connect(&uiCommon(), &UICommon::sigRecentMediaListUpdated, this, &UIFilePathSelector::sltRecentMediaListUpdated); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFormEditorWidget.cpp
r100346 r101563 720 720 setProperty("has_sigCommitData", true); 721 721 /* Configure connections: */ 722 connect(this, static_cast<void(ChoiceEditor::*)(int)>(&ChoiceEditor::currentIndexChanged),722 connect(this, &ChoiceEditor::currentIndexChanged, 723 723 this, &ChoiceEditor::sltCurrentIndexChanged); 724 724 } -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIGuestOSTypeSelectionButton.cpp
r101519 r101563 55 55 m_pSignalMapper = new QSignalMapper(this); 56 56 if (m_pSignalMapper) 57 #if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) 58 connect(m_pSignalMapper, static_cast<void(QSignalMapper::*)(const QString &)>(&QSignalMapper::mappedString), 57 connect(m_pSignalMapper, &QSignalMapper::mappedString, 59 58 this, &UIGuestOSTypeSelectionButton::setOSTypeId); 60 #else61 connect(m_pSignalMapper, static_cast<void(QSignalMapper::*)(const QString &)>(&QSignalMapper::mapped),62 this, &UIGuestOSTypeSelectionButton::setOSTypeId);63 #endif64 59 65 60 /* Create main menu: */ … … 103 98 QAction *pAction = pMenu->addAction(generalIconPool().guestOSTypePixmapDefault(typeInfo.first), typeInfo.second); 104 99 connect(pAction, &QAction::triggered, 105 m_pSignalMapper, static_cast<void(QSignalMapper::*)(void)>(&QSignalMapper::map)); 100 m_pSignalMapper, static_cast<void(QSignalMapper::*)(void)>(&QSignalMapper::map)); // swallow bool argument .. 106 101 m_pSignalMapper->setMapping(pAction, typeInfo.first); 107 102 } -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMediaComboBox.cpp
r98103 r101563 230 230 231 231 /* Setup other connections: */ 232 connect(this, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::activated),232 connect(this, &UIMediaComboBox::activated, 233 233 this, &UIMediaComboBox::sltHandleComboActivated); 234 234 connect(view(), &QAbstractItemView::entered, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp
r98103 r101563 152 152 connect(m_pProviderComboBox, &QIComboBox::activated, 153 153 this, &UIWizardAddCloudVMPageExpert::sltHandleProviderComboChange); 154 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),154 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 155 155 this, &UIWizardAddCloudVMPageExpert::sltHandleProfileComboChange); 156 156 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp
r99284 r101563 401 401 connect(m_pProviderComboBox, &QIComboBox::activated, 402 402 this, &UIWizardAddCloudVMPageSource::sltHandleProviderComboChange); 403 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),403 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 404 404 this, &UIWizardAddCloudVMPageSource::sltHandleProfileComboChange); 405 405 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardCloneVMEditors.cpp
r100154 r101563 279 279 { 280 280 m_pContainerLayout->addWidget(m_pMACComboBox, 2, 1, 1, 1); 281 connect(m_pMACComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged),281 connect(m_pMACComboBox, &QComboBox::currentIndexChanged, 282 282 this, &UICloneVMAdditionalOptionsEditor::sltMACAddressClonePolicyChanged); 283 283 if (m_pMACComboBoxLabel) … … 482 482 } 483 483 484 connect(m_pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked),484 connect(m_pButtonGroup, &QButtonGroup::buttonClicked, 485 485 this, &UICloneVMCloneTypeGroupBox::sltButtonClicked); 486 486 … … 551 551 pMainLayout->addStretch(); 552 552 553 554 connect(pButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), 553 connect(pButtonGroup, &QButtonGroup::buttonClicked, 555 554 this, &UICloneVMCloneModeGroupBox::sltButtonClicked); 556 555 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardDiskEditors.cpp
r99207 r101563 635 635 636 636 setMediumFormat(m_formatList[0].m_comFormat); 637 connect(m_pFormatButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked),637 connect(m_pFormatButtonGroup, &QButtonGroup::buttonClicked, 638 638 this, &UIDiskFormatsGroupBox::sigMediumFormatChanged); 639 639 } … … 659 659 } 660 660 661 connect(this, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),661 connect(this, &QIComboBox::currentIndexChanged, 662 662 this, &UIDiskFormatsComboBox::sigMediumFormatChanged); 663 663 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r98103 r101563 411 411 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 412 412 this, &UIWizardExportAppPageExpert::sltHandleFileSelectorChange); 413 connect(m_pFormatComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),413 connect(m_pFormatComboBox, &QIComboBox::currentIndexChanged, 414 414 this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange); 415 connect(m_pMACComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),415 connect(m_pMACComboBox, &QIComboBox::currentIndexChanged, 416 416 this, &UIWizardExportAppPageExpert::sltHandleMACAddressExportPolicyComboChange); 417 417 connect(m_pManifestCheckbox, &QCheckBox::stateChanged, … … 419 419 connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged, 420 420 this, &UIWizardExportAppPageExpert::sltHandleIncludeISOsCheckBoxChange); 421 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),421 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 422 422 this, &UIWizardExportAppPageExpert::sltHandleProfileComboChange); 423 connect(m_pExportModeButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*, bool)>(&QButtonGroup::buttonToggled),423 connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled, 424 424 this, &UIWizardExportAppPageExpert::sltHandleRadioButtonToggled); 425 425 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.cpp
r99284 r101563 879 879 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 880 880 this, &UIWizardExportAppPageFormat::sltHandleFileSelectorChange); 881 connect(m_pFormatComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),881 connect(m_pFormatComboBox, &QIComboBox::currentIndexChanged, 882 882 this, &UIWizardExportAppPageFormat::sltHandleFormatComboChange); 883 connect(m_pMACComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),883 connect(m_pMACComboBox, &QIComboBox::currentIndexChanged, 884 884 this, &UIWizardExportAppPageFormat::sltHandleMACAddressExportPolicyComboChange); 885 885 connect(m_pManifestCheckbox, &QCheckBox::stateChanged, … … 887 887 connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged, 888 888 this, &UIWizardExportAppPageFormat::sltHandleIncludeISOsCheckBoxChange); 889 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),889 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 890 890 this, &UIWizardExportAppPageFormat::sltHandleProfileComboChange); 891 connect(m_pExportModeButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton*, bool)>(&QButtonGroup::buttonToggled),891 connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled, 892 892 this, &UIWizardExportAppPageFormat::sltHandleRadioButtonToggled); 893 893 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r98103 r101563 327 327 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 328 328 this, &UIWizardImportAppPageExpert::sltHandleImportedFileSelectorChange); 329 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),329 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 330 330 this, &UIWizardImportAppPageExpert::sltHandleProfileComboChange); 331 331 connect(m_pProfileToolButton, &QIToolButton::clicked, … … 335 335 connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged, 336 336 this, &UIWizardImportAppPageExpert::sltHandleImportPathEditorChange); 337 connect(m_pComboMACImportPolicy, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),337 connect(m_pComboMACImportPolicy, &QIComboBox::currentIndexChanged, 338 338 this, &UIWizardImportAppPageExpert::sltHandleMACImportPolicyComboChange); 339 339 connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSettings.cpp
r98103 r101563 436 436 connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged, 437 437 this, &UIWizardImportAppPageSettings::sltHandleImportPathEditorChange); 438 connect(m_pComboMACImportPolicy, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),438 connect(m_pComboMACImportPolicy, &QIComboBox::currentIndexChanged, 439 439 this, &UIWizardImportAppPageSettings::sltHandleMACImportPolicyComboChange); 440 440 connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSource.cpp
r99284 r101563 619 619 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 620 620 this, &UIWizardImportAppPageSource::sltHandleSourceComboChange); 621 connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),621 connect(m_pSourceComboBox, &QIComboBox::currentIndexChanged, 622 622 this, &UIWizardImportAppPageSource::sltHandleSourceComboChange); 623 623 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 624 624 this, &UIWizardImportAppPageSource::completeChanged); 625 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),625 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 626 626 this, &UIWizardImportAppPageSource::sltHandleProfileComboChange); 627 627 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r98103 r101563 188 188 connect(m_pProviderComboBox, &QIComboBox::activated, 189 189 this, &UIWizardNewCloudVMPageExpert::sltHandleProviderComboChange); 190 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),190 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 191 191 this, &UIWizardNewCloudVMPageExpert::sltHandleProfileComboChange); 192 192 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp
r99284 r101563 463 463 connect(m_pProviderComboBox, &QIComboBox::activated, 464 464 this, &UIWizardNewCloudVMPageSource::sltHandleProviderComboChange); 465 connect(m_pProfileComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::currentIndexChanged),465 connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged, 466 466 this, &UIWizardNewCloudVMPageSource::sltHandleProfileComboChange); 467 467 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.cpp
r101316 r101563 146 146 { 147 147 if (m_pDiskSourceButtonGroup) 148 connect(m_pDiskSourceButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked),148 connect(m_pDiskSourceButtonGroup, &QButtonGroup::buttonClicked, 149 149 this, &UIWizardNewVMDiskPage::sltSelectedDiskSourceChanged); 150 150 if (m_pDiskSelector) 151 connect(m_pDiskSelector, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::currentIndexChanged),151 connect(m_pDiskSelector, &UIMediaComboBox::currentIndexChanged, 152 152 this, &UIWizardNewVMDiskPage::sltMediaComboBoxIndexChanged); 153 153 if (m_pDiskSelectionButton) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp
r101316 r101563 306 306 /* Virtual disk related connections: */ 307 307 if (m_pDiskSourceButtonGroup) 308 connect(m_pDiskSourceButtonGroup, static_cast<void(QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked),308 connect(m_pDiskSourceButtonGroup, &QButtonGroup::buttonClicked, 309 309 this, &UIWizardNewVMExpertPage::sltSelectedDiskSourceChanged); 310 310 … … 328 328 329 329 if (m_pDiskSelector) 330 connect(m_pDiskSelector, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::currentIndexChanged),330 connect(m_pDiskSelector, &UIMediaComboBox::currentIndexChanged, 331 331 this, &UIWizardNewVMExpertPage::sltMediaComboBoxIndexChanged); 332 332
Note:
See TracChangeset
for help on using the changeset viewer.

