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

Method columnCount

src/ui/main/QuickOpen.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41public:
42 int columnCount(const QModelIndex& parent = QModelIndex()) const override
43 {
44 if (parent.isValid()) {
45 // non-root node
46 return 0;
47 }
48 return 1;
49 }
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

Callers 9

resizeEventMethod · 0.45
renderTableMethod · 0.45
setLastColumnWidthMethod · 0.45
lastColumnWidthMethod · 0.45
drawTvShowIconsMethod · 0.45
MovieFilesWidgetMethod · 0.45
renewModelMethod · 0.45
MovieDuplicatesMethod · 0.45
setResultStatusMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected