A content info class for image/video content types and thumbnails.
More...
#include <eventcontent.h>
|
| | ImageInfo ()=default |
| |
| | ImageInfo (const QFileInfo &fi, QSize imageSize={}) |
| |
| | ImageInfo (FileSourceInfo sourceInfo, qint64 fileSize=-1, const QMimeType &type={}, QSize imageSize={}, const QString &originalFilename={}) |
| |
| | ImageInfo (FileSourceInfo sourceInfo, const QJsonObject &infoJson, const QString &originalFilename={}) |
| |
| | FileInfo ()=default |
| |
| | FileInfo (const QFileInfo &fi) |
| | Construct from a QFileInfo object.
|
| |
| | FileInfo (FileSourceInfo sourceInfo, qint64 payloadSize=-1, const QMimeType &mimeType={}, QString originalFilename={}) |
| |
| | FileInfo (FileSourceInfo sourceInfo, const QJsonObject &infoJson, QString originalFilename={}) |
| | Construct from a JSON info payload.
|
| |
| bool | isValid () const |
| |
| QUrl | url () const |
| |
| QString | mediaId () const |
| | Extract media id from the URL.
|
| |
A content info class for image/video content types and thumbnails.
Definition at line 127 of file eventcontent.h.
◆ ImageInfo() [1/4]
| Quotient::EventContent::ImageInfo::ImageInfo |
( |
| ) |
|
|
default |
◆ ImageInfo() [2/4]
| Quotient::EventContent::ImageInfo::ImageInfo |
( |
const QFileInfo & |
fi, |
|
|
QSize |
imageSize = {} |
|
) |
| |
|
explicit |
◆ ImageInfo() [3/4]
| Quotient::EventContent::ImageInfo::ImageInfo |
( |
FileSourceInfo |
sourceInfo, |
|
|
qint64 |
fileSize = -1, |
|
|
const QMimeType & |
type = {}, |
|
|
QSize |
imageSize = {}, |
|
|
const QString & |
originalFilename = {} |
|
) |
| |
|
explicit |
◆ ImageInfo() [4/4]
| Quotient::EventContent::ImageInfo::ImageInfo |
( |
FileSourceInfo |
sourceInfo, |
|
|
const QJsonObject & |
infoJson, |
|
|
const QString & |
originalFilename = {} |
|
) |
| |
◆ imageSize
| QSize Quotient::EventContent::ImageInfo::imageSize |
The documentation for this struct was generated from the following file: