summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagergui.h
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2023-06-07 14:26:55 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2023-06-19 08:48:35 +0000
commit835ccf1766bc77e4ef581e9e6ba699a43338ecf3 (patch)
tree6a62aab1805bc8c1ad9888d6516cd277e5d1e27d /src/libs/installer/packagemanagergui.h
parent308c2a7fdeeef50096186ac5aff8d22ecd853fe0 (diff)
Allow generating offline installers from Gui
This was previously possible only from the CLI. The same methods can be used from the graphical installer, so we do not need to limit the feature for CLI users. Task-number: QTIFW-3072 Change-Id: I271aecf163528b922e6cc399d31f07218e2a1650 Reviewed-by: Katja Marttila <katja.marttila@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagergui.h')
-rw-r--r--src/libs/installer/packagemanagergui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagergui.h b/src/libs/installer/packagemanagergui.h
index ba27c4af6..655dd9875 100644
--- a/src/libs/installer/packagemanagergui.h
+++ b/src/libs/installer/packagemanagergui.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.
@@ -333,6 +333,8 @@ public:
Q_INVOKABLE void allowCompressedRepositoryInstall();
Q_INVOKABLE bool addVirtualComponentToUninstall(const QString &name);
+ void setAllowCreateOfflineInstaller(bool allow);
+
protected:
void entering() override;
void leaving() override;