src/eric7/Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
196 Private slot to start a browser for the served repository. 196 Private slot to start a browser for the served repository.
197 """ 197 """
198 ui = ericApp().getObject("UserInterface") 198 ui = ericApp().getObject("UserInterface")
199 ui.launchHelpViewer("http://localhost:{0}".format(self.__portSpin.value())) 199 ui.launchHelpViewer("http://localhost:{0}".format(self.__portSpin.value()))
200 200
201 def closeEvent(self, e): 201 def closeEvent(self, _evt):
202 """ 202 """
203 Protected slot implementing a close event handler. 203 Protected slot implementing a close event handler.
204 204
205 @param e close event 205 @param _evt reference to the close event object (unused)
206 @type QCloseEvent 206 @type QCloseEvent
207 """ 207 """
208 self.__stopServer() 208 self.__stopServer()
209 209
210 @pyqtSlot(int, QProcess.ExitStatus) 210 @pyqtSlot(int, QProcess.ExitStatus)
211 def __procFinished(self, exitCode, exitStatus): 211 def __procFinished(self, _exitCode, _exitStatus):
212 """ 212 """
213 Private slot connected to the finished signal. 213 Private slot connected to the finished signal.
214 214
215 @param exitCode exit code of the process 215 @param _exitCode exit code of the process (unused)
216 @type int 216 @type int
217 @param exitStatus exit status of the process 217 @param _exitStatus exit status of the process (unused)
218 @type QProcess.ExitStatus 218 @type QProcess.ExitStatus
219 """ 219 """
220 self.__stopServer() 220 self.__stopServer()
221 221
222 def __readStdout(self): 222 def __readStdout(self):

eric ide

mercurial