src/eric7/Preferences/ConfigurationPages/EmailPage.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10683
779cda568acb
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
95 self.portSpin.setValue(587) 95 self.portSpin.setValue(587)
96 else: 96 else:
97 self.portSpin.setValue(25) 97 self.portSpin.setValue(25)
98 98
99 @pyqtSlot(bool) 99 @pyqtSlot(bool)
100 def on_noEncryptionButton_toggled(self, checked): 100 def on_noEncryptionButton_toggled(self, _checked):
101 """ 101 """
102 Private slot handling a change of no encryption button. 102 Private slot handling a change of no encryption button.
103 103
104 @param checked current state of the button 104 @param _checked current state of the button (unused)
105 @type bool 105 @type bool
106 """ 106 """
107 self.__updatePortSpin() 107 self.__updatePortSpin()
108 108
109 @pyqtSlot(bool) 109 @pyqtSlot(bool)
110 def on_useSslButton_toggled(self, checked): 110 def on_useSslButton_toggled(self, _checked):
111 """ 111 """
112 Private slot handling a change of SSL encryption button. 112 Private slot handling a change of SSL encryption button.
113 113
114 @param checked current state of the button 114 @param _checked current state of the button (unused)
115 @type bool 115 @type bool
116 """ 116 """
117 self.__updatePortSpin() 117 self.__updatePortSpin()
118 118
119 @pyqtSlot(bool) 119 @pyqtSlot(bool)
120 def on_useTlsButton_toggled(self, checked): 120 def on_useTlsButton_toggled(self, _checked):
121 """ 121 """
122 Private slot handling a change of TLS encryption button. 122 Private slot handling a change of TLS encryption button.
123 123
124 @param checked current state of the button 124 @param _checked current state of the button (unused)
125 @type bool 125 @type bool
126 """ 126 """
127 self.__updatePortSpin() 127 self.__updatePortSpin()
128 128
129 def __updateTestButton(self): 129 def __updateTestButton(self):
136 and self.mailPasswordEdit.text() != "" 136 and self.mailPasswordEdit.text() != ""
137 and self.mailServerEdit.text() != "" 137 and self.mailServerEdit.text() != ""
138 ) 138 )
139 139
140 @pyqtSlot(str) 140 @pyqtSlot(str)
141 def on_mailServerEdit_textChanged(self, txt): 141 def on_mailServerEdit_textChanged(self, _txt):
142 """ 142 """
143 Private slot to handle a change of the text of the mail server edit. 143 Private slot to handle a change of the text of the mail server edit.
144 144
145 @param txt current text of the edit (string) 145 @param _txt current text of the edit (unused)
146 @type str 146 @type str
147 """ 147 """
148 self.__updateTestButton() 148 self.__updateTestButton()
149 149
150 @pyqtSlot(bool) 150 @pyqtSlot(bool)
151 def on_mailAuthenticationGroup_toggled(self, checked): 151 def on_mailAuthenticationGroup_toggled(self, _checked):
152 """ 152 """
153 Private slot to handle a change of the state of the authentication 153 Private slot to handle a change of the state of the authentication
154 group. 154 group.
155 155
156 @param checked state of the group 156 @param _checked state of the group (unused)
157 @type bool 157 @type bool
158 """ 158 """
159 self.__updateTestButton() 159 self.__updateTestButton()
160 160
161 @pyqtSlot(str) 161 @pyqtSlot(str)
162 def on_mailUserEdit_textChanged(self, txt): 162 def on_mailUserEdit_textChanged(self, _txt):
163 """ 163 """
164 Private slot to handle a change of the text of the user edit. 164 Private slot to handle a change of the text of the user edit.
165 165
166 @param txt current text of the edit 166 @param _txt current text of the edit (unused)
167 @type str 167 @type str
168 """ 168 """
169 self.__updateTestButton() 169 self.__updateTestButton()
170 170
171 @pyqtSlot(str) 171 @pyqtSlot(str)
172 def on_mailPasswordEdit_textChanged(self, txt): 172 def on_mailPasswordEdit_textChanged(self, _txt):
173 """ 173 """
174 Private slot to handle a change of the text of the user edit. 174 Private slot to handle a change of the text of the user edit.
175 175
176 @param txt current text of the edit 176 @param _txt current text of the edit (unused)
177 @type str 177 @type str
178 """ 178 """
179 self.__updateTestButton() 179 self.__updateTestButton()
180 180
181 @pyqtSlot() 181 @pyqtSlot()

eric ide

mercurial