QRemoteObjectPendingCallWatcher Class
Bietet eine QObject-basierte API zum Beobachten einer QRemoteObjectPendingCall. Mehr...
Kopfzeile: | #include <QRemoteObjectPendingCallWatcher> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
qmake: | QT += remoteobjects |
Erbt: | QObject und QRemoteObjectPendingCall |
Öffentliche Funktionen
bool | isFinished() const |
void | waitForFinished() |
Signale
void | finished(QRemoteObjectPendingCallWatcher *self) |
Detaillierte Beschreibung
QRemoteObjectPendingCallWatcher stellt ein Signal zur Verfügung, das anzeigt, wann ein QRemoteObjectPendingCall beendet ist, was eine bequeme, nicht-blockierende Bearbeitung des Aufrufs ermöglicht.
Dokumentation der Mitgliedsfunktionen
[signal]
void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)
Dieses Signal wird ausgesendet, wenn der Fernaufruf beendet ist. self ist der Zeiger auf das Watcher-Objekt, das das Signal ausgesendet hat. Ein beendeter Aufruf enthält einen ReturnValue oder einen Fehler.
bool QRemoteObjectPendingCallWatcher::isFinished() const
Gibt true zurück, wenn der Fernaufruf beendet ist, andernfalls false.
Ein beendeter Aufruf enthält einen returnValue oder einen Fehler.
void QRemoteObjectPendingCallWatcher::waitForFinished()
Blockiert, bis der Fernanruf beendet ist.
© 2025 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.