libkmime

KMime::Headers::Generic Class Reference

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Generic:
KMime::Headers::Generics::GUnstructured KMime::Headers::Base

Public Member Functions

 Generic (const char *t)
 Generic (const char *t, Content *p)
 Generic (const char *t, Content *p, const TQCString &s)
 Generic (const char *t, Content *p, const TQString &s, const TQCString &cs)
virtual void clear ()
virtual bool isEmpty ()
virtual const char * type ()
void setType (const char *type)
Public Member Functions inherited from KMime::Headers::Generics::GUnstructured
 GUnstructured (Content *p)
 GUnstructured (Content *p, const TQCString &s)
 GUnstructured (Content *p, const TQString &s, const TQCString &cs)
virtual void from7BitString (const TQCString &str)
virtual TQCString as7BitString (bool withHeaderType=true)
virtual void fromUnicodeString (const TQString &str, const TQCString &suggestedCharset)
virtual TQString asUnicodeString ()
Public Member Functions inherited from KMime::Headers::Base
 Base ()
 Base (KMime::Content *parent)
virtual ~Base ()
KMime::Contentparent ()
void setParent (KMime::Content *p)
TQCString rfc2047Charset ()
void setRFC2047Charset (const TQCString &cs)
TQCString defaultCS ()
bool forceCS ()
bool is (const char *t)
bool isMimeHeader ()
bool isXHeader ()

Protected Attributes

char * t_ype
Protected Attributes inherited from KMime::Headers::Base
const char * e_ncCS
Contentp_arent

Additional Inherited Members

Public Types inherited from KMime::Headers::Base
typedef TQPtrList< BaseList
Protected Member Functions inherited from KMime::Headers::Base
TQCString typeIntro ()

Detailed Description

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

Adds a type over GUnstructured.

See also
GUnstructured

Definition at line 568 of file kmime_headers.h.

Constructor & Destructor Documentation

◆ Generic() [1/5]

KMime::Headers::Generic::Generic ( )
inline

Definition at line 571 of file kmime_headers.h.

◆ Generic() [2/5]

KMime::Headers::Generic::Generic ( const char * t)
inline

Definition at line 572 of file kmime_headers.h.

◆ Generic() [3/5]

KMime::Headers::Generic::Generic ( const char * t,
Content * p )
inline

Definition at line 574 of file kmime_headers.h.

◆ Generic() [4/5]

KMime::Headers::Generic::Generic ( const char * t,
Content * p,
const TQCString & s )
inline

Definition at line 576 of file kmime_headers.h.

◆ Generic() [5/5]

KMime::Headers::Generic::Generic ( const char * t,
Content * p,
const TQString & s,
const TQCString & cs )
inline

Definition at line 578 of file kmime_headers.h.

◆ ~Generic()

KMime::Headers::Generic::~Generic ( )
inline

Definition at line 580 of file kmime_headers.h.

Member Function Documentation

◆ clear()

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

Delete.

Reimplemented from KMime::Headers::Generics::GUnstructured.

Definition at line 582 of file kmime_headers.h.

◆ isEmpty()

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

Do we have data?

Reimplemented from KMime::Headers::Generics::GUnstructured.

Definition at line 583 of file kmime_headers.h.

◆ setType()

void KMime::Headers::Generic::setType ( const char * type)

Definition at line 491 of file kmime_headers.cpp.

◆ type()

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

Return the type of this header (e.g.

"From")

Reimplemented from KMime::Headers::Base.

Definition at line 584 of file kmime_headers.h.

Member Data Documentation

◆ t_ype

char* KMime::Headers::Generic::t_ype
protected

Definition at line 588 of file kmime_headers.h.


The documentation for this class was generated from the following files: