diff options
author | Robert Griebl <robert.griebl@qt.io> | 2019-10-13 16:56:51 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2019-10-28 14:11:42 +0100 |
commit | 495cc72c005cbb7796e557b0995f130c1d128a7b (patch) | |
tree | 9266c35d1b5851cd4b88b1856f425df0f1ca7d34 /src/intent-client-lib/intenthandler.cpp | |
parent | 0a1cccfccd8f76014bc697c5c9006c5ebb9723e8 (diff) | |
download | qtapplicationmanager-495cc72c005cbb7796e557b0995f130c1d128a7b.tar.gz |
Change intent implementation to better fit new architecture
- IntentServer is now a list model as all the other singletons.
- IntentModel is the companion filter model for the IntentServer, just like
the ApplicationModel is for the ApplicationManager
- Intent is now a Q_OBJECT instead of a Q_GADGET
Change-Id: Ifead097c543fb00b08ab21210e4526a6f65ba167
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/intent-client-lib/intenthandler.cpp')
-rw-r--r-- | src/intent-client-lib/intenthandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intent-client-lib/intenthandler.cpp b/src/intent-client-lib/intenthandler.cpp index 06b5fd15..a94b9902 100644 --- a/src/intent-client-lib/intenthandler.cpp +++ b/src/intent-client-lib/intenthandler.cpp @@ -1,5 +1,6 @@ /**************************************************************************** ** +** Copyright (C) 2019 The Qt Company Ltd. ** Copyright (C) 2019 Luxoft Sweden AB ** Copyright (C) 2018 Pelagicore AG ** Contact: https://www.qt.io/licensing/ @@ -95,7 +96,7 @@ QT_BEGIN_NAMESPACE_AM registered for via its intentIds property. Handling the request can be done synchronously or asynchronously. As soon as your handler has either produced a result or detected an error condition, it should call either - IntentClientRequest::sendReply() or IntentClientRequest::sendErrorReply respectively to send a + IntentRequest::sendReply() or IntentRequest::sendErrorReply respectively to send a reply back to the requesting party. Only the first call to one of these functions will have any effect. Any further invocations will be ignored. |