QXmppSdpParameter Class
The QXmppSdpParameter class represents a Session Description Protocol (SDP) parameter specified by RFC 4566 and used by several XEPs based on XEP-0166: Jingle. More...
| Header: | #include <QXmppJingleData.h> |
| Since: | QXmpp 1.5 |
Public Functions
| QXmppSdpParameter() | |
| QString | name() const |
| void | setName(const QString &name) |
| void | setValue(const QString &value) |
| QString | value() const |
Static Public Members
| bool | isSdpParameter(const QDomElement &element) |
Detailed Description
Member Function Documentation
QXmppSdpParameter::QXmppSdpParameter()
Constructs a Session Description Protocol parameter.
[static] bool QXmppSdpParameter::isSdpParameter(const QDomElement &element)
Determines whether the given DOM element is a Session Description Protocol parameter element.
Returns true if element is a Session Description Protocol parameter element.
QString QXmppSdpParameter::name() const
Returns the name of the parameter.
See also setName().
void QXmppSdpParameter::setName(const QString &name)
Sets the name of the parameter.
See also name().
void QXmppSdpParameter::setValue(const QString &value)
Sets the value of the parameter.
A parameter in the form "a=b" can be created by this method. Any other form of parameters can be created by not using this method. The value stays a default-constructed QString then.
See also value().
QString QXmppSdpParameter::value() const
Returns the value of the parameter.
See also setValue().