MCPcopy Create free account
hub / github.com/Komet/MediaElch / data

Method data

src/ui/main/QuickOpen.cpp:52–58  ·  view source on GitHub ↗

\brief Proxy function that only uses the DisplayRole of the first column.

Source from the content-addressed store, hash-verified

50
51 /// \brief Proxy function that only uses the DisplayRole of the first column.
52 QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override
53 {
54 if (index.column() != 0 || role != Qt::DisplayRole) {
55 return QVariant();
56 }
57 return sourceModel()->data(mapToSource(index), role);
58 }
59
60protected:
61 bool lessThan(const QModelIndex& sourceLeft, const QModelIndex& sourceRight) const override

Callers 15

onSortTitleChangedMethod · 0.45
onRemoveMovieMethod · 0.45
chooseSetPosterMethod · 0.45
chooseSetBackdropMethod · 0.45
saveSetMethod · 0.45
onRemoveMovieSetMethod · 0.45
onSetNameChangedMethod · 0.45
onJumpToMovieMethod · 0.45
onAddMoviesMethod · 0.45
onSubtitleEditedMethod · 0.45
onGenreNameChangedMethod · 0.45
deleteGenreMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected