summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-06-03 12:58:10 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-06-05 16:58:55 +0200
commit05bb1b8ccd3d12fb286f026406f076a41ec54965 (patch)
tree33e5c0cc8f09a9abc10515624995a5e313fe1611 /src/libs/installer/packagemanagercore.h
parent451eee7a2ee9f3732ac2113cf560f0e1770236fd (diff)
Make it possible to calculate dependencies from script.
Task-number: QTIFW-503 Change-Id: Ic359d586f36669d4c1430c22e10b5a209ba6fc3c Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
-rw-r--r--src/libs/installer/packagemanagercore.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h
index a3f2b7eb0..7b45b008e 100644
--- a/src/libs/installer/packagemanagercore.h
+++ b/src/libs/installer/packagemanagercore.h
@@ -199,10 +199,10 @@ public:
QList<Component*> availableComponents() const;
Component *componentByName(const QString &identifier) const;
- bool calculateComponentsToInstall() const;
+ Q_INVOKABLE bool calculateComponentsToInstall() const;
QList<Component*> orderedComponentsToInstall() const;
- bool calculateComponentsToUninstall() const;
+ Q_INVOKABLE bool calculateComponentsToUninstall() const;
QList<Component*> componentsToUninstall() const;
QString componentsToInstallError() const;
@@ -270,6 +270,9 @@ public Q_SLOTS:
Q_SIGNALS:
void aboutCalculateComponentsToInstall() const;
+ void finishedCalculateComponentsToInstall() const;
+ void aboutCalculateComponentsToUninstall() const;
+ void finishedCalculateComponentsToUninstall() const;
void componentAdded(QInstaller::Component *comp);
void rootComponentsAdded(QList<QInstaller::Component*> components);
void updaterComponentsAdded(QList<QInstaller::Component*> components);