QEverCloud 6.2.0
Unofficial Evernote Cloud API for Qt
|
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>
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 |
![]() | |
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. | |
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 | |
bool | local = 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 | |
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 | |
QHash< QString, QVariant > | dict |
dict can be used for storage of any other auxiliary values associated with objects of QEverCloud types | |
Properties | |
Dict | dict |
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.
qevercloud::EverCloudLocalData::EverCloudLocalData | ( | ) |
|
overridevirtualnoexcept |
bool qevercloud::EverCloudLocalData::operator!= | ( | const EverCloudLocalData & | other | ) | const |
bool qevercloud::EverCloudLocalData::operator== | ( | const EverCloudLocalData & | other | ) | const |
|
overridevirtual |
Implements qevercloud::Printable.
dict can be used for storage of any other auxiliary values associated with objects of QEverCloud types
dirty property can be used to keep track which objects have been modified locally and thus need to be synchronized with Evernote service
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
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
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 qevercloud::EverCloudLocalData::dict |