summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/productkeycheck.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2024-03-11 09:00:20 +0200
committerKatja Marttila <katja.marttila@qt.io>2024-03-11 14:52:16 +0200
commit85eb35bdcc702dec04f32f5ddb833de989918226 (patch)
treecc5acf5e5eb4c275d5ce0eb2d7e6de703ae3ddd0 /src/libs/installer/productkeycheck.h
parent895855c02c466859ecd981cb1daec485d23b949b (diff)
Add possibility to add additional license text to CLI
Developer can override productkeycheck, there can be cases that developer wants to show some additional license text in CLI before accepting the licenses. The license text can be accepted or rejected by CLI command Accept/Reject, or by using --accept-licenses switch for non-interactive acceptance. Task-number: QTIFW-3319 Change-Id: I60e1ea36cf3f7f98af62c06c2535342003ceb9a6 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/productkeycheck.h')
-rw-r--r--src/libs/installer/productkeycheck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/productkeycheck.h b/src/libs/installer/productkeycheck.h
index aea8d36ef..766eee6e9 100644
--- a/src/libs/installer/productkeycheck.h
+++ b/src/libs/installer/productkeycheck.h
@@ -71,6 +71,7 @@ public:
QList<int> registeredPages() const;
bool hasValidLicense() const;
bool hasAcceptedAllLicenses() const;
+ QString licenseAcceptanceText() const;
private:
ProductKeyCheck();