• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.9.4 API Reference
  • KDE Home
  • Contact Us
 

KMIME Library

  • KMime
  • Headers
  • Generic
Public Member Functions | List of all members
KMime::Headers::Generic Class Reference

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Generic:
Inheritance graph
[legend]

Public Member Functions

 Generic (const char *t)
 Generic (const char *t, Content *p)
 Generic (const char *t, Content *p, const QByteArray &s)
 Generic (const char *t, Content *p, const QString &s, const QByteArray &cs)
virtual void clear ()
virtual bool isEmpty () const
void setType (const char *type)
virtual const char * type () const
- Public Member Functions inherited from KMime::Headers::Generics::Unstructured
 Unstructured (Content *p=0)
 Unstructured (Content *p, const QByteArray &s)
 Unstructured (Content *p, const QString &s, const QByteArray &cs)
virtual QByteArray as7BitString (bool withHeaderType=true) const
virtual QString asUnicodeString () const
virtual void from7BitString (const QByteArray &s)
virtual void fromUnicodeString (const QString &s, const QByteArray &b)
- Public Member Functions inherited from KMime::Headers::Base
 Base (KMime::Content *parent=0)
virtual ~Base ()
QByteArray defaultCharset () const
bool forceDefaultCharset () const
bool is (const char *t) const
bool isMimeHeader () const
bool isXHeader () const
KMime::Content * parent () const
QByteArray rfc2047Charset () const
void setParent (KMime::Content *parent)
void setRFC2047Charset (const QByteArray &cs)

Additional Inherited Members

- Public Types inherited from KMime::Headers::Base
typedef QList
< KMime::Headers::Base * > 
List
- Protected Member Functions inherited from KMime::Headers::Base
QByteArray typeIntro () const

Detailed Description

Represents an arbitrary header, that can contain any header-field.

Adds a type over Unstructured.

See Also
Unstructured

Definition at line 1249 of file kmime_headers.h.

Member Function Documentation

void KMime::Headers::Generic::clear ( )
virtual

Deletes.

Reimplemented from KMime::Headers::Generics::Unstructured.

Definition at line 1264 of file kmime_headers.cpp.

bool KMime::Headers::Generic::isEmpty ( ) const
virtual

Checks if this header contains any data.

Reimplemented from KMime::Headers::Generics::Unstructured.

Definition at line 1272 of file kmime_headers.cpp.

const char * KMime::Headers::Generic::type ( ) const
virtual

Returns the type of this header (e.g.

"From").

Reimplemented from KMime::Headers::Base.

Definition at line 1277 of file kmime_headers.cpp.


The documentation for this class was generated from the following files:
  • kmime_headers.h
  • kmime_headers.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Dec 10 2012 13:47:16 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

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

kdepimlibs-4.9.4 API Reference

Skip menu "kdepimlibs-4.9.4 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal