* @brief Returns the list of subcategories of a given collection and category. */
| 130 | * @brief Returns the list of subcategories of a given collection and category. |
| 131 | */ |
| 132 | QStringList 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. |
no test coverage detected