summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectpendingcall.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-141-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I315d7ce1d6c6c3497afdfe8b61a113fdc181c935 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Replace Q_DECLARE_METATYPE with QT_DECL_METATYPE_EXTERNSona Kurazyan2022-06-091-0/+2
| | | | | | | | | | | | | This reduces compilation time by avoiding repeated metatype instantiations. Can't backport to Qt 6.3 or 6.2 because this change introduces new exported symbols. Pick-to: 6.4 Fixes: QTBUG-102219 Change-Id: Ice0f606bdcfa283b8eb89c57c4b06650d3f88928 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Doc: Fix documentation warningsv5.14.0-rc1Topi Reinio2019-11-141-1/+4
| | | | | | | | | Fix missing return value and parameter documentation, and do other minor touch-ups. Fixes: QTBUG-79818 Change-Id: Ic5c818ea68b8d57846133a1236f82e2a1a10b135 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Add basic documentation for QRemoteObjectPendingCall and friendsMichael Brasser2019-10-031-0/+69
| | | | | Change-Id: I359e890b6b4d2ff587f5445c677f04e47e16cdd0 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Fix include directivesFriedemann Kleint2019-01-181-1/+1
| | | | | | | | | | Always prepend the module and use headers directly. Qt for Python requires the modules to be present. Task-number: PYSIDE-862 Fixes: QTBUG-72675 Change-Id: I94e38fbab0f041370ca9d67ca13c78f0d33816b7 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Rename ReplicaPrivate -> ReplicaImplementationKevin Funk2017-10-061-1/+1
| | | | | | | | | | | | | | All those implementations for the QtROReplica ('InProcess', 'Connected', 'RemoteObject') aren't technically d-pointers. Mark them as such by naming them differently. This also has the nice benefit that one does not override QObject's 'd_ptr' variable accidentally with these implementation instances. Needed in order to pimpl QRemoteObjectRegistry properly Change-Id: I88322e37d2ff7e5044980e8fdf9f713d6be80c38 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Cleanup: Get rid off uses of Q_PRIVATE_SLOTKevin Funk2017-09-251-9/+3
| | | | | | Change-Id: I59b83f70a034aa5ffc432360e1bfbf173d6dffe7 Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Correct QtRO license headers and added missing license filesv5.9.0-beta4Jani Heikkinen2017-05-021-13/+19
| | | | | | | | | | | | | Unify licensing as it is in other submodules - Src is licensed under Commercial, LGPLv3, GPLv2 and GPLv3 licenses - Examples are licensed under Commercial and BSD licenses - Tools and tests are licensed under commercial and GPLv3 license with some exceptions Task-number: QTBUG-58921 Change-Id: I4494bf8b705568b243340c98316bedd706145db5 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Replace Q_NULLPTR -> nullptrKevin Funk2017-03-291-1/+1
| | | | | | | | Skip the moc/ directory intentionally, since it contains third-party code Change-Id: I97105e475c109231e001dc4525b3096a06601868 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
* Fixes for license checkBrett Stottlemyer2017-01-141-21/+13
| | | | | | | | Change-Id: I3cf39180b08b80ea65c46e7b6a9e81f3aa79d1af Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Remove not necessary includesMontel Laurent2014-12-181-1/+0
| | | | | | | Change-Id: I2834e5ba94c4a5a1d9a3d2b572e27c86f77fc794 Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Implement QRemoteObjectPending{Call, Reply}Kevin Funk2014-11-201-0/+208
This patch introduces the following classes in QTRO: * QRemoteObjectPendingCall (let's call it ROPC) * template<typename T> QRemoteObjectPendingReply (based on ROPC) * QRemoteObjectPendingCallWatcher (QObject, based on ROPC) This works for both in-process and connected versions replicas. Also works with dynamic replicas. Note that these classes' design is loosely copied from QtDBus's API. (They also have a 'pending call', and watchers.) Usage: QRemoteObjectPendingReply<bool> reply = engine_r->start(); QCOMPARE(reply.error(), QRemoteObjectPendingCall::InvalidMessage); reply.waitForFinished(); QVERIFY(reply.isFinished()); QCOMPARE(reply.returnValue(), true); TODO: * Error handling (i.e. what to do with invocations where we never get a reply for?) Change-Id: I9d2556b3fcd47a3804c1ada5db526b78c311c0a1 Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>