MCPcopy Create free account
hub / github.com/KDE/labplot / categories

Method categories

src/frontend/DatasetModel.cpp:122–127  ·  view source on GitHub ↗

* @brief Returns the list of categories for a given collection */

Source from the content-addressed store, hash-verified

120 * @brief Returns the list of categories for a given collection
121 */
122QStringList DatasetModel::categories(const QString& collection) {
123 if (!collection.isEmpty())
124 return m_categories[collection];
125 else
126 return allCategories();
127}
128
129/**
130 * @brief Returns the list of subcategories of a given collection and category.

Callers 7

collectionChangedMethod · 0.80
updateCategoriesMethod · 0.80
updateDatasetsMethod · 0.80
loadSettingsMethod · 0.80
updateCategoriesMethod · 0.80
updateSubcategoriesMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected