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

Method sourceDataChanged

launcher/VersionProxyModel.cpp:290–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void VersionProxyModel::sourceDataChanged(const QModelIndex& source_top_left, const QModelIndex& source_bottom_right)
291{
292 if (source_top_left.parent() != source_bottom_right.parent())
293 return;
294
295 // whole row is getting changed
296 auto topLeft = createIndex(source_top_left.row(), 0);
297 auto bottomRight = createIndex(source_bottom_right.row(), columnCount() - 1);
298 emit dataChanged(topLeft, bottomRight);
299}
300
301void VersionProxyModel::setSourceModel(QAbstractItemModel* replacingRaw)
302{

Callers

nothing calls this directly

Calls 1

parentMethod · 0.45

Tested by

no test coverage detected