The QXmppDiscoveryManager class makes it possible to discover information about other entities as defined by XEP-0030: Service Discovery.  
 More...
#include <QXmppDiscoveryManager.h>
|  | 
| void | infoReceived (const QXmppDiscoveryIq &) | 
|  | This signal is emitted when an information response is received. 
 | 
|  | 
| void | itemsReceived (const QXmppDiscoveryIq &) | 
|  | This signal is emitted when an items response is received. 
 | 
|  | 
| void | setGauge (const QString &gauge, double value) | 
|  | Sets the given gauge to value. 
 | 
|  | 
| void | logMessage (QXmppLogger::MessageType type, const QString &msg) | 
|  | This signal is emitted to send logging messages. 
 | 
|  | 
| void | updateCounter (const QString &counter, qint64 amount=1) | 
|  | Updates the given counter by amount. 
 | 
|  | 
The QXmppDiscoveryManager class makes it possible to discover information about other entities as defined by XEP-0030: Service Discovery. 
◆ InfoResult
◆ ItemsResult
Contains a list of service discovery items or (in case the request did not succeed) a QXmppStanza::Error.
- Since
- QXmpp 1.5 
 
 
◆ capabilities()
Returns the client's full capabilities. 
 
 
◆ clientCapabilitiesNode()
      
        
          | QString QXmppDiscoveryManager::clientCapabilitiesNode | ( |  | ) | const | 
      
 
Returns the capabilities node of the local XMPP client.
By default this is "https://github.com/qxmpp-project/qxmpp". 
 
 
◆ clientCategory()
      
        
          | QString QXmppDiscoveryManager::clientCategory | ( |  | ) | const | 
      
 
Returns the category of the local XMPP client.
By default this is "client". 
 
 
◆ clientInfoForm()
Returns the client's extended information form, as defined by XEP-0128: Service Discovery Extensions. 
 
 
◆ clientName()
      
        
          | QString QXmppDiscoveryManager::clientName | ( |  | ) | const | 
      
 
Returns the name of the local XMPP client.
By default this is "Based on QXmpp x.y.z". 
 
 
◆ clientType()
      
        
          | QString QXmppDiscoveryManager::clientType | ( |  | ) | const | 
      
 
Returns the type of the local XMPP client.
With Qt builds for Android, Blackberry, iOS or Windows Phone this is set to "phone", otherwise it defaults to "pc". 
 
 
◆ requestDiscoInfo()
Requests information from the specified XMPP entity.
- Parameters
- 
  
    | jid | The target entity's JID. |  | node | The target node (optional). |  
 
- Warning
- THIS API IS NOT FINALIZED YET!
- Since
- QXmpp 1.5 
 
 
◆ requestDiscoItems()
Requests items from the specified XMPP entity.
- Parameters
- 
  
    | jid | The target entity's JID. |  | node | The target node (optional). |  
 
- Warning
- THIS API IS NOT FINALIZED YET!
- Since
- QXmpp 1.5 
 
 
◆ requestInfo()
      
        
          | QString QXmppDiscoveryManager::requestInfo | ( | const QString & | jid, | 
        
          |  |  | const QString & | node = QString() | 
        
          |  | ) |  |  | 
      
 
Requests information from the specified XMPP entity.
- Parameters
- 
  
    | jid | The target entity's JID. |  | node | The target node (optional). |  
 
 
 
◆ requestItems()
      
        
          | QString QXmppDiscoveryManager::requestItems | ( | const QString & | jid, | 
        
          |  |  | const QString & | node = QString() | 
        
          |  | ) |  |  | 
      
 
Requests items from the specified XMPP entity.
- Parameters
- 
  
    | jid | The target entity's JID. |  | node | The target node (optional). |  
 
 
 
◆ setClientCapabilitiesNode()
      
        
          | void QXmppDiscoveryManager::setClientCapabilitiesNode | ( | const QString & | node | ) |  | 
      
 
Sets the capabilities node of the local XMPP client.
- Parameters
- 
  
  
 
 
◆ setClientCategory()
      
        
          | void QXmppDiscoveryManager::setClientCategory | ( | const QString & | category | ) |  | 
      
 
 
◆ setClientInfoForm()
      
        
          | void QXmppDiscoveryManager::setClientInfoForm | ( | const QXmppDataForm & | form | ) |  | 
      
 
Sets the client's extended information form, as defined by XEP-0128: Service Discovery Extensions. 
 
 
◆ setClientName()
      
        
          | void QXmppDiscoveryManager::setClientName | ( | const QString & | name | ) |  | 
      
 
Sets the name of the local XMPP client.
- Parameters
- 
  
  
 
 
◆ setClientType()
      
        
          | void QXmppDiscoveryManager::setClientType | ( | const QString & | type | ) |  | 
      
 
 
The documentation for this class was generated from the following files: