* @brief Returns the list of categories for a given collection */
| 120 | * @brief Returns the list of categories for a given collection |
| 121 | */ |
| 122 | QStringList 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. |
no test coverage detected