diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-06-26 17:33:36 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-07-03 10:05:54 +0300 |
commit | 99cbbd439ea1f572b4242d77035b0da3a27c79ec (patch) | |
tree | 3a2b46efdad030aef4fe5de69d9dc66d1cee5de9 /src/libs/installer/repositorycategory.h | |
parent | 519899850f86cb99cdd4c2f84f63ac2a28bfe193 (diff) |
Modify repository category functionality
Remove conditions for checking whether a category containing
a certain repository needs to be enabled when fetching & parsing
metadata for that repository. All categorized repositories will
now be fetched regardless of their enabled state, that will be
only used to hide/show individual components in the view.
Task-number: QTIFW-1821
Change-Id: Id0dbaed9c5b460bf0faeebd6e45349f0c07d10c2
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/repositorycategory.h')
-rw-r--r-- | src/libs/installer/repositorycategory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/installer/repositorycategory.h b/src/libs/installer/repositorycategory.h index faa8d252b..0f950d577 100644 --- a/src/libs/installer/repositorycategory.h +++ b/src/libs/installer/repositorycategory.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2018 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -54,6 +54,8 @@ public: void setTooltip(const QString &tooltip); QSet<Repository> repositories() const; + QSet<QUrl> repositoryUrls() const; + void setRepositories(const QSet<Repository> repositories, const bool replace = false); void addRepository(const Repository repository); |