KMime

headers.h File Reference
#include "kmime_export.h"
#include "headerparsing.h"
#include <QByteArray>
#include <QDateTime>
#include <QList>
#include <QMetaType>
#include <QString>
#include <QStringList>
Include dependency graph for headers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KMime::Headers::Generics::AddressList
 
class  KMime::Headers::Base
 
class  KMime::Headers::Bcc
 
class  KMime::Headers::Cc
 
class  KMime::Headers::ContentDescription
 
class  KMime::Headers::ContentDisposition
 
class  KMime::Headers::ContentID
 
class  KMime::Headers::ContentLocation
 
class  KMime::Headers::ContentTransferEncoding
 
class  KMime::Headers::ContentType
 
class  KMime::Headers::Control
 
class  KMime::Headers::Date
 
class  KMime::Headers::Generics::DotAtom
 
class  KMime::Headers::FollowUpTo
 
class  KMime::Headers::From
 
class  KMime::Headers::Generic
 
class  KMime::Headers::Generics::Ident
 
class  KMime::Headers::InReplyTo
 
class  KMime::Headers::Keywords
 
class  KMime::Headers::Lines
 
class  KMime::Headers::Generics::MailboxList
 
class  KMime::Headers::MailCopiesTo
 
class  KMime::Headers::MessageID
 
class  KMime::Headers::MIMEVersion
 
class  KMime::Headers::Newsgroups
 
class  KMime::Headers::Organization
 
class  KMime::Headers::Generics::Parametrized
 
class  KMime::Headers::Generics::PhraseList
 
class  KMime::Headers::References
 
class  KMime::Headers::ReplyTo
 
class  KMime::Headers::ReturnPath
 
class  KMime::Headers::Sender
 
class  KMime::Headers::Generics::SingleIdent
 
class  KMime::Headers::Generics::SingleMailbox
 
class  KMime::Headers::Generics::Structured
 
class  KMime::Headers::Subject
 
class  KMime::Headers::Supersedes
 
class  KMime::Headers::To
 
class  KMime::Headers::Generics::Token
 
class  KMime::Headers::Generics::Unstructured
 
class  KMime::Headers::UserAgent
 

Enumerations

enum  KMime::Headers::contentDisposition { KMime::Headers::CDInvalid , KMime::Headers::CDinline , KMime::Headers::CDattachment , KMime::Headers::CDparallel }
 
enum  KMime::Headers::contentEncoding {
  KMime::Headers::CE7Bit , KMime::Headers::CE8Bit , KMime::Headers::CEquPr , KMime::Headers::CEbase64 ,
  KMime::Headers::CEuuenc , KMime::Headers::CEbinary
}
 

Functions

BaseKMime::Headers::createHeader (QByteArrayView type)
 

Detailed Description

This file is part of the API for handling MIME data and defines the various header classes:

  • header's base class defining the common interface
  • generic base classes for different types of fields
  • incompatible, Structured-based field classes
  • compatible, Unstructured-based field classes

Defines the various headers classes.

Author(s)
the KMime authors (see AUTHORS file), Volker Krause <vkrau.nosp@m.se@k.nosp@m.de.or.nosp@m.g>

Definition in file headers.h.

Enumeration Type Documentation

◆ contentDisposition

Various possible values for the "Content-Disposition" header.

Enumerator
CDInvalid 

Default, invalid value.

CDinline 

inline

CDattachment 

attachment

CDparallel 

parallel (invalid, do not use)

Definition at line 64 of file headers.h.

◆ contentEncoding

Various possible values for the "Content-Transfer-Encoding" header.

Enumerator
CE7Bit 

7bit

CE8Bit 

8bit

CEquPr 

quoted-printable

CEbase64 

base64

CEuuenc 

uuencode

CEbinary 

binary

Definition at line 52 of file headers.h.

Function Documentation

◆ createHeader()

KMIME_EXPORT Base * KMime::Headers::createHeader ( QByteArrayView type)
nodiscard

Creates a header based on.

Parameters
type.If
typeis a known header type, the right object type will be created, otherwise a null pointer is returned.

Definition at line 2008 of file headers.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.