The QXmppDataForm::Media class represents a media field as defined by XEP-0221: Data Forms Media Element.
- Deprecated:
- This class is deprecated since QXmpp 1.1.
◆ Media() [1/2]
QXmppDataForm::Media::Media |
( |
| ) |
|
◆ Media() [2/2]
Constructs a copy of other.
- Deprecated:
- This class is deprecated since QXmpp 1.1.
◆ ~Media()
QXmppDataForm::Media::~Media |
( |
| ) |
|
|
default |
◆ height()
int QXmppDataForm::Media::height |
( |
| ) |
const |
◆ isNull()
bool QXmppDataForm::Media::isNull |
( |
| ) |
const |
Returns true if no media tag present.
◆ operator=()
Assigns other to this media.
- Deprecated:
- This class is deprecated since QXmpp 1.1.
◆ setHeight()
void QXmppDataForm::Media::setHeight |
( |
int |
height | ) |
|
◆ setUris()
void QXmppDataForm::Media::setUris |
( |
const QList< QPair< QString, QString > > & |
uris | ) |
|
Sets media's uris.
- Deprecated:
- This method is deprecated since QXmpp 1.1. Use
QXmppDataForm::Media::setMediaSources()
instead.
◆ setWidth()
void QXmppDataForm::Media::setWidth |
( |
int |
width | ) |
|
◆ uris()
QList< QPair< QString, QString > > QXmppDataForm::Media::uris |
( |
| ) |
const |
◆ width()
int QXmppDataForm::Media::width |
( |
| ) |
const |
The documentation for this class was generated from the following files: