Sur cette page

QRemoteObjectPendingCallWatcher Class

Fournit une API basée sur « QObject » permettant de suivre un QRemoteObjectPendingCall. En savoir plus...

En-tête : #include <QRemoteObjectPendingCallWatcher>
CMake : find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake : QT += remoteobjects
Hérite de :QObject et QRemoteObjectPendingCall

Fonctions publiques

bool isFinished() const
void waitForFinished()

Signaux

void finished(QRemoteObjectPendingCallWatcher *self)

Description détaillée

QRemoteObjectPendingCallWatcher fournit un signal indiquant quand un appel « QRemoteObjectPendingCall » s’est terminé, ce qui permet une gestion pratique et non bloquante de l’appel.

Documentation des fonctions membres

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

Ce signal est émis lorsque l'appel à distance est terminé. ` self ` est le pointeur vers l'objet observateur qui a émis le signal. Un appel terminé inclura une valeur de retour (`returnValue`) ou une erreur.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Renvoie « true » si l'appel distant est terminé, « false » dans le cas contraire.

Un appel terminé inclura une valeur de retour (returnValue) ou une erreur.

void QRemoteObjectPendingCallWatcher::waitForFinished()

Bloque jusqu'à ce que l'appel à distance soit terminé.

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