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

Method subcategories

src/frontend/DatasetModel.cpp:132–137  ·  view source on GitHub ↗

* @brief Returns the list of subcategories of a given collection and category. */

Source from the content-addressed store, hash-verified

130 * @brief Returns the list of subcategories of a given collection and category.
131 */
132QStringList DatasetModel::subcategories(const QString& collection, const QString& category) {
133 if (!collection.isEmpty())
134 return m_subcategories[collection][category];
135 else
136 return allSubcategories(category);
137}
138
139/**
140 * @brief Returns the list of datasets of a given collection, category and subcategory.

Callers 6

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

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected