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

Method mapFromSource

launcher/VersionProxyModel.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248QModelIndex VersionProxyModel::mapFromSource(const QModelIndex& sourceIndex) const
249{
250 if (sourceIndex.isValid()) {
251 return index(sourceIndex.row(), 0);
252 }
253 return QModelIndex();
254}
255
256QModelIndex VersionProxyModel::mapToSource(const QModelIndex& proxyIndex) const
257{

Callers 5

openedImplMethod · 0.80
selectPageMethod · 0.80
ExportInstanceDialogMethod · 0.80
ExportPackDialogMethod · 0.80

Calls 2

QModelIndexClass · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected