Helpviewer/Download/DownloadItem.py

changeset 867
d6cafe8ad013
parent 826
2e3e2055e715
child 880
52ed20236a1c
equal deleted inserted replaced
866:278734f0b0ea 867:d6cafe8ad013
245 if endName: 245 if endName:
246 name += '.' + endName 246 name += '.' + endName
247 i += 1 247 i += 1
248 return name 248 return name
249 249
250 def __open(self):
251 """
252 Private slot to open the downloaded file.
253 """
254 info = QFileInfo(self.__output)
255 url = QUrl.fromLocalFile(info.absoluteFilePath())
256 QDesktopServices.openUrl(url)
257
250 @pyqtSlot() 258 @pyqtSlot()
251 def on_tryAgainButton_clicked(self): 259 def on_tryAgainButton_clicked(self):
252 """ 260 """
253 Private slot to retry the download. 261 Private slot to retry the download.
254 """ 262 """

eric ide

mercurial