The QXmppStanza class is the base class for all XMPP stanzas.
More...
#include <QXmppStanza.h>
List of all members.
Public Member Functions |
| QXmppStanza (const QString &from=QString(), const QString &to=QString()) |
| ~QXmppStanza () |
| Destroys a QXmppStanza.
|
QString | to () const |
void | setTo (const QString &) |
QString | from () const |
| Returns the stanza's sender JID.
|
void | setFrom (const QString &) |
QString | id () const |
| Returns the stanza's identifier.
|
void | setId (const QString &) |
QString | lang () const |
| Returns the stanza's language.
|
void | setLang (const QString &) |
QXmppStanza::Error | error () const |
| Returns the stanza's error.
|
void | setError (const QXmppStanza::Error &error) |
QXmppElementList | extensions () const |
void | setExtensions (const QXmppElementList &elements) |
Detailed Description
The QXmppStanza class is the base class for all XMPP stanzas.
Constructor & Destructor Documentation
QXmppStanza::QXmppStanza |
( |
const QString & |
from = QString() , |
|
|
const QString & |
to = QString() |
|
) |
| |
Constructs a QXmppStanza with the specified sender and recipient.
- Parameters:
-
Member Function Documentation
QXmppElementList QXmppStanza::extensions |
( |
| ) |
const |
Returns the stanza's "extensions".
Extensions are XML elements which are not handled internally by QXmpp.
void QXmppStanza::setError |
( |
const QXmppStanza::Error & |
error | ) |
|
Sets the stanza's error.
- Parameters:
-
void QXmppStanza::setExtensions |
( |
const QXmppElementList & |
extensions | ) |
|
Sets the stanza's "extensions".
- Parameters:
-
void QXmppStanza::setFrom |
( |
const QString & |
from | ) |
|
Sets the stanza's sender JID.
- Parameters:
-
void QXmppStanza::setId |
( |
const QString & |
id | ) |
|
Sets the stanza's identifier.
- Parameters:
-
void QXmppStanza::setLang |
( |
const QString & |
lang | ) |
|
Sets the stanza's language.
- Parameters:
-
void QXmppStanza::setTo |
( |
const QString & |
to | ) |
|
Sets the stanza's recipient JID.
- Parameters:
-
QString QXmppStanza::to |
( |
| ) |
const |
Returns the stanza's recipient JID.
The documentation for this class was generated from the following files: