QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
qevercloud::EverCloudLocalData Class Reference

The EverCloudLocalData class contains several data elements which are not synchronized with Evernote service but which are nevertheless useful in applications using QEverCloud to implement feature rich full sync Evernote clients. Values of this class' types are contained within QEverCloud types corresponding to actual Evernote API types. More...

#include <Types.h>

Inheritance diagram for qevercloud::EverCloudLocalData:
qevercloud::Printable

Public Types

using Dict = QHash< QString, QVariant >
 

Public Member Functions

 EverCloudLocalData ()
 
virtual ~EverCloudLocalData () noexcept override
 
virtual void print (QTextStream &strm) const override
 
bool operator== (const EverCloudLocalData &other) const
 
bool operator!= (const EverCloudLocalData &other) const
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

QString id
 id property can be used as a local unique identifier for any data item before it has been synchronized with Evernote and thus before it can be identified using its guid. More...
 
bool dirty = false
 dirty property can be used to keep track which objects have been modified locally and thus need to be synchronized with Evernote service More...
 
 bool = false
 local property can be used to keep track which data items are meant to be local only and thus never be synchronized with Evernote service More...
 
bool favorited = false
 favorited property can be used to keep track which data items were favorited in the client. Unfortunately, Evernote has never provided a way to synchronize such property between different clients More...
 
QHash< QString, QVariant > dict
 dict can be used for storage of any other auxiliary values associated with objects of QEverCloud types More...
 

Properties

bool local
 
Dict dict
 

Detailed Description

The EverCloudLocalData class contains several data elements which are not synchronized with Evernote service but which are nevertheless useful in applications using QEverCloud to implement feature rich full sync Evernote clients. Values of this class' types are contained within QEverCloud types corresponding to actual Evernote API types.

Member Typedef Documentation

◆ Dict

using qevercloud::EverCloudLocalData::Dict = QHash<QString, QVariant>

Constructor & Destructor Documentation

◆ EverCloudLocalData()

qevercloud::EverCloudLocalData::EverCloudLocalData ( )

◆ ~EverCloudLocalData()

virtual qevercloud::EverCloudLocalData::~EverCloudLocalData ( )
overridevirtualnoexcept

Member Function Documentation

◆ operator!=()

bool qevercloud::EverCloudLocalData::operator!= ( const EverCloudLocalData other) const

◆ operator==()

bool qevercloud::EverCloudLocalData::operator== ( const EverCloudLocalData other) const

◆ print()

virtual void qevercloud::EverCloudLocalData::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

Member Data Documentation

◆ bool

qevercloud::EverCloudLocalData::bool = false

local property can be used to keep track which data items are meant to be local only and thus never be synchronized with Evernote service

◆ dict

QHash<QString, QVariant> qevercloud::EverCloudLocalData::dict

dict can be used for storage of any other auxiliary values associated with objects of QEverCloud types

◆ dirty

bool qevercloud::EverCloudLocalData::dirty = false

dirty property can be used to keep track which objects have been modified locally and thus need to be synchronized with Evernote service

◆ favorited

bool qevercloud::EverCloudLocalData::favorited = false

favorited property can be used to keep track which data items were favorited in the client. Unfortunately, Evernote has never provided a way to synchronize such property between different clients

◆ id

QString qevercloud::EverCloudLocalData::id

id property can be used as a local unique identifier for any data item before it has been synchronized with Evernote and thus before it can be identified using its guid.

id property is generated automatically on EverCloudLocalData construction for convenience but can be overridden manually

Property Documentation

◆ dict

Dict qevercloud::EverCloudLocalData::dict

◆ local

bool qevercloud::EverCloudLocalData::local