38class QUENTIER_EXPORT Account : public Printable
47 friend QUENTIER_EXPORT QTextStream & operator<<(
48 QTextStream & strm,
const Type
type);
50 friend QUENTIER_EXPORT QDebug & operator<<(QDebug & dbg,
const Type
type);
52 enum class EvernoteAccountType
60 friend QUENTIER_EXPORT QTextStream & operator<<(
61 QTextStream & strm,
const EvernoteAccountType
type);
63 friend QUENTIER_EXPORT QDebug & operator<<(
64 QDebug & dbg,
const EvernoteAccountType
type);
70 QString
name,
const Type
type,
const qevercloud::UserID userId = -1,
72 EvernoteAccountType::Free,
75 Account(
const Account & other);
76 Account & operator=(
const Account & other);
77 virtual ~Account()
override;
79 bool operator==(
const Account & other)
const;
80 bool operator!=(
const Account & other)
const;
121 qevercloud::UserID
id()
const;
144 void setShardId(QString
shardId);
146 qint32 mailLimitDaily()
const;
147 qint64 noteSizeMax()
const;
148 qint64 resourceSizeMax()
const;
149 qint32 linkedNotebookMax()
const;
150 qint32 noteCountMax()
const;
151 qint32 notebookCountMax()
const;
152 qint32 tagCountMax()
const;
153 qint32 noteTagCountMax()
const;
154 qint32 savedSearchCountMax()
const;
155 qint32 noteResourceCountMax()
const;
156 void setEvernoteAccountLimits(
const qevercloud::AccountLimits & limits);
158 virtual QTextStream & print(QTextStream & strm)
const override;
161 QSharedDataPointer<AccountData> d;