akonadi/kmime
messagefolderattribute.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_MESSAGEFOLDERATTRIBUTE_H
00021 #define AKONADI_MESSAGEFOLDERATTRIBUTE_H
00022
00023 #include "akonadi-kmime_export.h"
00024 #include <akonadi/attribute.h>
00025
00026 #include <QtCore/QByteArray>
00027
00028 namespace Akonadi {
00029
00034 class AKONADI_KMIME_EXPORT MessageFolderAttribute : public Attribute
00035 {
00036 public:
00040 MessageFolderAttribute();
00041
00045 MessageFolderAttribute( const MessageFolderAttribute &other );
00046
00050 ~MessageFolderAttribute();
00051
00059 bool isOutboundFolder() const;
00060
00064 void setOutboundFolder(bool outbound);
00065
00066
00067 QByteArray type() const;
00068 MessageFolderAttribute* clone() const;
00069 QByteArray serialized() const;
00070 void deserialize( const QByteArray &data );
00071
00072 private:
00073 class Private;
00074 Private * const d;
00075 };
00076
00077 }
00078
00079 #endif