| 48 | |
| 49 | |
| 50 | void GenericExportsModel::updateModel() |
| 51 | { |
| 52 | beginResetModel(); |
| 53 | m_allEntries.clear(); |
| 54 | for (auto& sym : m_data->GetSymbolsOfType(FunctionSymbol)) |
| 55 | { |
| 56 | if ((sym->GetBinding() == GlobalBinding) || (sym->GetBinding() == WeakBinding)) |
| 57 | m_allEntries.push_back(sym); |
| 58 | } |
| 59 | for (auto& sym : m_data->GetSymbolsOfType(DataSymbol)) |
| 60 | { |
| 61 | if ((sym->GetBinding() == GlobalBinding) || (sym->GetBinding() == WeakBinding)) |
| 62 | m_allEntries.push_back(sym); |
| 63 | } |
| 64 | endResetModel(); |
| 65 | |
| 66 | setFilter(m_filter); |
| 67 | } |
| 68 | |
| 69 | |
| 70 | int GenericExportsModel::columnCount(const QModelIndex&) const |
nothing calls this directly
no test coverage detected