QRemoteObjectPendingCallWatcher 类

提供 QObject 基于其的 API 为看守 QRemoteObjectPendingCall . 更多...

头: #include <QRemoteObjectPendingCallWatcher>
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.

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.