QXmppHttpUploadService Class

QXmppHttpUploadService represents an HTTP File Upload service. More...

Header: #include <QXmppHttpUploadManager.h>

Public Functions

QString jid() const
void setJid(const QString &jid)
void setSizeLimit(std::optional<quint64> sizeLimit)
std::optional<quint64> sizeLimit() const
(since QXmpp 1.17) bool operator==(const QXmppHttpUploadService &other) const

Detailed Description

It is used to store the JID and maximum file size for uploads.

Member Function Documentation

QString QXmppHttpUploadService::jid() const

Returns the JID of the HTTP File Upload service.

See also setJid().

void QXmppHttpUploadService::setJid(const QString &jid)

Sets the JID of the HTTP File Upload service.

jid.

See also jid().

void QXmppHttpUploadService::setSizeLimit(std::optional<quint64> sizeLimit)

Sets the size limit of files that can be uploaded to this upload service.

sizeLimit.

See also sizeLimit().

std::optional<quint64> QXmppHttpUploadService::sizeLimit() const

Returns the size limit of files that can be uploaded to this upload service.

See also setSizeLimit().

[since QXmpp 1.17] bool QXmppHttpUploadService::operator==(const QXmppHttpUploadService &other) const

Returns true if other has the same JID and size limit.

This function was introduced in QXmpp 1.17.