IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QRemoteObjectPendingCallWatcher Class

Provides a QObject-based API for watching a QRemoteObjectPendingCall.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QRemoteObjectPendingCallWatcher Class

  • Header: QRemoteObjectPendingCallWatcher

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)

    target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)

  • qmake: QT += remoteobjects

  • Inherits: QObject and QRemoteObjectPendingCall

  • Inherited By:

Detailed Description

QRemoteObjectPendingCallWatcher provides a signal indicating when a QRemoteObjectPendingCall has finished, allowing for convenient, non-blocking handling of the call.

Member Function Documentation

 

void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)

This signal is emitted when the remote call has finished. self is the pointer to the watcher object that emitted the signal. A finished call will include a returnValue or error.

bool QRemoteObjectPendingCallWatcher::isFinished() const

Returns true if the remote call has finished, false otherwise.

A finished call will include a returnValue or error.

void QRemoteObjectPendingCallWatcher::waitForFinished()

Blocks until the remote call has finished.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+