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

Method commitData

custom_widgets/yacreader_table_view.cpp:170–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 QTableView::closeEditor(editor, hint);
169}
170void YACReaderTableView::commitData(QWidget *editor)
171{
172 // TODO
173 StarEditor *starEditor = qobject_cast<StarEditor *>(editor);
174 if (starEditor->getShouldCommitData())
175 emit comicRated(((StarEditor *)editor)->starRating().starCount(), currentIndexEditing);
176}
177
178void YACReaderTableView::resizeEvent(QResizeEvent *event)
179{

Callers

nothing calls this directly

Calls 3

getShouldCommitDataMethod · 0.80
starCountMethod · 0.80
starRatingMethod · 0.80

Tested by

no test coverage detected