libtdepim

attachment.h
00001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00022 #ifndef KOMPOSER_ATTACHMENT_H
00023 #define KOMPOSER_ATTACHMENT_H
00024 
00025 #include <tqstring.h>
00026 #include <tqcstring.h>
00027 #include <tqvaluelist.h>
00028 
00029 namespace Komposer
00030 {
00031 
00032   class Attachment
00033   {
00034   public:
00035     Attachment( const TQString &name,
00036                 const TQCString &cte,
00037                 const TQByteArray &data,
00038                 const TQCString &type,
00039                 const TQCString &subType,
00040                 const TQCString &paramAttr,
00041                 const TQString &paramValue,
00042                 const TQCString &contDisp );
00043     ~Attachment();
00044 
00045     TQString name() const;
00046     TQCString cte() const;
00047     TQByteArray data() const;
00048     TQCString type() const;
00049     TQCString subType() const;
00050     TQCString paramAttr() const;
00051     TQString paramValue() const;
00052     TQCString contentDisposition() const;
00053 
00054   private:
00055     class Private;
00056     Private *d;
00057   };
00058   typedef TQValueList<Attachment> AttachmentList;
00059 }
00060 
00061 #endif