diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2018-10-17 18:06:32 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2018-10-19 15:55:15 +0000 |
commit | bf71faa155c8859863ec3823b40ad8accba81296 (patch) | |
tree | 6f767bfecea5dd184987cc4292ef1eebe1be73ee /src/manager-lib/qmlinprocessapplicationinterface.cpp | |
parent | 4923b855ebecc2bf7505006174e03cc55107f4bc (diff) | |
download | qtapplicationmanager-bf71faa155c8859863ec3823b40ad8accba81296.tar.gz |
Intents: cleanup and new features
- A lot of API and naming cleanup
- Intent is now a Q_GADGET and is passed around by value
(prerequisite for dynamic app removal)
- QUuid in Qml is working nowadays, so we only have to convert for D-Bus
- Requests can now also be created from within the system-ui
(this had the sideeffect of moving the createIntentRequest functions out
of the ApplicationInterface and into the new singleton "IntentClient")
Change-Id: I5999be4d67eeadc0b78859e06d16677a27831e24
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'src/manager-lib/qmlinprocessapplicationinterface.cpp')
-rw-r--r-- | src/manager-lib/qmlinprocessapplicationinterface.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/manager-lib/qmlinprocessapplicationinterface.cpp b/src/manager-lib/qmlinprocessapplicationinterface.cpp index 38bf8b23..b8b5b0dd 100644 --- a/src/manager-lib/qmlinprocessapplicationinterface.cpp +++ b/src/manager-lib/qmlinprocessapplicationinterface.cpp @@ -113,21 +113,6 @@ QVariantMap QmlInProcessApplicationInterface::applicationProperties() const return QVariantMap(); } -IntentClientRequest *QmlInProcessApplicationInterface::createIntentRequest(const QString &intentId, - const QVariantMap ¶meters) -{ - return createIntentRequest(intentId, QString(), parameters); -} - -IntentClientRequest *QmlInProcessApplicationInterface::createIntentRequest(const QString &intentId, - const QString &applicationId, - const QVariantMap ¶meters) -{ - auto req = IntentClientRequest::create(this->applicationId(), intentId, applicationId, parameters); - QQmlEngine::setObjectOwnership(req, QQmlEngine::CppOwnership); - return req; -} - void QmlInProcessApplicationInterface::acknowledgeQuit() { emit quitAcknowledged(); |