QXmpp  Version:0.4.92
 All Classes Functions Enumerations Enumerator Properties Groups
Public Member Functions
QXmppBindIq Class Reference

The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 5921. More...

#include <QXmppBindIq.h>

Inheritance diagram for QXmppBindIq:
QXmppIq QXmppStanza

List of all members.

Public Member Functions

QString jid () const
void setJid (const QString &)
QString resource () const
void setResource (const QString &)
- Public Member Functions inherited from QXmppIq
 QXmppIq (QXmppIq::Type type=QXmppIq::Get)
QXmppIq::Type type () const
void setType (QXmppIq::Type)
- Public Member Functions inherited from QXmppStanza
 QXmppStanza (const QString &from=QString(), const QString &to=QString())
virtual ~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)

Additional Inherited Members

- Public Types inherited from QXmppIq
enum  Type { Error = 0, Get, Set, Result }
 This enum describes the type of IQ. More...

Detailed Description

The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 5921.


Member Function Documentation

QString QXmppBindIq::jid ( ) const

Returns the bound JID.

QString QXmppBindIq::resource ( ) const

Returns the requested resource.

void QXmppBindIq::setJid ( const QString &  jid)

Sets the bound JID.

Parameters:
jid
void QXmppBindIq::setResource ( const QString &  resource)

Sets the requested resource.

Parameters:
resource

The documentation for this class was generated from the following files: