MCPcopy Create free account
hub / github.com/KDAB/KDChart / defaultsForRole

Method defaultsForRole

src/KDChart/KDChartAttributesModel.cpp:355–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355QVariant AttributesModel::defaultsForRole(int role) const
356{
357 // returns default-constructed QVariant if not found
358 return d->defaultsMap.value(role);
359}
360
361bool AttributesModel::setData(const QModelIndex &index, const QVariant &value, int role)
362{

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected