attachment.h
1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
22 #ifndef KOMPOSER_ATTACHMENT_H
23 #define KOMPOSER_ATTACHMENT_H
24 
25 #include <tqstring.h>
26 #include <tqcstring.h>
27 #include <tqvaluelist.h>
28 
29 namespace Komposer
30 {
31 
32  class Attachment
33  {
34  public:
35  Attachment( const TQString &name,
36  const TQCString &cte,
37  const TQByteArray &data,
38  const TQCString &type,
39  const TQCString &subType,
40  const TQCString &paramAttr,
41  const TQString &paramValue,
42  const TQCString &contDisp );
43  ~Attachment();
44 
45  TQString name() const;
46  TQCString cte() const;
47  TQByteArray data() const;
48  TQCString type() const;
49  TQCString subType() const;
50  TQCString paramAttr() const;
51  TQString paramValue() const;
52  TQCString contentDisposition() const;
53 
54  private:
55  class Private;
56  Private *d;
57  };
58  typedef TQValueList<Attachment> AttachmentList;
59 }
60 
61 #endif