The QXmppDataForm::Media class represents a media field as defined by XEP-0221: Data Forms Media Element.
More...
#include <QXmppDataForm.h>
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 |
Destroys the media.
- Deprecated:
- This class is deprecated since QXmpp 1.1.
◆ height()
int QXmppDataForm::Media::height |
( |
| ) |
const |
Returns media's height.
- Deprecated:
- This method is deprecated since QXmpp 1.1. Use
QXmppDataForm::Field::mediaSize()
.height() instead.
◆ operator=()
Assigns other to this media.
- Deprecated:
- This class is deprecated since QXmpp 1.1.
◆ setHeight()
void QXmppDataForm::Media::setHeight |
( |
int |
height | ) |
|
Sets media's height.
- Deprecated:
- This method is deprecated since QXmpp 1.1. Use
QXmppDataForm::Field::mediaSize()
.setHeight() instead.
◆ 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 | ) |
|
Sets media's width.
- Deprecated:
- This method is deprecated since QXmpp 1.1. Use
QXmppDataForm::Field::mediaSize()
.setWidth() instead.
◆ uris()
QList< QPair< QString, QString > > QXmppDataForm::Media::uris |
( |
| ) |
const |
◆ width()
int QXmppDataForm::Media::width |
( |
| ) |
const |
Returns media's width.
- Deprecated:
- This method is deprecated since QXmpp 1.1. Use
QXmppDataForm::Field::mediaSize()
.width() instead.
The documentation for this class was generated from the following files: