digiKam
DigikamGenericYFPlugin::YFPhoto Class Reference

Public Types

enum  Access { ACCESS_PUBLIC = 0 , ACCESS_FRIENDS , ACCESS_PRIVATE }
 

Public Member Functions

Access access () const
 
const QString & author () const
 
const QDateTime & createdDate () const
 
const QDateTime & editedDate () const
 
bool isAdult () const
 
bool isDisableComments () const
 
bool isHideOriginal () const
 
QString localUrl () const
 
QString originalUrl () const
 
const QDateTime & publishedDate () const
 
QString remoteUrl () const
 
void setAccess (Access access)
 
void setAdult (bool adult)
 
void setDisableComments (bool disableComments)
 
void setHideOriginal (bool hideOriginal)
 
void setLocalUrl (const QString &localUrl)
 
void setOriginalUrl (const QString &originalUrl)
 
void setSummary (const QString &summary)
 
void setTitle (const QString &title)
 
const QString & summary () const
 
const QString & title () const
 
QString toString () const
 
const QDateTime & updatedDate () const
 
const QString & urn () const
 
 YFPhoto ()
 
 YFPhoto (const YFPhoto &other)
 
 ~YFPhoto ()=default
 

Public Attributes

QStringList tags
 

Protected Member Functions

 YFPhoto (const QString &urn, const QString &author, const QString &title, const QString &summary, const QString &apiEditUrl, const QString &apiSelfUrl, const QString &apiMediaUrl, const QString &apiAlbumUrl, const QDateTime &publishedDate, const QDateTime &editedDate, const QDateTime &updatedDate, const QDateTime &createdDate, Access access, bool hideOriginal, bool disableComments, bool adult, const QString &remoteUrl)
 

Protected Attributes

Access m_access
 
bool m_adult
 
QString m_apiAlbumUrl
 
QString m_apiEditUrl
 
QString m_apiMediaUrl
 
QString m_apiSelfUrl
 
QString m_author
 
QDateTime m_createdDate
 
bool m_disableComments
 
QDateTime m_editedDate
 
bool m_hideOriginal
 
QString m_localUrl
 
QString m_originalUrl
 
QDateTime m_publishedDate
 
QString m_remoteUrl
 
QString m_summary
 
QString m_title
 
QDateTime m_updatedDate
 
QString m_urn
 

Friends

QDebug operator<< (QDebug d, const YFPhoto &p)
 
class YFTalker
 

Member Enumeration Documentation

◆ Access

Enumerator
ACCESS_PUBLIC 
ACCESS_FRIENDS 
ACCESS_PRIVATE 

Constructor & Destructor Documentation

◆ YFPhoto() [1/3]

DigikamGenericYFPlugin::YFPhoto::YFPhoto ( )
explicit

◆ ~YFPhoto()

DigikamGenericYFPlugin::YFPhoto::~YFPhoto ( )
default

◆ YFPhoto() [2/3]

DigikamGenericYFPlugin::YFPhoto::YFPhoto ( const YFPhoto other)

◆ YFPhoto() [3/3]

DigikamGenericYFPlugin::YFPhoto::YFPhoto ( const QString &  urn,
const QString &  author,
const QString &  title,
const QString &  summary,
const QString &  apiEditUrl,
const QString &  apiSelfUrl,
const QString &  apiMediaUrl,
const QString &  apiAlbumUrl,
const QDateTime &  publishedDate,
const QDateTime &  editedDate,
const QDateTime &  updatedDate,
const QDateTime &  createdDate,
Access  access,
bool  hideOriginal,
bool  disableComments,
bool  adult,
const QString &  remoteUrl 
)
protected

Member Function Documentation

◆ access()

Access DigikamGenericYFPlugin::YFPhoto::access ( ) const
inline

References m_access.

Referenced by setAccess().

◆ author()

const QString& DigikamGenericYFPlugin::YFPhoto::author ( ) const
inline

References m_author.

◆ createdDate()

const QDateTime& DigikamGenericYFPlugin::YFPhoto::createdDate ( ) const
inline

References m_createdDate.

◆ editedDate()

const QDateTime& DigikamGenericYFPlugin::YFPhoto::editedDate ( ) const
inline

References m_editedDate.

◆ isAdult()

bool DigikamGenericYFPlugin::YFPhoto::isAdult ( ) const
inline

References m_adult.

◆ isDisableComments()

bool DigikamGenericYFPlugin::YFPhoto::isDisableComments ( ) const
inline

References m_disableComments.

◆ isHideOriginal()

bool DigikamGenericYFPlugin::YFPhoto::isHideOriginal ( ) const
inline

References m_hideOriginal.

◆ localUrl()

QString DigikamGenericYFPlugin::YFPhoto::localUrl ( ) const
inline

◆ originalUrl()

QString DigikamGenericYFPlugin::YFPhoto::originalUrl ( ) const
inline

References m_originalUrl.

Referenced by setOriginalUrl().

◆ publishedDate()

const QDateTime& DigikamGenericYFPlugin::YFPhoto::publishedDate ( ) const
inline

