| 52 | } |
| 53 | |
| 54 | QAccessibleInterface* AccessibleInstanceView::cellAt(int row, int column) const |
| 55 | { |
| 56 | if (!view()->model()) { |
| 57 | return 0; |
| 58 | } |
| 59 | |
| 60 | QModelIndex index = view()->model()->index(row, column, view()->rootIndex()); |
| 61 | if (Q_UNLIKELY(!index.isValid())) { |
| 62 | qWarning() << "AccessibleInstanceView::cellAt: invalid index: " << index << " for " << view(); |
| 63 | return 0; |
| 64 | } |
| 65 | |
| 66 | return child(logicalIndex(index)); |
| 67 | } |
| 68 | |
| 69 | QAccessibleInterface* AccessibleInstanceView::caption() const |
| 70 | { |