• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KMIME Library

kmime_newsarticle.h

00001 /*
00002     kmime_newsarticle.h
00003 
00004     KMime, the KDE internet mail/usenet news message library.
00005     Copyright (c) 2001 the KMime authors.
00006     See file AUTHORS for details
00007 
00008     This library is free software; you can redistribute it and/or
00009     modify it under the terms of the GNU Library General Public
00010     License as published by the Free Software Foundation; either
00011     version 2 of the License, or (at your option) any later version.
00012 
00013     This library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     Library General Public License for more details.
00017 
00018     You should have received a copy of the GNU Library General Public License
00019     along with this library; see the file COPYING.LIB.  If not, write to
00020     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021     Boston, MA 02110-1301, USA.
00022 */
00023 #ifndef __KMIME_NEWSARTICLE_H__
00024 #define __KMIME_NEWSARTICLE_H__
00025 
00026 #include "kmime_export.h"
00027 #include "kmime_message.h"
00028 
00029 namespace KMime {
00030 
00031 class NewsArticlePrivate;
00032 
00033 class KMIME_EXPORT NewsArticle : public Message
00034 {
00035   public:
00036 
00037     NewsArticle();
00038     ~NewsArticle();
00039 
00040     virtual void parse();
00041     virtual void clear();
00042 
00044     virtual KDE_DEPRECATED KMime::Headers::Base * getHeaderByType( const char *type );
00046     virtual KMime::Headers::Base * headerByType( const char *type );
00047     virtual void setHeader( KMime::Headers::Base *h );
00048     virtual bool removeHeader( const char *type );
00049 
00050     virtual KMime::Headers::Control *control( bool create = true );
00051     virtual KMime::Headers::Supersedes *supersedes( bool create = true );
00052     virtual KMime::Headers::MailCopiesTo *mailCopiesTo( bool create = true );
00053     virtual KMime::Headers::Newsgroups *newsgroups( bool create = true );
00054     virtual KMime::Headers::FollowUpTo *followUpTo( bool create = true );
00055     virtual KMime::Headers::Lines *lines( bool create = true );
00056 
00057   protected:
00058     virtual QByteArray assembleHeaders();
00059 
00060   private:
00061     Q_DECLARE_PRIVATE( NewsArticle )
00062 
00063 }; // class NewsArticle
00064 
00065 } // namespace KMime
00066 
00067 #endif // __KMIME_NEWSARTICLE_H__

KMIME Library

Skip menu "KMIME Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal