libquentier 0.8.0
The library for rich desktop clients of Evernote service
|
The Account class encapsulates some details about the account: its name, whether it is local or synchronized to Evernote and for the latter case - some additional details like upload limit etc. More...
#include <Account.h>
Public Types | |
enum class | Type { Local , Evernote } |
enum class | EvernoteAccountType { Free , Plus , Premium , Business } |
Public Member Functions | |
Account (QString name, Type type, qevercloud::UserID userId=-1, EvernoteAccountType evernoteAccountType=EvernoteAccountType::Free, QString evernoteHost={}, QString shardId={}) | |
Account (const Account &other) | |
Account (Account &&other) noexcept | |
Account & | operator= (const Account &other) |
Account & | operator= (Account &&other) noexcept |
bool | operator== (const Account &other) const noexcept |
bool | operator!= (const Account &other) const noexcept |
bool | isEmpty () const |
QString | name () const |
void | setName (QString name) |
setName sets the username to the account | |
QString | displayName () const |
void | setDisplayName (QString displayName) |
Type | type () const |
qevercloud::UserID | id () const |
EvernoteAccountType | evernoteAccountType () const |
QString | evernoteHost () const |
QString | shardId () const |
void | setEvernoteAccountType (EvernoteAccountType evernoteAccountType) |
void | setEvernoteHost (QString evernoteHost) |
void | setShardId (QString shardId) |
qint32 | mailLimitDaily () const |
qint64 | noteSizeMax () const |
qint64 | resourceSizeMax () const |
qint32 | linkedNotebookMax () const |
qint32 | noteCountMax () const |
qint32 | notebookCountMax () const |
qint32 | tagCountMax () const |
qint32 | noteTagCountMax () const |
qint32 | savedSearchCountMax () const |
qint32 | noteResourceCountMax () const |
void | setEvernoteAccountLimits (const qevercloud::AccountLimits &limits) |
QTextStream & | print (QTextStream &strm) const override |
![]() | |
QString | toString () const |
Friends | |
QUENTIER_EXPORT QTextStream & | operator<< (QTextStream &strm, Type type) |
QUENTIER_EXPORT QDebug & | operator<< (QDebug &dbg, Type type) |
QUENTIER_EXPORT QTextStream & | operator<< (QTextStream &strm, EvernoteAccountType type) |
QUENTIER_EXPORT QDebug & | operator<< (QDebug &dbg, EvernoteAccountType type) |
The Account class encapsulates some details about the account: its name, whether it is local or synchronized to Evernote and for the latter case - some additional details like upload limit etc.
QString quentier::Account::displayName | ( | ) | const |
EvernoteAccountType quentier::Account::evernoteAccountType | ( | ) | const |
QString quentier::Account::evernoteHost | ( | ) | const |
qevercloud::UserID quentier::Account::id | ( | ) | const |
bool quentier::Account::isEmpty | ( | ) | const |
QString quentier::Account::name | ( | ) | const |
|
overridevirtual |
Implements quentier::Printable.
QString quentier::Account::shardId | ( | ) | const |
Type quentier::Account::type | ( | ) | const |