このページでは

QRemoteObjectPendingCallWatcher Class

QRemoteObjectPendingCall を監視するための、QObject ベースの API を提供します。詳細...

ヘッダー: #include <QRemoteObjectPendingCallWatcher>
CMake: find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake: QT += remoteobjects
継承元:QObject およびQRemoteObjectPendingCall

パブリック関数

bool isFinished() const
void waitForFinished()

シグナル

void finished(QRemoteObjectPendingCallWatcher *self)

詳細な説明

QRemoteObjectPendingCallWatcher は、QRemoteObjectPendingCall が終了したことを示すシグナルを提供し、呼び出しを便利かつノンブロッキングで処理できるようにします。

メンバ関数のドキュメント

[signal] void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)

このシグナルは、リモート呼び出しが終了したときに発火します。self は、シグナルを発火させたウォッチャーオブジェクトへのポインタです。完了した呼び出しには、returnValue または error が含まれます。

bool QRemoteObjectPendingCallWatcher::isFinished() const

リモート呼び出しが終了した場合はtrueを返し、そうでない場合はfalseを返します。

完了した呼び出しには、returnValue または error が含まれます。

void QRemoteObjectPendingCallWatcher::waitForFinished()

リモート呼び出しが終了するまで処理を保留します。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.