QXmpp Version: 1.5.6
|
Public Member Functions | |
QXmppTransferFileInfo (const QXmppTransferFileInfo &other) | |
Default copy-constructor. | |
QDateTime | date () const |
void | setDate (const QDateTime &date) |
QByteArray | hash () const |
void | setHash (const QByteArray &hash) |
QString | name () const |
void | setName (const QString &name) |
QString | description () const |
void | setDescription (const QString &description) |
qint64 | size () const |
void | setSize (qint64 size) |
bool | isNull () const |
QXmppTransferFileInfo & | operator= (const QXmppTransferFileInfo &other) |
Default assignment operator. | |
bool | operator== (const QXmppTransferFileInfo &other) const |
Contains information about a file that is transferred using QXmppTransferJob.
QDateTime QXmppTransferFileInfo::date | ( | ) | const |
Returns the last modification timestamp of the file.
QString QXmppTransferFileInfo::description | ( | ) | const |
Returns a description of the file.
QByteArray QXmppTransferFileInfo::hash | ( | ) | const |
Returns the checksum of the file.
bool QXmppTransferFileInfo::isNull | ( | ) | const |
Returns true if the file info has no valid data set.
QString QXmppTransferFileInfo::name | ( | ) | const |
Returns the name of the file.
bool QXmppTransferFileInfo::operator== | ( | const QXmppTransferFileInfo & | other | ) | const |
Returns true if the content (size, hash and name) of the file info objects equals.
void QXmppTransferFileInfo::setDate | ( | const QDateTime & | date | ) |
Sets the last modification timestamp of the file.
void QXmppTransferFileInfo::setDescription | ( | const QString & | description | ) |
Sets a description of the file.
void QXmppTransferFileInfo::setHash | ( | const QByteArray & | hash | ) |
Sets the checksum of the file.
void QXmppTransferFileInfo::setName | ( | const QString & | name | ) |
Sets the name of the file.
void QXmppTransferFileInfo::setSize | ( | qint64 | size | ) |
Sets the size of the file in bytes.
qint64 QXmppTransferFileInfo::size | ( | ) | const |
Returns the size of the file in bytes.