Helpviewer/Bookmarks/BookmarksModel.py

changeset 2954
bf0215fe12d1
parent 2763
e4794166ad70
child 3002
6ffc581f00f1
equal deleted inserted replaced
2953:703452a2876f 2954:bf0215fe12d1
109 """ 109 """
110 Public method to remove bookmarks from the model. 110 Public method to remove bookmarks from the model.
111 111
112 @param row row of the first bookmark to remove (integer) 112 @param row row of the first bookmark to remove (integer)
113 @param count number of bookmarks to remove (integer) 113 @param count number of bookmarks to remove (integer)
114 @param index of the parent bookmark node (QModelIndex) 114 @param parent index of the parent bookmark node (QModelIndex)
115 @return flag indicating successful removal (boolean) 115 @return flag indicating successful removal (boolean)
116 """ 116 """
117 if row < 0 or count <= 0 or row + count > self.rowCount(parent): 117 if row < 0 or count <= 0 or row + count > self.rowCount(parent):
118 return False 118 return False
119 119

eric ide

mercurial