src/eric7/Network/IRC/IrcNetworkEditDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10621
f5631f40c4d9
child 11006
a671918232f3
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
80 enable &= self.serverEdit.text() != "" 80 enable &= self.serverEdit.text() != ""
81 81
82 self.__okButton.setEnabled(enable) 82 self.__okButton.setEnabled(enable)
83 83
84 @pyqtSlot(str) 84 @pyqtSlot(str)
85 def on_networkEdit_textChanged(self, txt): 85 def on_networkEdit_textChanged(self, _txt):
86 """ 86 """
87 Private slot to handle changes of the network name. 87 Private slot to handle changes of the network name.
88 88
89 @param txt text entered into the network name edit 89 @param _txt text entered into the network name edit (unused)
90 @type str 90 @type str
91 """ 91 """
92 self.__updateOkButton() 92 self.__updateOkButton()
93 93
94 def __refreshIdentityCombo(self, currentIdentity): 94 def __refreshIdentityCombo(self, currentIdentity):
139 dlg = IrcIdentitiesEditDialog(self.__manager, currentIdentity, self) 139 dlg = IrcIdentitiesEditDialog(self.__manager, currentIdentity, self)
140 dlg.exec() 140 dlg.exec()
141 self.__refreshIdentityCombo(currentIdentity) 141 self.__refreshIdentityCombo(currentIdentity)
142 142
143 @pyqtSlot(str) 143 @pyqtSlot(str)
144 def on_serverEdit_textChanged(self, txt): 144 def on_serverEdit_textChanged(self, _txt):
145 """ 145 """
146 Private slot to handle changes of the server name. 146 Private slot to handle changes of the server name.
147 147
148 @param txt text entered into the server name edit 148 @param _txt text entered into the server name edit (unused)
149 @type str 149 @type str
150 """ 150 """
151 self.__updateOkButton() 151 self.__updateOkButton()
152 152
153 @pyqtSlot() 153 @pyqtSlot()
198 index = self.channelList.indexOfTopLevelItem(itm) 198 index = self.channelList.indexOfTopLevelItem(itm)
199 self.channelList.takeTopLevelItem(index) 199 self.channelList.takeTopLevelItem(index)
200 del itm 200 del itm
201 201
202 @pyqtSlot(QTreeWidgetItem, int) 202 @pyqtSlot(QTreeWidgetItem, int)
203 def on_channelList_itemActivated(self, item, column): 203 def on_channelList_itemActivated(self, item, _column):
204 """ 204 """
205 Private slot to handle the activation of a channel entry. 205 Private slot to handle the activation of a channel entry.
206 206
207 @param item reference to the activated item 207 @param item reference to the activated item
208 @type QTreeWidgetItem 208 @type QTreeWidgetItem
209 @param column column the activation occurred in 209 @param _column column the activation occurred in (unused)
210 @type int 210 @type int
211 """ 211 """
212 self.__editChannel(item) 212 self.__editChannel(item)
213 213
214 @pyqtSlot() 214 @pyqtSlot()

eric ide

mercurial