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

返迴 true 若遠程調用已完成,false 否則。

已完成調用將包括 returnValue or error.

void QRemoteObjectPendingCallWatcher:: waitForFinished ()

阻塞直到遠程調用已完成。