QEverCloud  4.0.0
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::RelatedContentImage Struct Reference

#include <types.h>

Public Member Functions

bool operator== (const RelatedContentImage &other) const
 
bool operator!= (const RelatedContentImage &other) const
 

Public Attributes

Optional< QString > url
 
Optional< qint32 > width
 
Optional< qint32 > height
 
Optional< double > pixelRatio
 
Optional< qint32 > fileSize
 

Detailed Description

An external image that can be shown with a related content snippet, usually either a JPEG or PNG image. It is up to the client which image(s) are shown, depending on available screen real estate, resolution and aspect ratio.

Member Function Documentation

◆ operator!=()

bool qevercloud::RelatedContentImage::operator!= ( const RelatedContentImage other) const
inline

◆ operator==()

bool qevercloud::RelatedContentImage::operator== ( const RelatedContentImage other) const
inline

Member Data Documentation

◆ fileSize

Optional< qint32 > qevercloud::RelatedContentImage::fileSize

the size of the image file, in bytes

◆ height

Optional< qint32 > qevercloud::RelatedContentImage::height

The height of the image, in pixels.

◆ pixelRatio

Optional< double > qevercloud::RelatedContentImage::pixelRatio

the pixel ratio (usually either 1.0, 1.5 or 2.0)

◆ url

Optional< QString > qevercloud::RelatedContentImage::url

The external URL of the image

◆ width

Optional< qint32 > qevercloud::RelatedContentImage::width

The width of the image, in pixels.