46 friend QUENTIER_EXPORT QTextStream & operator<<(
47 QTextStream & strm, Type
type);
49 friend QUENTIER_EXPORT QDebug & operator<<(QDebug & dbg, Type
type);
51 enum class EvernoteAccountType
59 friend QUENTIER_EXPORT QTextStream & operator<<(
60 QTextStream & strm, EvernoteAccountType
type);
62 friend QUENTIER_EXPORT QDebug & operator<<(
63 QDebug & dbg, EvernoteAccountType
type);
69 QString
name, Type
type, qevercloud::UserID userId = -1,
73 Account(
const Account & other);
74 Account(Account && other)
noexcept;
76 Account & operator=(
const Account & other);
77 Account & operator=(Account && other)
noexcept;
79 ~Account()
noexcept override;
81 [[nodiscard]]
bool operator==(
const Account & other)
const noexcept;
82 [[nodiscard]]
bool operator!=(
const Account & other)
const noexcept;
94 [[nodiscard]] QString
name()
const;
116 [[nodiscard]] Type
type()
const;
123 [[nodiscard]] qevercloud::UserID
id()
const;
146 void setShardId(QString
shardId);
148 [[nodiscard]] qint32 mailLimitDaily()
const;
149 [[nodiscard]] qint64 noteSizeMax()
const;
150 [[nodiscard]] qint64 resourceSizeMax()
const;
151 [[nodiscard]] qint32 linkedNotebookMax()
const;
152 [[nodiscard]] qint32 noteCountMax()
const;
153 [[nodiscard]] qint32 notebookCountMax()
const;
154 [[nodiscard]] qint32 tagCountMax()
const;
155 [[nodiscard]] qint32 noteTagCountMax()
const;
156 [[nodiscard]] qint32 savedSearchCountMax()
const;
157 [[nodiscard]] qint32 noteResourceCountMax()
const;
159 void setEvernoteAccountLimits(
const qevercloud::AccountLimits & limits);
162 QTextStream & print(QTextStream & strm)
const override;
165 QSharedDataPointer<AccountData> d;