Helpviewer/History/HistoryFilterModel.py

changeset 2954
bf0215fe12d1
parent 2302
f29e9405c851
child 3002
6ffc581f00f1
equal deleted inserted replaced
2953:703452a2876f 2954:bf0215fe12d1
313 """ 313 """
314 Public method to remove entries from the model. 314 Public method to remove entries from the model.
315 315
316 @param row row of the first entry to remove (integer) 316 @param row row of the first entry to remove (integer)
317 @param count number of entries to remove (integer) 317 @param count number of entries to remove (integer)
318 @param index of the parent entry (QModelIndex) 318 @param parent index of the parent entry (QModelIndex)
319 @return flag indicating successful removal (boolean) 319 @return flag indicating successful removal (boolean)
320 """ 320 """
321 if row < 0 or \ 321 if row < 0 or \
322 count <= 0 or \ 322 count <= 0 or \
323 row + count > self.rowCount(parent) or \ 323 row + count > self.rowCount(parent) or \

eric ide

mercurial