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.

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.

◆ 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.


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