KMime::NewsArticle
#include <kmime_newsarticle.h>
Public Types | |
typedef QSharedPointer< NewsArticle > | Ptr |
Public Types inherited from KMime::Message | |
typedef QSharedPointer< Message > | Ptr |
Public Types inherited from KMime::Content | |
typedef QList< KMime::Content * > | List |
Protected Member Functions | |
QByteArray | assembleHeaders () override |
Additional Inherited Members | |
Static Public Member Functions inherited from KMime::Message | |
static QString | mimeType () |
Static Public Member Functions inherited from KMime::Content | |
static QByteArray | defaultCharset () |
Detailed Description
NNTP news article.
Definition at line 21 of file kmime_newsarticle.h.
Member Typedef Documentation
◆ Ptr
A shared pointer to a news article.
Definition at line 27 of file kmime_newsarticle.h.
Constructor & Destructor Documentation
◆ NewsArticle()
KMime::NewsArticle::NewsArticle | ( | ) |
Creates a NewsArticle object.
Definition at line 19 of file kmime_newsarticle.cpp.
◆ ~NewsArticle()
|
overridedefault |
Destroys this NewsArticle.
Member Function Documentation
◆ assembleHeaders()
|
overrideprotectedvirtual |
Reimplement this method if you need to assemble additional headers in a derived class.
Don't forget to call the implementation of the base class.
- Returns
- The raw, assembled headers.
Reimplemented from KMime::Message.
Definition at line 25 of file kmime_newsarticle.cpp.
◆ control()
KMime::Headers::Control * KMime::NewsArticle::control | ( | bool | create = true | ) |
Returns the Control header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
◆ followUpTo()
KMime::Headers::FollowUpTo * KMime::NewsArticle::followUpTo | ( | bool | create = true | ) |
Returns the Follow-Up-To header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
◆ lines()
KMime::Headers::Lines * KMime::NewsArticle::lines | ( | bool | create = true | ) |
Returns the Lines header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
◆ mailCopiesTo()
KMime::Headers::MailCopiesTo * KMime::NewsArticle::mailCopiesTo | ( | bool | create = true | ) |
Returns the Mail-Copies-To header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
◆ newsgroups()
KMime::Headers::Newsgroups * KMime::NewsArticle::newsgroups | ( | bool | create = true | ) |
Returns the Newsgroups header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
◆ supersedes()
KMime::Headers::Supersedes * KMime::NewsArticle::supersedes | ( | bool | create = true | ) |
Returns the Supersedes header.
- Parameters
-
create If true, create the header if it doesn't exist yet.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:51:02 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.