MCPcopy Create free account
hub / github.com/YACReader/yacreader / isSelectedIndex

Method isSelectedIndex

YACReaderLibrary/yacreader_comics_selection_helper.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool YACReaderComicsSelectionHelper::isSelectedIndex(int index) const
42{
43 if (_selectionModel != nullptr && model != nullptr) {
44 QModelIndex mi = model->index(index, 0);
45 return _selectionModel->isSelected(mi);
46 }
47 return false;
48}
49
50void YACReaderComicsSelectionHelper::clear()
51{

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected