7#include "newmailnotifierattribute.h"
15class NewMailNotifierAttributePrivate
18 bool ignoreNewMail =
false;
21NewMailNotifierAttribute::NewMailNotifierAttribute()
22 : d(new NewMailNotifierAttributePrivate)
26NewMailNotifierAttribute::~NewMailNotifierAttribute() =
default;
28NewMailNotifierAttribute *NewMailNotifierAttribute::clone()
const
30 auto attr =
new NewMailNotifierAttribute();
31 attr->setIgnoreNewMail(ignoreNewMail());
35QByteArray NewMailNotifierAttribute::type()
const
37 static const QByteArray sType(
"newmailnotifierattribute");
41QByteArray NewMailNotifierAttribute::serialized()
const
49void NewMailNotifierAttribute::deserialize(
const QByteArray &data)
52 s >> d->ignoreNewMail;
55bool NewMailNotifierAttribute::ignoreNewMail()
const
57 return d->ignoreNewMail;
60void NewMailNotifierAttribute::setIgnoreNewMail(
bool b)
65bool NewMailNotifierAttribute::operator==(
const NewMailNotifierAttribute &other)
const
67 return d->ignoreNewMail == other.ignoreNewMail();
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:31 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.