(self, index=QModelIndex())
| 46 | return len(self.tasks) |
| 47 | |
| 48 | def columnCount(self, index=QModelIndex()): # pylint: disable=no-self-use |
| 49 | if index.isValid(): |
| 50 | return 0 |
| 51 | return 4 |
| 52 | |
| 53 | def data(self, index, role=Qt.DisplayRole): |
| 54 | if index.isValid() and index.row() < self.rowCount() and index.column() < self.columnCount(): |
no test coverage detected