summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/scriptengine_p.h
diff options
context:
space:
mode:
authorChristoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com>2015-03-10 15:08:10 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2015-07-17 09:40:58 +0000
commitca59912053e6a1ed6b96c5d11bb6d4531973544f (patch)
treef1976093af39eef6f6529f47e18effa568b8b179 /src/libs/installer/scriptengine_p.h
parent5a635073b45da1a3e82d27d1b29f099966ace81c (diff)
add silent mode
Add possibility to run silently without a gui. Silent mode can be enabled in a controller script using gui.setSilent(true). Change-Id: I5c5d0cc2be734e8e447edfe4e71106fe08f87188 Task-number: QTIFW-166 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/scriptengine_p.h')
-rw-r--r--src/libs/installer/scriptengine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/scriptengine_p.h b/src/libs/installer/scriptengine_p.h
index e1ff08b87..3998f5bbd 100644
--- a/src/libs/installer/scriptengine_p.h
+++ b/src/libs/installer/scriptengine_p.h
@@ -159,6 +159,8 @@ public:
Q_INVOKABLE QJSValue findChild(QObject *parent, const QString &objectName);
Q_INVOKABLE QList<QJSValue> findChildren(QObject *parent, const QString &objectName);
+ Q_INVOKABLE void setSilent(bool silent);
+
signals:
void interrupted();
void languageChanged();