En esta página

QRemoteObjectPendingCallWatcher Class

Proporciona una API basada en QObject para ver un QRemoteObjectPendingCall. Más...

Cabecera: #include <QRemoteObjectPendingCallWatcher>
CMake: find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake: QT += remoteobjects
Hereda: QObject y QRemoteObjectPendingCall

Funciones Públicas

bool isFinished() const
void waitForFinished()

Señales

void finished(QRemoteObjectPendingCallWatcher *self)

Descripción Detallada

QRemoteObjectPendingCallWatcher proporciona una señal que indica cuándo ha finalizado una llamada a QRemoteObjectPendingCall, lo que permite una gestión cómoda y sin bloqueos de la llamada.

Documentación de las funciones de los miembros

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

Esta señal se emite cuando la llamada remota ha finalizado. self es el puntero al objeto vigilante que ha emitido la señal. Una llamada finalizada incluirá un returnValue o un error.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Devuelve true si la llamada remota ha finalizado, false en caso contrario.

Una llamada finalizada incluirá un returnValue o un error.

void QRemoteObjectPendingCallWatcher::waitForFinished()

Se bloquea hasta que finaliza la llamada remota.

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