48 Private method to update the OK button state. |
48 Private method to update the OK button state. |
49 """ |
49 """ |
50 self.__okButton.setEnabled(self.serverEdit.text() != "") |
50 self.__okButton.setEnabled(self.serverEdit.text() != "") |
51 |
51 |
52 @pyqtSlot(str) |
52 @pyqtSlot(str) |
53 def on_serverEdit_textChanged(self, name): |
53 def on_serverEdit_textChanged(self, _name): |
54 """ |
54 """ |
55 Private slot handling changes of the server name. |
55 Private slot handling changes of the server name. |
56 |
56 |
57 @param name current name of the server |
57 @param _name current name of the server (unused) |
58 @type str |
58 @type str |
59 """ |
59 """ |
60 self.__updateOkButton() |
60 self.__updateOkButton() |
61 |
61 |
62 def getServer(self): |
62 def getServer(self): |