diff options
Diffstat (limited to 'src/libs/installer/uninstallercalculator.h')
-rw-r--r-- | src/libs/installer/uninstallercalculator.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libs/installer/uninstallercalculator.h b/src/libs/installer/uninstallercalculator.h index 74207e005..6bdd342d2 100644 --- a/src/libs/installer/uninstallercalculator.h +++ b/src/libs/installer/uninstallercalculator.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2022 The Qt Company Ltd. +** Copyright (C) 2023 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -59,8 +59,9 @@ public: const QStringList &localVirtualComponents); QSet<Component*> componentsToUninstall() const; + QString componentsToUninstallError() const; - void appendComponentsToUninstall(const QList<Component*> &components); + bool appendComponentsToUninstall(const QList<Component*> &components); void insertUninstallReason(Component *component, const UninstallReasonType uninstallReason, const QString &referencedComponentName = QString()); @@ -70,8 +71,9 @@ public: private: QString uninstallReasonReferencedComponent(Component *component) const; bool isRequiredVirtualPackage(Component *component); - void appendComponentToUninstall(Component *component); + bool appendComponentToUninstall(Component *component); void appendVirtualComponentsToUninstall(); + QString m_componentsToUninstallError; QSet<Component *> m_componentsToUninstall; PackageManagerCore *m_core; |