(self, row, column, parent)
| 28 | return 1 |
| 29 | |
| 30 | def index(self, row, column, parent): |
| 31 | try: |
| 32 | if not parent.isValid(): |
| 33 | #logger.debug('creating root index') |
| 34 | result = self.createIndex(row, column, self._root) |
| 35 | else: |
| 36 | node = parent.internalPointer() |
| 37 | #logger.debug('creating index for %r', node.path) |
| 38 | result = self.createIndex(row, column, node.children[row]) |
| 39 | except IndexError: |
| 40 | result = invindex |
| 41 | return result |
| 42 | |
| 43 | def parent(self, index): |
| 44 | result = invindex |
no outgoing calls
no test coverage detected