mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Replace SIGNAL and SLOT macros in aja-/decklink-output-ui
This commit is contained in:
parent
34f871e605
commit
61781d154d
@ -73,8 +73,8 @@ void AJAOutputUI::SetupPropertiesView()
|
|||||||
ui->propertiesLayout->addWidget(propertiesView);
|
ui->propertiesLayout->addWidget(propertiesView);
|
||||||
obs_data_release(settings);
|
obs_data_release(settings);
|
||||||
|
|
||||||
connect(propertiesView, SIGNAL(Changed()), this,
|
connect(propertiesView, &OBSPropertiesView::Changed, this,
|
||||||
SLOT(PropertiesChanged()));
|
&AJAOutputUI::PropertiesChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AJAOutputUI::SaveSettings(const char *filename, obs_data_t *settings)
|
void AJAOutputUI::SaveSettings(const char *filename, obs_data_t *settings)
|
||||||
@ -130,8 +130,8 @@ void AJAOutputUI::SetupPreviewPropertiesView()
|
|||||||
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
|
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
|
||||||
obs_data_release(settings);
|
obs_data_release(settings);
|
||||||
|
|
||||||
connect(previewPropertiesView, SIGNAL(Changed()), this,
|
connect(previewPropertiesView, &OBSPropertiesView::Changed, this,
|
||||||
SLOT(PreviewPropertiesChanged()));
|
&AJAOutputUI::PreviewPropertiesChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AJAOutputUI::on_outputButton_clicked()
|
void AJAOutputUI::on_outputButton_clicked()
|
||||||
@ -269,6 +269,6 @@ void AJAOutputUI::SetupMiscPropertiesView()
|
|||||||
|
|
||||||
ui->miscPropertiesLayout->addWidget(miscPropertiesView);
|
ui->miscPropertiesLayout->addWidget(miscPropertiesView);
|
||||||
obs_data_release(settings);
|
obs_data_release(settings);
|
||||||
connect(miscPropertiesView, SIGNAL(Changed()), this,
|
connect(miscPropertiesView, &OBSPropertiesView::Changed, this,
|
||||||
SLOT(MiscPropertiesChanged()));
|
&AJAOutputUI::MiscPropertiesChanged);
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,8 @@ void DecklinkOutputUI::SetupPropertiesView()
|
|||||||
ui->propertiesLayout->addWidget(propertiesView);
|
ui->propertiesLayout->addWidget(propertiesView);
|
||||||
obs_data_release(settings);
|
obs_data_release(settings);
|
||||||
|
|
||||||
connect(propertiesView, SIGNAL(Changed()), this,
|
connect(propertiesView, &OBSPropertiesView::Changed, this,
|
||||||
SLOT(PropertiesChanged()));
|
&DecklinkOutputUI::PropertiesChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecklinkOutputUI::SaveSettings()
|
void DecklinkOutputUI::SaveSettings()
|
||||||
@ -81,8 +81,8 @@ void DecklinkOutputUI::SetupPreviewPropertiesView()
|
|||||||
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
|
ui->previewPropertiesLayout->addWidget(previewPropertiesView);
|
||||||
obs_data_release(settings);
|
obs_data_release(settings);
|
||||||
|
|
||||||
connect(previewPropertiesView, SIGNAL(Changed()), this,
|
connect(previewPropertiesView, &OBSPropertiesView::Changed, this,
|
||||||
SLOT(PreviewPropertiesChanged()));
|
&DecklinkOutputUI::PreviewPropertiesChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecklinkOutputUI::SavePreviewSettings()
|
void DecklinkOutputUI::SavePreviewSettings()
|
||||||
|
Loading…
Reference in New Issue
Block a user