MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / cellAt

Method cellAt

launcher/ui/instanceview/AccessibleInstanceView.cpp:54–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54QAccessibleInterface* 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
69QAccessibleInterface* AccessibleInstanceView::caption() const
70{

Callers

nothing calls this directly

Calls 3

modelMethod · 0.80
indexMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected