QXmppDialback Class

The QXmppDialback class represents a stanza used for the Server Dialback protocol as specified by XEP-0220: Server Dialback. More...

Header: #include <QXmppDialback.h>
Inherits: QXmppStanza

Public Types

enum Command { Result, Verify }

Public Functions

QXmppDialback()
QXmppDialback::Command command() const
QString key() const
void setCommand(QXmppDialback::Command command)
void setKey(const QString &key)
void setType(const QString &type)
QString type() const

Detailed Description

Member Type Documentation

enum QXmppDialback::Command

This enum is used to describe a dialback command.

ConstantValueDescription
QXmppDialback::Result0A dialback command between the originating server and the receiving server.
QXmppDialback::Verify1A dialback command between the receiving server and the authoritative server.

Member Function Documentation

QXmppDialback::QXmppDialback()

Constructs a QXmppDialback.

QXmppDialback::Command QXmppDialback::command() const

Returns the dialback command.

See also setCommand().

QString QXmppDialback::key() const

Returns the dialback key.

See also setKey().

void QXmppDialback::setCommand(QXmppDialback::Command command)

Sets the dialback command.

See also command().

void QXmppDialback::setKey(const QString &key)

Sets the dialback key.

See also key().

void QXmppDialback::setType(const QString &type)

Sets the dialback type.

See also type().

QString QXmppDialback::type() const

Returns the dialback type.

See also setType().