QRemoteObjectPendingCallWatcher Class

Provides a QObject-based API for watching a QRemoteObjectPendingCall. More...

Header: #include <QRemoteObjectPendingCallWatcher>
qmake: QT += remoteobjects
Inherits: QObject and QRemoteObjectPendingCall

Public Functions

bool isFinished() const
void waitForFinished()

Signals

void finished(QRemoteObjectPendingCallWatcher *self)

Detailed Description

QRemoteObjectPendingCallWatcher provides a signal indicating when a QRemoteObjectPendingCall has finished, allowing for convenient, non-blocking handling of the call.

Member Function Documentation

[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.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Returns true if the remote call has finished, false otherwise.

A finished call will include a returnValue or error.

void QRemoteObjectPendingCallWatcher::waitForFinished()

Blocks until the remote call has finished.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qremoteobjectpendingcallwatcher.html