summaryrefslogtreecommitdiff
path: root/src/manager-lib/qmlinprocessapplicationinterface.cpp
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2018-10-17 18:06:32 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2018-10-19 15:55:15 +0000
commitbf71faa155c8859863ec3823b40ad8accba81296 (patch)
tree6f767bfecea5dd184987cc4292ef1eebe1be73ee /src/manager-lib/qmlinprocessapplicationinterface.cpp
parent4923b855ebecc2bf7505006174e03cc55107f4bc (diff)
downloadqtapplicationmanager-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.cpp15
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 &parameters)
-{
- return createIntentRequest(intentId, QString(), parameters);
-}
-
-IntentClientRequest *QmlInProcessApplicationInterface::createIntentRequest(const QString &intentId,
- const QString &applicationId,
- const QVariantMap &parameters)
-{
- auto req = IntentClientRequest::create(this->applicationId(), intentId, applicationId, parameters);
- QQmlEngine::setObjectOwnership(req, QQmlEngine::CppOwnership);
- return req;
-}
-
void QmlInProcessApplicationInterface::acknowledgeQuit()
{
emit quitAcknowledged();