libkmime
KMime::Headers::Lines Class Reference
#include <kmime_headers.h>
Inheritance diagram for KMime::Headers::Lines:

Detailed Description
Represents a "Lines" header.
Definition at line 736 of file kmime_headers.h.
Public Member Functions | |
| Lines () | |
| Lines (Content *p) | |
| Lines (Content *p, unsigned int i) | |
| Lines (Content *p, const QCString &s) | |
| Lines (Content *p, const QString &s) | |
| ~Lines () | |
| virtual void | from7BitString (const QCString &s) |
| virtual QCString | as7BitString (bool incType=true) |
| virtual void | fromUnicodeString (const QString &s, const QCString &) |
| virtual QString | asUnicodeString () |
| virtual void | clear () |
| virtual bool | isEmpty () |
| virtual const char * | type () |
| int | numberOfLines () |
| void | setNumberOfLines (int i) |
Protected Attributes | |
| int | l_ines |
Member Function Documentation
| void KMime::Headers::Lines::from7BitString | ( | const QCString & | s | ) | [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 1012 of file kmime_headers.cpp.
| QCString KMime::Headers::Lines::as7BitString | ( | bool | incType = true |
) | [virtual] |
Return the encoded header.
The parameter specifies whether the header-type should be included.
Reimplemented from KMime::Headers::Base.
Definition at line 1019 of file kmime_headers.cpp.
| void KMime::Headers::Lines::fromUnicodeString | ( | const QString & | s, | |
| const QCString & | ||||
| ) | [virtual] |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 1031 of file kmime_headers.cpp.
| QString KMime::Headers::Lines::asUnicodeString | ( | ) | [virtual] |
Return the decoded content of the header without the header-type.
Reimplemented from KMime::Headers::Base.
Definition at line 1038 of file kmime_headers.cpp.
| virtual void KMime::Headers::Lines::clear | ( | ) | [inline, virtual] |
| virtual bool KMime::Headers::Lines::isEmpty | ( | ) | [inline, virtual] |
Do we have data?
Reimplemented from KMime::Headers::Base.
Definition at line 751 of file kmime_headers.h.
| virtual const char* KMime::Headers::Lines::type | ( | ) | [inline, virtual] |
Return the type of this header (e.g.
"From")
Reimplemented from KMime::Headers::Base.
Definition at line 752 of file kmime_headers.h.
The documentation for this class was generated from the following files:

