The QXmppStanza class is the base class for all XMPP stanzas.  
 More...
#include <QXmppStanza.h>
The QXmppStanza class is the base class for all XMPP stanzas. 
◆ QXmppStanza()
      
        
          | QXmppStanza::QXmppStanza | ( | const QString & | from = QString(), | 
        
          |  |  | const QString & | to = QString() | 
        
          |  | ) |  |  | 
      
 
Constructs a QXmppStanza with the specified sender and recipient.
- Parameters
- 
  
  
 
 
◆ extendedAddresses()
Returns the stanza's extended addresses as defined by XEP-0033: Extended Stanza Addressing. 
 
 
◆ extensions()
      
        
          | QXmppElementList QXmppStanza::extensions | ( |  | ) | const | 
      
 
Returns the stanza's "extensions".
Extensions are XML elements which are not handled internally by QXmpp. 
 
 
◆ isXmppStanza()
  
  | 
        
          | bool QXmppStanza::isXmppStanza | ( |  | ) | const |  | virtual | 
 
 
◆ setError()
      
        
          | void QXmppStanza::setError | ( | const QXmppStanza::Error & | error | ) |  | 
      
 
Sets the stanza's error.
- Parameters
- 
  
  
 
 
◆ setExtendedAddresses()
Sets the stanza's extended addresses as defined by XEP-0033: Extended Stanza Addressing. 
 
 
◆ setExtensions()
      
        
          | void QXmppStanza::setExtensions | ( | const QXmppElementList & | extensions | ) |  | 
      
 
Sets the stanza's "extensions".
- Parameters
- 
  
  
 
 
◆ setFrom()
      
        
          | void QXmppStanza::setFrom | ( | const QString & | from | ) |  | 
      
 
Sets the stanza's sender JID.
- Parameters
- 
  
  
 
 
◆ setId()
      
        
          | void QXmppStanza::setId | ( | const QString & | id | ) |  | 
      
 
Sets the stanza's identifier.
- Parameters
- 
  
  
 
 
◆ setLang()
      
        
          | void QXmppStanza::setLang | ( | const QString & | lang | ) |  | 
      
 
Sets the stanza's language.
- Parameters
- 
  
  
 
 
◆ setTo()
      
        
          | void QXmppStanza::setTo | ( | const QString & | to | ) |  | 
      
 
Sets the stanza's recipient JID.
- Parameters
- 
  
  
 
 
◆ to()
      
        
          | QString QXmppStanza::to | ( |  | ) | const | 
      
 
Returns the stanza's recipient JID. 
 
 
The documentation for this class was generated from the following files: