QXmppFileSourcesAttachment Class
| Header: | #include <QXmppFileShare.h> |
| Since: | QXmpp 1.7 |
Public Functions
| QXmppFileSourcesAttachment() | |
| const QList<QXmppEncryptedFileSource> & | encryptedSources() const |
| const QList<QXmppHttpFileSource> & | httpSources() const |
| const QString & | id() const |
| void | setEncryptedSources(const QList<QXmppEncryptedFileSource> &newEncryptedSources) |
| void | setHttpSources(const QList<QXmppHttpFileSource> &newHttpSources) |
| void | setId(const QString &id) |
| void | toXml(QXmpp::Private::XmlWriter &writer) const |
Detailed Description
Attachment of file sources to a previous file sharing element from XEP-0447: Stateless file sharing.
Member Function Documentation
QXmppFileSourcesAttachment::QXmppFileSourcesAttachment()
Default constructor
const QList<QXmppEncryptedFileSource> &QXmppFileSourcesAttachment::encryptedSources() const
Returns the encrypted sources for this file.
See also setEncryptedSources().
const QList<QXmppHttpFileSource> &QXmppFileSourcesAttachment::httpSources() const
Returns the HTTP sources for this file.
See also setHttpSources().
const QString &QXmppFileSourcesAttachment::id() const
Returns the ID of the referenced file-sharing element.
See also setId().
void QXmppFileSourcesAttachment::setEncryptedSources(const QList<QXmppEncryptedFileSource> &newEncryptedSources)
Sets the encrypted sources for this file.
newEncryptedSources.
See also encryptedSources().
void QXmppFileSourcesAttachment::setHttpSources(const QList<QXmppHttpFileSource> &newHttpSources)
Sets the HTTP sources for this file.
newHttpSources.
See also httpSources().
void QXmppFileSourcesAttachment::setId(const QString &id)
Sets the ID of the referenced file-sharing element.
id.
See also id().
void QXmppFileSourcesAttachment::toXml(QXmpp::Private::XmlWriter &writer) const
Serialize to XML
writer.