Akonadi Mime

pop3resourceattribute.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "akonadi-mime_export.h"
10#include <Akonadi/Attribute>
11
12#include <memory>
13
14namespace Akonadi
15{
16class Pop3ResourceAttributePrivate;
17class AKONADI_MIME_EXPORT Pop3ResourceAttribute : public Akonadi::Attribute
18{
19public:
20 explicit Pop3ResourceAttribute();
21 ~Pop3ResourceAttribute() override;
22
23 /* reimpl */
24 Pop3ResourceAttribute *clone() const override;
25 [[nodiscard]] QByteArray type() const override;
26 [[nodiscard]] QByteArray serialized() const override;
27 void deserialize(const QByteArray &data) override;
28
29 [[nodiscard]] QString pop3AccountName() const;
30 void setPop3AccountName(const QString &accountName);
31
32 bool operator==(const Pop3ResourceAttribute &other) const;
33
34private:
35 friend class Pop3ResourceAttributePrivate;
36 std::unique_ptr<Pop3ResourceAttributePrivate> const d;
37};
38}
Type type(const QSqlDatabase &db)
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:09 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.