From 4d7c5d092e95f2eb2113780971027e0adfa41440 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 12 Mar 2020 15:07:09 +0200 Subject: 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 --- src/libs/installer/packagemanagercore.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libs/installer/packagemanagercore.h') 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; -- cgit v1.2.3