summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-03-12 15:07:09 +0200
committerKatja Marttila <katja.marttila@qt.io>2020-03-20 15:20:32 +0200
commit4d7c5d092e95f2eb2113780971027e0adfa41440 (patch)
tree4f1ef3c430ac5ea93c15afab3769221165b19a1c /src/libs/installer/packagemanagercore.h
parent559a6b4ed5b23fee084929f9f62fabe223294f49 (diff)
Separate maintenance tool writing for testing purpose
Some unit tests wont work as installer wants to unpack maintenance tool from the installer. As unit tests are not normal installers we need to separate the maintenance unpacking when running tests. Change-Id: I5f2bb60e775a42d1b8dd6ee088ff4f2a694a7a09 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
-rw-r--r--src/libs/installer/packagemanagercore.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h
index 76a0a7341..75bdfb863 100644
--- a/src/libs/installer/packagemanagercore.h
+++ b/src/libs/installer/packagemanagercore.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** Copyright (C) 2017 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.
@@ -217,10 +217,10 @@ public:
ComponentModel *updaterComponentModel() const;
void listInstalledPackages();
void listAvailablePackages(const QString &regexp);
- void updateComponentsSilently(const QStringList &componentsToUpdate);
- void installSelectedComponentsSilently(const QStringList& components);
- void installDefaultComponentsSilently();
- void uninstallComponentsSilently(const QStringList& components);
+ bool updateComponentsSilently(const QStringList &componentsToUpdate);
+ bool installSelectedComponentsSilently(const QStringList& components);
+ bool installDefaultComponentsSilently();
+ bool uninstallComponentsSilently(const QStringList& components);
// convenience
Q_INVOKABLE bool isInstaller() const;