UI: Replace SIGNAL and SLOT macros in aja-/decklink-output-ui

This commit is contained in:
gxalpha
2023-07-21 13:19:52 +02:00
parent 34f871e605
commit 61781d154d
2 changed files with 10 additions and 10 deletions
@@ -73,8 +73,8 @@ void AJAOutputUI::SetupPropertiesView()
ui->propertiesLayout->addWidget(propertiesView);
obs_data_release(settings);
connect(propertiesView, SIGNAL(Changed()), this,
SLOT(PropertiesChanged()));
connect(propertiesView, &OBSPropertiesView::Changed, this,
&AJAOutputUI::PropertiesChanged);
}
void AJAOutputUI::SaveSettings(const char *filename, obs_data_t *settings)
@@ -130,8 +130,8 @@ void AJAOutputUI::SetupPreviewPropertiesView()
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
obs_data_release(settings);
connect(previewPropertiesView, SIGNAL(Changed()), this,
SLOT(PreviewPropertiesChanged()));
connect(previewPropertiesView, &OBSPropertiesView::Changed, this,
&AJAOutputUI::PreviewPropertiesChanged);
}
void AJAOutputUI::on_outputButton_clicked()
@@ -269,6 +269,6 @@ void AJAOutputUI::SetupMiscPropertiesView()
ui->miscPropertiesLayout->addWidget(miscPropertiesView);
obs_data_release(settings);
connect(miscPropertiesView, SIGNAL(Changed()), this,
SLOT(MiscPropertiesChanged()));
connect(miscPropertiesView, &OBSPropertiesView::Changed, this,
&AJAOutputUI::MiscPropertiesChanged);
}
@@ -44,8 +44,8 @@ void DecklinkOutputUI::SetupPropertiesView()
ui->propertiesLayout->addWidget(propertiesView);
obs_data_release(settings);
connect(propertiesView, SIGNAL(Changed()), this,
SLOT(PropertiesChanged()));
connect(propertiesView, &OBSPropertiesView::Changed, this,
&DecklinkOutputUI::PropertiesChanged);
}
void DecklinkOutputUI::SaveSettings()
@@ -81,8 +81,8 @@ void DecklinkOutputUI::SetupPreviewPropertiesView()
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
obs_data_release(settings);
connect(previewPropertiesView, SIGNAL(Changed()), this,
SLOT(PreviewPropertiesChanged()));
connect(previewPropertiesView, &OBSPropertiesView::Changed, this,
&DecklinkOutputUI::PreviewPropertiesChanged);
}
void DecklinkOutputUI::SavePreviewSettings()