ktnefmessage.hGo to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00031 #ifndef KTNEFMESSAGE_H
00032 #define KTNEFMESSAGE_H
00033
00034 #include <QtCore/QList>
00035
00036 #include "ktnefpropertyset.h"
00037 #include "ktnef_export.h"
00038
00039 namespace KTnef { class KTNEFAttach; }
00040
00041 namespace KTnef {
00042
00047 class KTNEF_EXPORT KTNEFMessage : public KTNEFPropertySet
00048 {
00049 public:
00053 KTNEFMessage();
00054
00058 ~KTNEFMessage();
00059
00063 const QList<KTNEFAttach *> &attachmentList() const;
00064
00073 KTNEFAttach *attachment( const QString &filename ) const;
00074
00079 void addAttachment( KTNEFAttach *attach );
00080
00084 void clearAttachments();
00085
00090 QString rtfString() const;
00091
00092 private:
00093
00094 class MessagePrivate;
00095 MessagePrivate *const d;
00096
00097
00098 Q_DISABLE_COPY( KTNEFMessage )
00099 };
00100
00101 }
00102 #endif
|