libkdepim
attachment.h00001
00022 #ifndef KOMPOSER_ATTACHMENT_H
00023 #define KOMPOSER_ATTACHMENT_H
00024
00025 #include <qstring.h>
00026 #include <qcstring.h>
00027 #include <qvaluelist.h>
00028
00029 namespace Komposer
00030 {
00031
00032 class Attachment
00033 {
00034 public:
00035 Attachment( const QString &name,
00036 const QCString &cte,
00037 const QByteArray &data,
00038 const QCString &type,
00039 const QCString &subType,
00040 const QCString ¶mAttr,
00041 const QString ¶mValue,
00042 const QCString &contDisp );
00043 ~Attachment();
00044
00045 QString name() const;
00046 QCString cte() const;
00047 QByteArray data() const;
00048 QCString type() const;
00049 QCString subType() const;
00050 QCString paramAttr() const;
00051 QString paramValue() const;
00052 QCString contentDisposition() const;
00053
00054 private:
00055 class Private;
00056 Private *d;
00057 };
00058 typedef QValueList<Attachment> AttachmentList;
00059 }
00060
00061 #endif
|