libkmime

KMime::Headers::Control Class Reference

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Control:
KMime::Headers::Base

Public Member Functions

 Control (Content *p)
 Control (Content *p, const TQCString &s)
 Control (Content *p, const TQString &s)
virtual void from7BitString (const TQCString &s)
virtual TQCString as7BitString (bool incType=true)
virtual void fromUnicodeString (const TQString &s, const TQCString &)
virtual TQString asUnicodeString ()
virtual void clear ()
virtual bool isEmpty ()
virtual const char * type ()
bool isCancel ()
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

TQCString c_trlMsg
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 a "Control" header.

Definition at line 637 of file kmime_headers.h.

Constructor & Destructor Documentation

◆ Control() [1/4]

KMime::Headers::Control::Control ( )
inline

Definition at line 640 of file kmime_headers.h.

◆ Control() [2/4]

KMime::Headers::Control::Control ( Content * p)
inline

Definition at line 641 of file kmime_headers.h.

◆ Control() [3/4]

KMime::Headers::Control::Control ( Content * p,
const TQCString & s )
inline

Definition at line 642 of file kmime_headers.h.

◆ Control() [4/4]

KMime::Headers::Control::Control ( Content * p,
const TQString & s )
inline

Definition at line 643 of file kmime_headers.h.

◆ ~Control()

KMime::Headers::Control::~Control ( )
inline

Definition at line 644 of file kmime_headers.h.

Member Function Documentation

◆ as7BitString()

TQCString KMime::Headers::Control::as7BitString ( bool = true)
virtual

Return the encoded header.

The parameter specifies whether the header-type should be included.

Reimplemented from KMime::Headers::Base.

Definition at line 553 of file kmime_headers.cpp.

◆ asUnicodeString()

TQString KMime::Headers::Control::asUnicodeString ( )
virtual

Return the decoded content of the header without the header-type.

Reimplemented from KMime::Headers::Base.

Definition at line 568 of file kmime_headers.cpp.

◆ clear()

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

Delete.

Reimplemented from KMime::Headers::Base.

Definition at line 650 of file kmime_headers.h.

◆ from7BitString()

void KMime::Headers::Control::from7BitString ( const TQCString & )
virtual

Parse the given string.

Take care of RFC2047-encoded strings. A default charset is given. If the last parameter is true the default charset is used in any case

Reimplemented from KMime::Headers::Base.

Definition at line 547 of file kmime_headers.cpp.

◆ fromUnicodeString()

void KMime::Headers::Control::fromUnicodeString ( const TQString & ,
const TQCString &  )
virtual

Parse the given string and set the charset.

Reimplemented from KMime::Headers::Base.

Definition at line 562 of file kmime_headers.cpp.

◆ isCancel()

bool KMime::Headers::Control::isCancel ( )
inline

Definition at line 654 of file kmime_headers.h.

◆ isEmpty()

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

Do we have data?

Reimplemented from KMime::Headers::Base.

Definition at line 651 of file kmime_headers.h.

◆ type()

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

Return the type of this header (e.g.

"From")

Reimplemented from KMime::Headers::Base.

Definition at line 652 of file kmime_headers.h.

Member Data Documentation

◆ c_trlMsg

TQCString KMime::Headers::Control::c_trlMsg
protected

Definition at line 657 of file kmime_headers.h.


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