QRemoteObjectPendingCallWatcher Class
Ofrece una API basada en QObject para ver QRemoteObjectPendingCall. Más información...
| Encabezado: | #include <QRemoteObjectPendingCallWatcher> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake: | QT += remoteobjects |
| Heredado de: | 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 « QRemoteObjectPendingCall », lo que permite gestionar la llamada de forma cómoda y sin bloqueos.
Documentación de las funciones de miembro
[signal] void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)
Esta señal se emite cuando la llamada remota ha finalizado. ` self ` es el puntero al objeto observador 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; en caso contrario, devuelve «false».
Una llamada finalizada incluirá un valor de retorno o un error.
void QRemoteObjectPendingCallWatcher::waitForFinished()
Bloquea hasta que haya finalizado 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.