MCPcopy Create free account
hub / github.com/SpartanJ/eepp / data

Method data

src/eepp/ui/models/sortingproxymodel.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134Variant SortingProxyModel::data( const ModelIndex& proxyIndex, ModelRole role ) const {
135 auto targetIndex = mapToSource( proxyIndex );
136 eeASSERT( targetIndex.isValid() );
137 return source().data( targetIndex, role );
138}
139
140ModelIndex SortingProxyModel::index( int row, int column, const ModelIndex& parent ) const {
141 if ( row < 0 || column < 0 )

Callers 1

lessThanMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected