KMime::Headers::Generic

KMime::Headers::Generic Class Reference

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Generic:

Public Member Functions

 Generic (const char *t, int len=-1)
 
void clear () override
 
bool isEmpty () const override
 
void setType (const char *type, int len=-1)
 
const char * type () const override
 
- Public Member Functions inherited from KMime::Headers::Generics::Unstructured
QByteArray as7BitString (bool withHeaderType=true) const override
 
QString asUnicodeString () const override
 
void from7BitString (const QByteArray &s) override
 
void fromUnicodeString (const QString &s, const QByteArray &b) override
 
- Public Member Functions inherited from KMime::Headers::Base
 Base ()
 
virtual ~Base ()
 
virtual void from7BitString (const char *s, size_t len)
 
bool is (const char *t) const
 
bool isMimeHeader () const
 
QByteArray rfc2047Charset () const
 
void setRFC2047Charset (const QByteArray &cs)
 

Additional Inherited Members

- Public Types inherited from KMime::Headers::Base
typedef QVector< 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 1209 of file kmime_headers.h.

Member Function Documentation

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

Deletes.

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

Definition at line 1244 of file kmime_headers.cpp.

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

Checks if this header contains any data.

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

Definition at line 1252 of file kmime_headers.cpp.

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

Returns the type of this header (e.g.

"From").

Reimplemented from KMime::Headers::Base.

Definition at line 1257 of file kmime_headers.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 6 2020 23:10:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.