WebBrowser/Download/DownloadModel.py

changeset 6134
cb0985e8da91
parent 6048
82ad8ec9548c
child 6221
35ec993034e1
equal deleted inserted replaced
6133:eba07240fac1 6134:cb0985e8da91
56 parent = QModelIndex() 56 parent = QModelIndex()
57 57
58 if parent.isValid(): 58 if parent.isValid():
59 return 0 59 return 0
60 else: 60 else:
61 return self.__manager.count() 61 return self.__manager.downloadsCount()
62 62
63 def removeRows(self, row, count, parent=None): 63 def removeRows(self, row, count, parent=None):
64 """ 64 """
65 Public method to remove bookmarks from the model. 65 Public method to remove bookmarks from the model.
66 66

eric ide

mercurial