summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/component.h
diff options
context:
space:
mode:
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;