Nesta página

QRemoteObjectPendingCallWatcher Class

Oferece uma API baseada em QObject para acessar QRemoteObjectPendingCall. Mais...

Cabeçalho: #include <QRemoteObjectPendingCallWatcher>
CMake: find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake: QT += remoteobjects
Herdado de:QObject e QRemoteObjectPendingCall

Funções públicas

bool isFinished() const
void waitForFinished()

Sinais

void finished(QRemoteObjectPendingCallWatcher *self)

Descrição detalhada

QRemoteObjectPendingCallWatcher fornece um sinal indicando quando uma chamada pendente ( QRemoteObjectPendingCall ) foi concluída, permitindo um tratamento conveniente e sem bloqueio da chamada.

Documentação das funções de membro

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

Esse sinal é emitido quando a chamada remota é concluída. ` self ` é o ponteiro para o objeto observador que emitiu o sinal. Uma chamada concluída incluirá um `returnValue` ou um `error`.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Retorna `true` se a chamada remota tiver sido concluída; caso contrário, retorna `false`.

Uma chamada concluída incluirá um `returnValue` ou um `error`.

void QRemoteObjectPendingCallWatcher::waitForFinished()

Bloqueia até que a chamada remota seja concluída.

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