You can reduce this to something like:

```python
checked = self.importTalksWidget.csvRadioButton.isChecked()

self.importTalksWidget.csvLineEdit.setEnabled(checked)
self.importTalksWidget.csvFileSelectButton.setEnabled(checked)
self.importTalksWidget.rssLineEdit.setEnabled(not checked)
```