QXmppDiscoServicesWatch Class
Lightweight handle to a service discovery watch. More...
| Header: | #include <QXmppDiscoveryManager.h> |
| Since: | QXmpp 1.16 |
Public Functions
Detailed Description
Returned by QXmppDiscoveryManager::discoverServices(). Provides reactive access to discovered server services matching a filter. Cheap to copy — all copies share the same underlying state. When the last copy goes out of scope, the watch is automatically unregistered from the discovery manager.
Member Function Documentation
QBindable<bool> QXmppDiscoServicesWatch::loaded() const
Returns whether all discovery queries have completed.
QBindable<QList<QXmppDiscoService>> QXmppDiscoServicesWatch::services() const
Returns the list of discovered services matching the filter.