提供 QObject 基于其的 API 为看守 QRemoteObjectPendingCall . 更多...
头: | #include <QRemoteObjectPendingCallWatcher> |
CMake: |
find_package(Qt6 COMPONENTS RemoteObjects REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
qmake: | QT += remoteobjects |
继承: | QObject and QRemoteObjectPendingCall |
bool | isFinished () const |
void | waitForFinished () |
void | finished (QRemoteObjectPendingCallWatcher * self ) |
QRemoteObjectPendingCallWatcher provides a signal indicating when a QRemoteObjectPendingCall has finished, allowing for convenient, non-blocking handling of the call.
[signal]
void
QRemoteObjectPendingCallWatcher::
finished
(
QRemoteObjectPendingCallWatcher
*
self
)
This signal is emitted when the remote call has finished. self is the pointer to the watcher object that emitted the signal. A finished call will include a returnValue or error.
Returns true if the remote call has finished, false otherwise.
A finished call will include a returnValue or error.
Blocks until the remote call has finished.