summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/component.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2019-12-02 13:31:27 +0200
committerKatja Marttila <katja.marttila@qt.io>2019-12-17 06:43:31 +0000
commiteca45594967aba89c124a8b88ee8917b35d76181 (patch)
tree4396223e2ae389c986188cf4942ee07a606fb877 /src/libs/installer/component.h
parent4744ad130a2d4310e812a89da22d36a2e885b281 (diff)
Documentation fixes
Change-Id: Ibffb5470d374c8d612791f48c951deddd00f3121 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/libs/installer/component.h')
-rw-r--r--src/libs/installer/component.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libs/installer/component.h b/src/libs/installer/component.h
index e6bc4874d..6dafd61b2 100644
--- a/src/libs/installer/component.h
+++ b/src/libs/installer/component.h
@@ -67,6 +67,14 @@ public:
explicit Component(PackageManagerCore *core);
~Component();
+ enum UnstableError {
+ DepencyToUnstable = 0,
+ ShaMismatch,
+ ScriptLoadingFailed,
+ MissingDependency
+ };
+ Q_ENUM(UnstableError)
+
struct SortingPriorityLessThan
{
bool operator() (const Component *lhs, const Component *rhs) const
@@ -183,7 +191,7 @@ public:
Q_INVOKABLE bool componentChangeRequested();
bool isUnstable() const;
- void setUnstable(PackageManagerCore::UnstableError error, const QString &errorMessage = QString());
+ void setUnstable(Component::UnstableError error, const QString &errorMessage = QString());
bool isVirtual() const;
bool isSelected() const;