KMime::Headers::Newsgroups Class
class KMime::Headers::NewsgroupsRepresents a "Newsgroups" header. More...
| Header: | #include <KMime/Headers> |
| CMake: | find_package(KPim6 REQUIRED COMPONENTS Mime)target_link_libraries(mytarget PRIVATE KPim6::Mime) |
| Inherits: | KMime::Headers::Generics::Structured |
| Inherited By: |
Public Functions
| QList<QByteArray> | groups() const |
| bool | isCrossposted() const |
| void | setGroups(const QList<QByteArray> &groups) |
Detailed Description
See RFC 1036, section 2.1.3.
Member Function Documentation
QList<QByteArray> Newsgroups::groups() const
Returns the list of newsgroups.
See also setGroups().
bool Newsgroups::isCrossposted() const
Returns true if this message has been cross-posted, i.e. if it has been posted to multiple groups.
void Newsgroups::setGroups(const QList<QByteArray> &groups)
Sets the newsgroup list.
See also groups().