KMime::NewsArticle Class

class KMime::NewsArticle

NNTP news article. More...

Header: #include <KMime/NewsArticle>
CMake: find_package(KPim6 REQUIRED COMPONENTS Mime)
target_link_libraries(mytarget PRIVATE KPim6::Mime)
Inherits: KMime::Message

Public Functions

NewsArticle()
(since 24.08) const KMime::Headers::Control *control() const
KMime::Headers::Control *control(KMime::CreatePolicy create = Create)
(since 24.08) const KMime::Headers::FollowUpTo *followUpTo() const
KMime::Headers::FollowUpTo *followUpTo(KMime::CreatePolicy create = Create)
(since 24.08) const KMime::Headers::Lines *lines() const
KMime::Headers::Lines *lines(KMime::CreatePolicy create = Create)
(since 24.08) const KMime::Headers::MailCopiesTo *mailCopiesTo() const
KMime::Headers::MailCopiesTo *mailCopiesTo(KMime::CreatePolicy create = Create)
(since 24.08) const KMime::Headers::Newsgroups *newsgroups() const
KMime::Headers::Newsgroups *newsgroups(KMime::CreatePolicy create = Create)
(since 24.08) const KMime::Headers::Supersedes *supersedes() const
KMime::Headers::Supersedes *supersedes(KMime::CreatePolicy create = Create)

Detailed Description

Member Function Documentation

NewsArticle::NewsArticle()

Creates a NewsArticle object.

[since 24.08] const KMime::Headers::Control *NewsArticle::control() const

Returns the Control header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::Control *NewsArticle::control(KMime::CreatePolicy create = Create)

Returns the Control header.

create Whether to create the header if it doesn't exist yet.

[since 24.08] const KMime::Headers::FollowUpTo *NewsArticle::followUpTo() const

Returns the Follow-Up-To header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::FollowUpTo *NewsArticle::followUpTo(KMime::CreatePolicy create = Create)

Returns the Follow-Up-To header.

create Whether to create the header if it doesn't exist yet.

[since 24.08] const KMime::Headers::Lines *NewsArticle::lines() const

Returns the Lines header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::Lines *NewsArticle::lines(KMime::CreatePolicy create = Create)

Returns the Lines header.

create Whether to create the header if it doesn't exist yet.

[since 24.08] const KMime::Headers::MailCopiesTo *NewsArticle::mailCopiesTo() const

Returns the Mail-Copies-To header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::MailCopiesTo *NewsArticle::mailCopiesTo(KMime::CreatePolicy create = Create)

Returns the Mail-Copies-To header.

create Whether to create the header if it doesn't exist yet.

[since 24.08] const KMime::Headers::Newsgroups *NewsArticle::newsgroups() const

Returns the Newsgroups header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::Newsgroups *NewsArticle::newsgroups(KMime::CreatePolicy create = Create)

Returns the Newsgroups header.

create Whether to create the header if it doesn't exist yet.

[since 24.08] const KMime::Headers::Supersedes *NewsArticle::supersedes() const

Returns the Supersedes header.

Can be nullptr if the header doesn't exist.

This function was introduced in 24.08.

KMime::Headers::Supersedes *NewsArticle::supersedes(KMime::CreatePolicy create = Create)

Returns the Supersedes header.

create Whether to create the header if it doesn't exist yet.