Sur cette page

QRemoteObjectPendingCallWatcher Class

Fournit une API basée sur QObject pour regarder un site QRemoteObjectPendingCall. 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 : QObject et QRemoteObjectPendingCall

Fonctions publiques

bool isFinished() const
void waitForFinished()

Signaux

void finished(QRemoteObjectPendingCallWatcher *self)

Description détaillée

QRemoteObjectPendingCallWatcher fournit un signal indiquant que l'appel QRemoteObjectPendingCall 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 distant est terminé. self est le pointeur vers l'objet d'observation qui a émis le signal. Un appel terminé inclura une valeur de retour ou une erreur.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Retourne true si l'appel distant est terminé, false sinon.

Un appel terminé inclura une valeur de retour 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.