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

A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes. More...

Public Member Functions

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

Public Attributes

Optional< QMap< Guid, qint32 > > notebookCounts
 A mapping from the Notebook GUID to the number of notes (from some selection) that are in the corresponding notebook.
 
Optional< QMap< Guid, qint32 > > tagCounts
 A mapping from the Tag GUID to the number of notes (from some selection) that have the corresponding tag.
 
Optional< qint32 > trashCount
 If this is set, then this is the number of notes that are in the trash. More...
 

Detailed Description

A data structure representing the number of notes for each notebook and tag with a non-zero set of applicable notes.

Member Data Documentation

Optional< qint32 > qevercloud::NoteCollectionCounts::trashCount

If this is set, then this is the number of notes that are in the trash.

If this is not set, then the number of notes in the trash hasn't been reported. (I.e. if there are no notes in the trash, this will be set to 0.)