References m_publishedDate.

◆ remoteUrl()

QString DigikamGenericYFPlugin::YFPhoto::remoteUrl ( ) const
inline

◆ setAccess()

void DigikamGenericYFPlugin::YFPhoto::setAccess ( Access  access)
inline

References access(), and m_access.

◆ setAdult()

void DigikamGenericYFPlugin::YFPhoto::setAdult ( bool  adult)
inline

References m_adult.

◆ setDisableComments()

void DigikamGenericYFPlugin::YFPhoto::setDisableComments ( bool  disableComments)
inline

References m_disableComments.

◆ setHideOriginal()

void DigikamGenericYFPlugin::YFPhoto::setHideOriginal ( bool  hideOriginal)
inline

References m_hideOriginal.

◆ setLocalUrl()

void DigikamGenericYFPlugin::YFPhoto::setLocalUrl ( const QString &  localUrl)
inline

References localUrl(), and m_localUrl.

◆ setOriginalUrl()

void DigikamGenericYFPlugin::YFPhoto::setOriginalUrl ( const QString &  originalUrl)
inline

References m_originalUrl, and originalUrl().

◆ setSummary()

void DigikamGenericYFPlugin::YFPhoto::setSummary ( const QString &  summary)
inline

References m_summary, and summary().

◆ setTitle()

void DigikamGenericYFPlugin::YFPhoto::setTitle ( const QString &  title)
inline

◆ summary()

const QString& DigikamGenericYFPlugin::YFPhoto::summary ( ) const
inline

References m_summary.

Referenced by setSummary().

◆ title()

const QString& DigikamGenericYFPlugin::YFPhoto::title ( ) const
inline

◆ toString()

QString DigikamGenericYFPlugin::YFPhoto::toString ( ) const
inline

References m_title.

◆ updatedDate()

const QDateTime& DigikamGenericYFPlugin::YFPhoto::updatedDate ( ) const
inline

References m_updatedDate.

◆ urn()

const QString& DigikamGenericYFPlugin::YFPhoto::urn ( ) const
inline

References m_urn.

Friends And Related Function Documentation

◆ operator<<

QDebug operator<< ( QDebug  d,
const YFPhoto p 
)
friend

◆ YFTalker

friend class YFTalker
friend

Member Data Documentation

◆ m_access

Access DigikamGenericYFPlugin::YFPhoto::m_access
protected

Referenced by access(), and setAccess().

◆ m_adult

bool DigikamGenericYFPlugin::YFPhoto::m_adult
protected

Referenced by isAdult(), and setAdult().

◆ m_apiAlbumUrl

QString DigikamGenericYFPlugin::YFPhoto::m_apiAlbumUrl
protected

◆ m_apiEditUrl

QString DigikamGenericYFPlugin::YFPhoto::m_apiEditUrl
protected

◆ m_apiMediaUrl

QString DigikamGenericYFPlugin::YFPhoto::m_apiMediaUrl
protected

◆ m_apiSelfUrl

QString DigikamGenericYFPlugin::YFPhoto::m_apiSelfUrl
protected

◆ m_author

QString DigikamGenericYFPlugin::YFPhoto::m_author
protected

Referenced by author().

◆ m_createdDate

QDateTime DigikamGenericYFPlugin::YFPhoto::m_createdDate
protected

Referenced by createdDate().

◆ m_disableComments

bool DigikamGenericYFPlugin::YFPhoto::m_disableComments
protected

◆ m_editedDate

QDateTime DigikamGenericYFPlugin::YFPhoto::m_editedDate
protected

Referenced by editedDate().

◆ m_hideOriginal

bool DigikamGenericYFPlugin::YFPhoto::m_hideOriginal
protected

Referenced by isHideOriginal(), and setHideOriginal().

◆ m_localUrl

QString DigikamGenericYFPlugin::YFPhoto::m_localUrl
protected

Referenced by localUrl(), and setLocalUrl().

◆ m_originalUrl

QString DigikamGenericYFPlugin::YFPhoto::m_originalUrl
protected

Referenced by originalUrl(), and setOriginalUrl().

◆ m_publishedDate

QDateTime DigikamGenericYFPlugin::YFPhoto::m_publishedDate
protected

Referenced by publishedDate().

◆ m_remoteUrl

QString DigikamGenericYFPlugin::YFPhoto::m_remoteUrl
protected

Referenced by remoteUrl().

◆ m_summary

QString DigikamGenericYFPlugin::YFPhoto::m_summary
protected

Referenced by setSummary(), and summary().

◆ m_title

QString DigikamGenericYFPlugin::YFPhoto::m_title
protected

Referenced by setTitle(), title(), and toString().

◆ m_updatedDate

QDateTime DigikamGenericYFPlugin::YFPhoto::m_updatedDate
protected

Referenced by updatedDate().

◆ m_urn

QString DigikamGenericYFPlugin::YFPhoto::m_urn
protected

Referenced by urn().

◆ tags

QStringList DigikamGenericYFPlugin::YFPhoto::tags

The documentation for this class was generated from the following files: