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