Akonadi::NewMailNotifierAttribute Class

class Akonadi::NewMailNotifierAttribute

The NewMailNotifierAttribute class. More...

Header: #include <Akonadi/NewMailNotifierAttribute>
CMake: find_package(KPim6AkonadiMime REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiMime)

Public Functions

NewMailNotifierAttribute()
virtual ~NewMailNotifierAttribute() override
bool ignoreNewMail() const
void setIgnoreNewMail(bool b)
bool operator==(const Akonadi::NewMailNotifierAttribute &other) const

Reimplemented Public Functions

virtual Akonadi::NewMailNotifierAttribute *clone() const override
virtual void deserialize(const QByteArray &data) override
virtual QByteArray serialized() const override
virtual QByteArray type() const override

Detailed Description

Member Function Documentation

[explicit] NewMailNotifierAttribute::NewMailNotifierAttribute()

Creates a new NewMailNotifierAttribute.

[override virtual noexcept] NewMailNotifierAttribute::~NewMailNotifierAttribute()

Destroys the NewMailNotifierAttribute.

[override virtual] Akonadi::NewMailNotifierAttribute *NewMailNotifierAttribute::clone() const

Returns a copy of this attribute.

[override virtual] void NewMailNotifierAttribute::deserialize(const QByteArray &data)

Deserializes the attribute from the given data. data the serialized data

bool NewMailNotifierAttribute::ignoreNewMail() const

Returns whether new mail notifications should be ignored.

See also setIgnoreNewMail().

[override virtual] QByteArray NewMailNotifierAttribute::serialized() const

Returns the serialized representation of the attribute.

void NewMailNotifierAttribute::setIgnoreNewMail(bool b)

Sets whether new mail notifications should be ignored. b the ignore new mail setting

See also ignoreNewMail().

[override virtual] QByteArray NewMailNotifierAttribute::type() const

Returns the type of the attribute.

bool NewMailNotifierAttribute::operator==(const Akonadi::NewMailNotifierAttribute &other) const

Compares this attribute with another NewMailNotifierAttribute. Returns true if both attributes are equal.