|
QXmpp
Version:0.9.3
|
The QXmppJingleIq class represents an IQ used for initiating media sessions as specified by XEP-0166: Jingle. More...
#include <QXmppJingleIq.h>
Public Types | |
| enum | Action { ContentAccept, ContentAdd, ContentModify, ContentReject, ContentRemove, DescriptionInfo, SecurityInfo, SessionAccept, SessionInfo, SessionInitiate, SessionTerminate, TransportAccept, TransportInfo, TransportReject, TransportReplace } |
| This enum is used to describe a Jingle action. | |
Public Member Functions | |
| QXmppJingleIq () | |
| Constructs a QXmppJingleIq. | |
| QXmppJingleIq (const QXmppJingleIq &other) | |
| QXmppJingleIq & | operator= (const QXmppJingleIq &other) |
| Action | action () const |
| Returns the Jingle IQ's action. | |
| void | setAction (Action action) |
| void | addContent (const Content &content) |
| Adds an element to the IQ's content elements. | |
| QList< Content > | contents () const |
| Returns the IQ's content elements. | |
| void | setContents (const QList< Content > &contents) |
| Sets the IQ's content elements. | |
| QString | initiator () const |
| Returns the session initiator. | |
| void | setInitiator (const QString &initiator) |
| Reason & | reason () |
| Returns a reference to the IQ's reason element. | |
| const Reason & | reason () const |
| Returns a const reference to the IQ's reason element. | |
| QString | responder () const |
| Returns the session responder. | |
| void | setResponder (const QString &responder) |
| bool | ringing () const |
| Returns true if the call is ringing. | |
| void | setRinging (bool ringing) |
| QString | sid () const |
| Returns the session ID. | |
| void | setSid (const QString &sid) |
The QXmppJingleIq class represents an IQ used for initiating media sessions as specified by XEP-0166: Jingle.
| QXmppJingleIq::QXmppJingleIq | ( | const QXmppJingleIq & | other | ) |
Constructs a copy of other.
| other |
| QXmppJingleIq & QXmppJingleIq::operator= | ( | const QXmppJingleIq & | other | ) |
Assigns the other Jingle IQ to this one.
| other |
| void QXmppJingleIq::setAction | ( | QXmppJingleIq::Action | action | ) |
Sets the Jingle IQ's action.
| action |
| void QXmppJingleIq::setInitiator | ( | const QString & | initiator | ) |
Sets the session initiator.
| initiator |
| void QXmppJingleIq::setResponder | ( | const QString & | responder | ) |
Sets the session responder.
| responder |
| void QXmppJingleIq::setRinging | ( | bool | ringing | ) |
Set to true if the call is ringing.
| ringing |
| void QXmppJingleIq::setSid | ( | const QString & | sid | ) |
Sets the session ID.
| sid |
1.7.6.1