home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / ktnef / ktnefmessage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-09-10  |  1.1 KB  |  45 lines

  1. /*
  2.     ktnefmessage.h
  3.  
  4.     Copyright (C) 2002 Michael Goffioul <kdeprint@swing.be>
  5.  
  6.     This file is part of KTNEF, the KDE TNEF support library/program.
  7.  
  8.     This program is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     You should have received a copy of the GNU General Public License
  14.     along with this program; if not, write to the Free Software Foundation,
  15.     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  16.  */
  17.  
  18. #ifndef KTNEFMESSAGE_H
  19. #define KTNEFMESSAGE_H
  20.  
  21. #include <ktnef/ktnefpropertyset.h>
  22. #include <qptrlist.h>
  23. #include <kdepimmacros.h>
  24.  
  25. class KTNEFAttach;
  26.  
  27. class KDE_EXPORT KTNEFMessage : public KTNEFPropertySet
  28. {
  29. public:
  30.     KTNEFMessage();
  31.     ~KTNEFMessage();
  32.  
  33.     const QPtrList<KTNEFAttach>& attachmentList() const;
  34.     KTNEFAttach* attachment( const QString& filename ) const;
  35.     void addAttachment( KTNEFAttach* attach );
  36.     void clearAttachments();
  37.     QString rtfString();
  38.  
  39. private:
  40.     class MessagePrivate;
  41.     MessagePrivate *d;
  42. };
  43.  
  44. #endif /* KTNEFMESSAGE_H */
  45.