QXmppUploadService Class

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

Header: #include <QXmppUploadRequestManager.h>

Public Functions

QXmppUploadService(const QXmppUploadService &)
QString jid() const
void setJid(const QString &jid)
void setSizeLimit(qint64 sizeLimit)
qint64 sizeLimit() const
QXmppUploadService &operator=(const QXmppUploadService &)

Detailed Description

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

Member Function Documentation

QXmppUploadService::QXmppUploadService(const QXmppUploadService &)

Copy constructor

QString QXmppUploadService::jid() const

Returns the JID of the HTTP File Upload service.

See also setJid().

void QXmppUploadService::setJid(const QString &jid)

Sets the JID of the HTTP File Upload service.

jid.

See also jid().

void QXmppUploadService::setSizeLimit(qint64 sizeLimit)

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

sizeLimit.

See also sizeLimit().

qint64 QXmppUploadService::sizeLimit() const

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

A size limit of -1 means that there is no file size limit or it could not be determined.

See also setSizeLimit().

QXmppUploadService &QXmppUploadService::operator=(const QXmppUploadService &)

Equal operator