7#include "pop3resourceattribute.h"
14class Pop3ResourceAttributePrivate
20Pop3ResourceAttribute::Pop3ResourceAttribute()
21 : d(new Pop3ResourceAttributePrivate)
25Pop3ResourceAttribute::~Pop3ResourceAttribute() =
default;
27Pop3ResourceAttribute *Pop3ResourceAttribute::clone()
const
29 auto attr =
new Pop3ResourceAttribute();
30 attr->setPop3AccountName(pop3AccountName());
36 static const QByteArray sType(
"pop3resourceattribute");
40QByteArray Pop3ResourceAttribute::serialized()
const
44 s << pop3AccountName();
48void Pop3ResourceAttribute::deserialize(
const QByteArray &data)
53 d->accountName = value;
56QString Pop3ResourceAttribute::pop3AccountName()
const
58 return d->accountName;
61void Pop3ResourceAttribute::setPop3AccountName(
const QString &accountName)
63 d->accountName = accountName;
66bool Pop3ResourceAttribute::operator==(
const Pop3ResourceAttribute &other)
const
68 return d->accountName == other.pop3AccountName();
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:17 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.