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

Method mapToSource

launcher/VersionProxyModel.cpp:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256QModelIndex VersionProxyModel::mapToSource(const QModelIndex& proxyIndex) const
257{
258 if (proxyIndex.isValid()) {
259 return sourceModel()->index(proxyIndex.row(), 0);
260 }
261 return QModelIndex();
262}
263
264QModelIndex VersionProxyModel::index(int row, int column, const QModelIndex& parent) const
265{

Callers 6

onSelectionChangedMethod · 0.80
onSelectionChangedMethod · 0.80
onSelectionChangedMethod · 0.80
onSelectionChangedMethod · 0.80
getSelectedWorldMethod · 0.80
currentChangedMethod · 0.80

Calls 3

QModelIndexClass · 0.85
isValidMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected