MailImporter

messagestatus.cpp
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "messagestatus.h"
8
9using namespace MailImporter;
10
11MessageStatus::MessageStatus()
12{
13}
14
15MessageStatus::~MessageStatus()
16{
17}
18
19void MessageStatus::setRead(bool state)
20{
21 mRead = state;
22}
23
24bool MessageStatus::isRead() const
25{
26 return mRead;
27}
28
29void MessageStatus::setDeleted(bool state)
30{
31 mDeleted = state;
32}
33
34bool MessageStatus::isDeleted() const
35{
36 return mDeleted;
37}
38
39void MessageStatus::setReplied(bool state)
40{
41 mReplied = state;
42}
43
44bool MessageStatus::isReplied() const
45{
46 return mReplied;
47}
48
49void MessageStatus::setForwarded(bool state)
50{
51 mForwarded = state;
52}
53
54bool MessageStatus::isForwarded() const
55{
56 return mForwarded;
57}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:08:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.