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

Method mapSourceRowToProxy

src/KDChart/KDChartDatasetProxyModel.cpp:166–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166int DatasetProxyModel::mapSourceRowToProxy(const int &sourceRow) const
167{
168 if (mRowSrcToProxyMap.isEmpty()) {
169 return sourceRow;
170 } else {
171 Q_ASSERT(sourceRow >= 0 && sourceRow < mRowSrcToProxyMap.size());
172 return mRowSrcToProxyMap[sourceRow];
173 }
174}
175
176int DatasetProxyModel::mapSourceColumnToProxy(const int &sourceColumn) const
177{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected