QXmpp
Version:1.3.1
|
The QXmppDataForm::MediaSource
class represents a link to one of possibly multiple sources for a media element from XEP-0221: Data Forms Media Element consisting of a MIME type and a QUrl.
More...
#include <QXmppDataForm.h>
Public Member Functions | |
MediaSource (const QUrl &uri, const QMimeType &contentType) | |
MediaSource (const QXmppDataForm::MediaSource &) | |
MediaSource & | operator= (const MediaSource &) |
QUrl | uri () const |
void | setUri (const QUrl &uri) |
Sets the URI. | |
QMimeType | contentType () const |
Returns the content type of the source. | |
void | setContentType (const QMimeType &contentType) |
Sets the content type of the media source. | |
bool | operator== (const MediaSource &other) const |
Returns true if two media sources are identical. | |
The QXmppDataForm::MediaSource
class represents a link to one of possibly multiple sources for a media element from XEP-0221: Data Forms Media Element consisting of a MIME type and a QUrl.
QUrl QXmppDataForm::MediaSource::uri | ( | ) | const |
Returns the media URI as QUrl. This can be i.e. a http://
URL or a cid:
Bits of Binary URI.