forked from qt-creator/qt-creator
Examples: Move categorization to examplesparser
For easier testing. Change-Id: I11f9de3f4fbcc2c85c196f1b59b2147e73ea8209 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -44,6 +44,9 @@ QTSUPPORT_EXPORT Utils::expected_str<QList<ExampleItem *>> parseExamples(
|
||||
const Utils::FilePath &demosInstallPath,
|
||||
bool examples);
|
||||
|
||||
QTSUPPORT_TEST_EXPORT QList<std::pair<QString, QList<ExampleItem *>>> getCategories(
|
||||
const QList<ExampleItem *> &items, bool sortIntoCategories);
|
||||
|
||||
} // namespace QtSupport::Internal
|
||||
|
||||
Q_DECLARE_METATYPE(QtSupport::Internal::ExampleItem *)
|
||||
|
||||
Reference in New Issue
Block a user