libkmime

#include <kmime_headers_obs.h>

Public Member Functions

 ContentType (Content *p)
 ContentType (Content *p, const TQCString &s)
 ContentType (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 ()
TQCString mimeType ()
TQCString mediaType ()
TQCString subType ()
void setMimeType (const TQCString &s)
bool isMediatype (const char *s)
bool isSubtype (const char *s)
bool isText ()
bool isPlainText ()
bool isHTMLText ()
bool isImage ()
bool isMultipart ()
bool isPartial ()
TQCString charset ()
void setCharset (const TQCString &s)
TQCString boundary ()
void setBoundary (const TQCString &s)
TQString name ()
void setName (const TQString &s, const TQCString &cs)
TQCString id ()
void setId (const TQCString &s)
int partialNumber ()
int partialCount ()
void setPartialParams (int total, int number)
contentCategory category ()
void setCategory (contentCategory c)

Protected Member Functions

TQCString getParameter (const char *name)
void setParameter (const TQCString &name, const TQCString &value, bool doubleQuotes=false)

Protected Attributes

TQCString m_imeType
TQCString p_arams
contentCategory c_ategory

Detailed Description

Represents a "Content-Type" header.

Definition at line 238 of file kmime_headers_obs.h.

Constructor & Destructor Documentation

◆ ContentType() [1/4]

ContentType::ContentType ( )
inline

Definition at line 241 of file kmime_headers_obs.h.

◆ ContentType() [2/4]

ContentType::ContentType ( Content * p)
inline

Definition at line 242 of file kmime_headers_obs.h.

◆ ContentType() [3/4]

ContentType::ContentType ( Content * p,
const TQCString & s )
inline

Definition at line 243 of file kmime_headers_obs.h.

◆ ContentType() [4/4]

ContentType::ContentType ( Content * p,
const TQString & s )
inline

Definition at line 244 of file kmime_headers_obs.h.

◆ ~ContentType()

ContentType::~ContentType ( )
inline

Definition at line 245 of file kmime_headers_obs.h.

Member Function Documentation

◆ category()

contentCategory ContentType::category ( )
inline

Definition at line 284 of file kmime_headers_obs.h.

◆ clear()

virtual void ContentType::clear ( )
inlinevirtual

Definition at line 251 of file kmime_headers_obs.h.

◆ isEmpty()

virtual bool ContentType::isEmpty ( )
inlinevirtual

Definition at line 252 of file kmime_headers_obs.h.

◆ mimeType()

TQCString ContentType::mimeType ( )
inline

Definition at line 257 of file kmime_headers_obs.h.

◆ setCategory()

void ContentType::setCategory ( contentCategory c)
inline

Definition at line 285 of file kmime_headers_obs.h.

◆ type()

virtual const char * ContentType::type ( )
inlinevirtual

Definition at line 253 of file kmime_headers_obs.h.

Member Data Documentation

◆ c_ategory

contentCategory ContentType::c_ategory
protected

Definition at line 291 of file kmime_headers_obs.h.

◆ m_imeType

TQCString ContentType::m_imeType
protected

Definition at line 290 of file kmime_headers_obs.h.

◆ p_arams

TQCString ContentType::p_arams
protected

Definition at line 290 of file kmime_headers_obs.h.


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