Akonadi::Pop3ResourceAttribute Class

class Akonadi::Pop3ResourceAttribute

The Pop3ResourceAttribute class. More...

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

Public Functions

Pop3ResourceAttribute()
virtual ~Pop3ResourceAttribute() override
QString pop3AccountName() const
void setPop3AccountName(const QString &accountName)
bool operator==(const Akonadi::Pop3ResourceAttribute &other) const

Reimplemented Public Functions

virtual Akonadi::Pop3ResourceAttribute *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] Pop3ResourceAttribute::Pop3ResourceAttribute()

Creates a new Pop3ResourceAttribute.

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

Destroys the Pop3ResourceAttribute.

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

Returns a copy of this attribute.

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

Deserializes the attribute data. data the serialized data

QString Pop3ResourceAttribute::pop3AccountName() const

Returns the POP3 account name.

See also setPop3AccountName().

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

Returns the serialized representation of the attribute.

void Pop3ResourceAttribute::setPop3AccountName(const QString &accountName)

Sets the POP3 account name. accountName the name of the POP3 account

See also pop3AccountName().

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

Returns the type of the attribute.

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