diff options
author | Katja Marttila <katja.marttila@qt.io> | 2020-03-12 15:07:09 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2020-03-20 15:20:32 +0200 |
commit | 4d7c5d092e95f2eb2113780971027e0adfa41440 (patch) | |
tree | 4f1ef3c430ac5ea93c15afab3769221165b19a1c /src/libs/installer/packagemanagercore.h | |
parent | 559a6b4ed5b23fee084929f9f62fabe223294f49 (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.h | 10 |
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 ®exp); - 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; |