이 페이지에서

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.