Akonadi Mime

messagefolderattribute.h
1 /*
2  SPDX-FileCopyrightText: 2009 Kevin Ottens <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_MESSAGEFOLDERATTRIBUTE_H
8 #define AKONADI_MESSAGEFOLDERATTRIBUTE_H
9 
10 #include "akonadi-mime_export.h"
11 
12 #include <attribute.h>
13 
14 #include <QByteArray>
15 
16 namespace Akonadi {
21 class AKONADI_MIME_EXPORT MessageFolderAttribute : public Attribute
22 {
23 public:
28 
33 
38 
46  bool isOutboundFolder() const;
47 
51  void setOutboundFolder(bool outbound);
52 
53  // reimpl.
54  QByteArray type() const override;
55  MessageFolderAttribute *clone() const override;
56  QByteArray serialized() const override;
57  void deserialize(const QByteArray &data) override;
58 
59 private:
60  class Private;
61  Private *const d;
62 };
63 }
64 
65 #endif
Message folder information.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 13 2020 23:08:22 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.