Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
173 ui.launchHelpViewer( 173 ui.launchHelpViewer(
174 "http://localhost:{0}".format(self.__portSpin.value())) 174 "http://localhost:{0}".format(self.__portSpin.value()))
175 175
176 def closeEvent(self, e): 176 def closeEvent(self, e):
177 """ 177 """
178 Private slot implementing a close event handler. 178 Protected slot implementing a close event handler.
179 179
180 @param e close event (QCloseEvent) 180 @param e close event (QCloseEvent)
181 """ 181 """
182 self.__stopServer() 182 self.__stopServer()
183 183
212 self.vcs.getEncoding(), 'replace') 212 self.vcs.getEncoding(), 'replace')
213 self.__appendText(s, True) 213 self.__appendText(s, True)
214 214
215 def __appendText(self, txt, error=False): 215 def __appendText(self, txt, error=False):
216 """ 216 """
217 Public method to append text to the end. 217 Private method to append text to the end.
218 218
219 @param txt text to insert (string) 219 @param txt text to insert (string)
220 @param error flag indicating to insert error text (boolean) 220 @param error flag indicating to insert error text (boolean)
221 """ 221 """
222 tc = self.__log.textCursor() 222 tc = self.__log.textCursor()

eric ide

mercurial