libkdenetwork Library API Documentation

KMime::Headers::Newsgroups Class Reference

Represents a "Newsgroups" header. More...

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Newsgroups:

Inheritance graph
[legend]
Collaboration diagram for KMime::Headers::Newsgroups:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Newsgroups (Content *p)
 Newsgroups (Content *p, const QCString &s)
 Newsgroups (Content *p, const QString &s)
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 ()
QCString firstGroup ()
bool isCrossposted ()
QStringList getGroups ()

Protected Attributes

QCString g_roups

Detailed Description

Represents a "Newsgroups" header.

Definition at line 691 of file kmime_headers.h.


Member Function Documentation

void KMime::Headers::Newsgroups::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 931 of file kmime_headers.cpp.

QCString KMime::Headers::Newsgroups::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 938 of file kmime_headers.cpp.

void KMime::Headers::Newsgroups::fromUnicodeString const QString s,
const QCString
[virtual]
 

Parse the given string and set the charset.

Reimplemented from KMime::Headers::Base.

Definition at line 947 of file kmime_headers.cpp.

QString KMime::Headers::Newsgroups::asUnicodeString  )  [virtual]
 

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

Reimplemented from KMime::Headers::Base.

Definition at line 954 of file kmime_headers.cpp.

virtual void KMime::Headers::Newsgroups::clear  )  [inline, virtual]
 

Delete.

Reimplemented from KMime::Headers::Base.

Definition at line 704 of file kmime_headers.h.

virtual bool KMime::Headers::Newsgroups::isEmpty  )  [inline, virtual]
 

Do we have data?

Reimplemented from KMime::Headers::Base.

Definition at line 705 of file kmime_headers.h.

virtual const char* KMime::Headers::Newsgroups::type  )  [inline, virtual]
 

Return the type of this header (e.g.

"From")

Reimplemented from KMime::Headers::Base.

Reimplemented in KMime::Headers::FollowUpTo.

Definition at line 706 of file kmime_headers.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdenetwork Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:52:05 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003