KMIME Library
kmime_header_parsing.cpp
326 if ( *( scursor + 1 ) != '=' ) { // We expect a '=' after the '?', but we got something else; ignore
1387// FIXME: Get rid of the very ugly "QStringOrQPair" thing. At this level, we are supposed to work
2200 result = KDateTime( maybeDateTime, KDateTime::Spec( KDateTime::OffsetFromUTC, secsEastOfGMT ) );
An abstract base class of codecs for common mail transfer encodings.
Definition kmime_codecs.h:84
static Codec * codecForName(const char *name)
Returns a codec associated with the specified name.
Definition kmime_codecs.cpp:82
virtual void from7BitString(const QByteArray &s)=0
Parses the given string.
Represents an arbitrary header, that can contain any header-field.
Definition kmime_headers.h:1240
The KAutoDeleteHash class is a convenience QHash subclass that provides automatic deletion of the val...
Definition kautodeletehash.h:50
Represents an (email address, display name) pair according RFC 2822, section 3.4.
Definition kmime_header_parsing.h:70
void from7BitString(const QByteArray &s)
Parses the given 7bit encoded string.
Definition kmime_header_parsing.cpp:202
bool hasAddress() const
Returns true if this mailbox has an address.
Definition kmime_header_parsing.cpp:166
void setNameFrom7Bit(const QByteArray &name, const QByteArray &defaultCharset=QByteArray())
Sets the name based on a 7bit encoded string.
Definition kmime_header_parsing.cpp:159
QString prettyAddress() const
Returns a assembled display name / address string of the following form: "Display Name <address>".
Definition kmime_header_parsing.cpp:176
QByteArray as7BitString(const QByteArray &encCharset) const
Returns a 7bit transport encoded representation of this mailbox.
Definition kmime_header_parsing.cpp:208
bool hasName() const
Returns true if this mailbox has a display name.
Definition kmime_header_parsing.cpp:171
void fromUnicodeString(const QString &s)
Parses the given unicode string.
Definition kmime_header_parsing.cpp:197
QByteArray address() const
Returns a string representation of the email address, without the angle brackets.
Definition kmime_header_parsing.cpp:115
This file is part of the API for handling MIME data and defines the Codec class.
This file is part of the API for handling MIME data and defines the DateFormatter class.
This file is part of the API for handling MIME data and defines the HeaderFactory class.
This file is part of the API for handling MIME data and defines the various header classes:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.