56 enable = enable and bool(url.host()) |
56 enable = enable and bool(url.host()) |
57 |
57 |
58 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable) |
58 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable) |
59 |
59 |
60 @pyqtSlot(str) |
60 @pyqtSlot(str) |
61 def on_titleEdit_textChanged(self, txt): |
61 def on_titleEdit_textChanged(self, _txt): |
62 """ |
62 """ |
63 Private slot to handle changes of the feed title. |
63 Private slot to handle changes of the feed title. |
64 |
64 |
65 @param txt new feed title |
65 @param _txt new feed title (unused) |
66 @type str |
66 @type str |
67 """ |
67 """ |
68 self.__setOkButton() |
68 self.__setOkButton() |
69 |
69 |
70 @pyqtSlot(str) |
70 @pyqtSlot(str) |
71 def on_urlEdit_textChanged(self, txt): |
71 def on_urlEdit_textChanged(self, _txt): |
72 """ |
72 """ |
73 Private slot to handle changes of the feed URL. |
73 Private slot to handle changes of the feed URL. |
74 |
74 |
75 @param txt new feed URL |
75 @param _txt new feed URL (unused) |
76 @type str |
76 @type str |
77 """ |
77 """ |
78 self.__setOkButton() |
78 self.__setOkButton() |
79 |
79 |
80 def getData(self): |
80 def getData(self): |