kmail
KMMessage Class Reference
#include <kmmessage.h>
Inheritance diagram for KMMessage:

Detailed Description
This is a Mime Message.
Definition at line 67 of file kmmessage.h.
Public Types | |
enum | HeaderFieldType { Unstructured, Structured, Address } |
Public Member Functions | |
KMMessage (KMFolder *parent=0) | |
KMMessage (DwMessage *) | |
KMMessage (KMMsgInfo &msgInfo) | |
KMMessage (const KMMessage &other) | |
virtual | ~KMMessage () |
KMMsgBase & | toMsgBase () |
const KMMsgBase & | toMsgBase () const |
bool | isMessage () const |
bool | isUrgent () const |
void | setUnencryptedMsg (KMMessage *unencrypted) |
bool | hasUnencryptedMsg () const |
KMMessage * | unencryptedMsg () const |
KMMessage * | takeUnencryptedMsg () |
void | del () |
void | undel () |
void | touch () |
KMMessage * | createReply (KMail::ReplyStrategy replyStrategy=KMail::ReplySmart, QString selection=QString::null, bool noQuote=FALSE, bool allowDecryption=TRUE, bool selectionIsBody=FALSE) |
KMMessage * | createRedirect (const QString &toStr) |
QCString | createForwardBody () |
KMMessage * | createForward () |
KMMessage * | createDeliveryReceipt () const |
KMMessage * | createMDN (KMime::MDN::ActionMode a, KMime::MDN::DispositionType d, bool allowGUI=false, QValueList< KMime::MDN::DispositionModifier > m=QValueList< KMime::MDN::DispositionModifier >()) |
void | fromDwString (const DwString &str, bool setStatus=FALSE) |
void | fromString (const QCString &str, bool setStatus=FALSE) |
void | fromByteArray (const QByteArray &ba, bool setStatus=false) |
const DwString & | asDwString () const |
const DwMessage * | asDwMessage () |
QCString | asString () const |
QCString | asSendableString () const |
QCString | headerAsSendableString () const |
void | removePrivateHeaderFields () |
DwMediaType & | dwContentType () |
QString | headerAsString () const |
void | parseTextStringFromDwPart (partNode *root, QCString &parsedString, const QTextCodec *&codec, bool &isHTML) const |
void | initHeader (uint identity=0) |
void | initFromMessage (const KMMessage *msg, bool idHeaders=TRUE) |
uint | identityUoid () const |
void | applyIdentity (uint id) |
void | cleanupHeader () |
void | setAutomaticFields (bool isMultipart=FALSE) |
QString | dateStr () const |
QCString | dateShortStr () const |
QString | dateIsoStr () const |
time_t | date () const |
void | setDate (const QCString &str) |
void | setDate (time_t aUnixTime) |
void | setDateToday () |
QString | to () const |
void | setTo (const QString &aStr) |
QString | toStrip () const |
QString | replyTo () const |
void | setReplyTo (const QString &aStr) |
void | setReplyTo (KMMessage *) |
QString | cc () const |
void | setCc (const QString &aStr) |
QString | ccStrip () const |
QString | bcc () const |
void | setBcc (const QString &aStr) |
QString | fcc () const |
void | setFcc (const QString &aStr) |
QString | drafts () const |
void | setDrafts (const QString &aStr) |
QString | from () const |
void | setFrom (const QString &aStr) |
QString | fromStrip () const |
QString | sender () const |
QString | who () const |
QString | subject () const |
void | setSubject (const QString &aStr) |
void | initStrippedSubjectMD5 () |
QString | xmark () const |
void | setXMark (const QString &aStr) |
QString | replyToId () const |
void | setReplyToId (const QString &aStr) |
QString | replyToIdMD5 () const |
QString | replyToAuxIdMD5 () const |
QString | strippedSubjectMD5 () const |
QString | subjectMD5 () const |
bool | subjectIsPrefixed () const |
QString | msgId () const |
void | setMsgId (const QString &aStr) |
QString | msgIdMD5 () const |
QString | references () const |
void | setReferences (const QCString &aStr) |
QCString | id () const |
void | setMsgSerNum (unsigned long newMsgSerNum=0) |
QString | headerField (const QCString &name) const |
void | setHeaderField (const QCString &name, const QString &value, HeaderFieldType type=Unstructured, bool prepend=false) |
QStringList | headerFields (const QCString &name) const |
QCString | rawHeaderField (const QCString &name) const |
QValueList< QCString > | rawHeaderFields (const QCString &field) const |
KMime::Types::AddressList | headerAddrField (const QCString &name) const |
KMime::Types::AddrSpecList | extractAddrSpecs (const QCString &headerNames) const |
void | removeHeaderField (const QCString &name) |
QCString | typeStr () const |
int | type () const |
void | setTypeStr (const QCString &aStr) |
void | setType (int aType) |
QCString | subtypeStr () const |
int | subtype () const |
void | setSubtypeStr (const QCString &aStr) |
void | setSubtype (int aSubtype) |
void | setContentTypeParam (const QCString &attr, const QCString &val) |
DwHeaders & | headers () const |
void | setNeedsAssembly () |
QCString | contentTransferEncodingStr () const |
int | contentTransferEncoding () const |
void | setContentTransferEncodingStr (const QCString &aStr) |
void | setContentTransferEncoding (int aCte) |
QCString | cteStr () const |
int | cte () const |
void | setCteStr (const QCString &aStr) |
void | setCte (int aCte) |
void | setBodyFromUnicode (const QString &str) |
QString | bodyToUnicode (const QTextCodec *codec=0) const |
QCString | body () const |
void | setBody (const QCString &aStr) |
void | setMultiPartBody (const QCString &aStr) |
void | setBodyEncoded (const QCString &aStr) |
void | setBodyEncodedBinary (const QByteArray &aStr) |
void | setBodyAndGuessCte (const QByteArray &aBuf, QValueList< int > &allowedCte, bool allow8Bit=false, bool willBeSigned=false) |
void | setBodyAndGuessCte (const QCString &aBuf, QValueList< int > &allowedCte, bool allow8Bit=false, bool willBeSigned=false) |
QCString | bodyDecoded () const |
QByteArray | bodyDecodedBinary () const |
int | numBodyParts () const |
DwBodyPart * | findDwBodyPart (int type, int subtype) const |
DwBodyPart * | findDwBodyPart (DwBodyPart *part, const QString &partSpecifier) |
DwBodyPart * | dwBodyPart (int aIdx) const |
int | partNumber (DwBodyPart *aDwBodyPart) const |
DwBodyPart * | getFirstDwBodyPart () const |
DwMessage * | getTopLevelPart () const |
void | bodyPart (int aIdx, KMMessagePart *aPart) const |
DwBodyPart * | createDWBodyPart (const KMMessagePart *aPart) |
void | addDwBodyPart (DwBodyPart *aDwPart) |
void | addBodyPart (const KMMessagePart *aPart) |
void | deleteBodyParts () |
void | setStatusFields () |
QString | replaceHeadersInString (const QString &s) const |
QCString | charset () const |
void | setCharset (const QCString &aStr) |
const QTextCodec * | codec () const |
void | setOverrideCodec (const QTextCodec *codec) |
void | setDecodeHTML (bool aDecodeHTML) |
QCString | getRefStr () const |
off_t | folderOffset () const |
void | setFolderOffset (off_t offs) |
QString | fileName () const |
void | setFileName (const QString &file) |
size_t | msgSize () const |
void | setMsgSize (size_t sz) |
size_t | msgLength () const |
void | setMsgLength (size_t sz) |
size_t | msgSizeServer () const |
void | setMsgSizeServer (size_t sz) |
ulong | UID () const |
void | setUID (ulong uid) |
KMMsgStatus | status () const |
void | setStatus (const KMMsgStatus status, int idx=-1) |
void | setStatus (const char *s1, const char *s2=0) |
void | setEncryptionState (const KMMsgEncryptionState, int idx=-1) |
void | setSignatureState (const KMMsgSignatureState, int idx=-1) |
void | setMDNSentState (KMMsgMDNSentState status, int idx=-1) |
KMMsgEncryptionState | encryptionState () const |
KMMsgSignatureState | signatureState () const |
KMMsgMDNSentState | mdnSentState () const |
void | link (const KMMessage *aMsg, KMMsgStatus aStatus) |
void | getLink (int n, ulong *retMsgSerNum, KMMsgStatus *retStatus) const |
QString | formatString (const QString &) const |
void | updateBodyPart (const QString partSpecifier, const QByteArray &data) |
DwBodyPart * | lastUpdatedPart () |
bool | isComplete () const |
void | setComplete (bool v) |
bool | readyToShow () const |
void | setReadyToShow (bool v) |
void | updateAttachmentState (DwBodyPart *part=0) |
bool | transferInProgress () const |
void | setTransferInProgress (bool value, bool force=false) |
QCString | mboxMessageSeparator () |
QString | asQuotedString (const QString &headerStr, const QString &indentStr, const QString &selection=QString::null, bool aStripSignature=true, bool allowDecryption=true) const |
QString | asPlainText (bool stripSignature, bool allowDecryption) const |
Static Public Member Functions | |
static KPIM::EmailParseResult | isValidEmailAddressList (const QString &aStr, QString &brokenAddress) |
static KMime::Types::AddressList | splitAddrField (const QCString &str) |
static void | setDwMediaTypeParam (DwMediaType &mType, const QCString &attr, const QCString &val) |
static QValueList< int > | determineAllowedCtes (const KMime::CharFreq &cf, bool allow8Bit, bool willBeSigned) |
static void | bodyPart (DwBodyPart *aDwBodyPart, KMMessagePart *aPart, bool withBody=true) |
static QString | generateMessageId (const QString &addr) |
static QCString | html2source (const QCString &src) |
static QString | encodeMailtoUrl (const QString &str) |
static QString | decodeMailtoUrl (const QString &url) |
static QCString | stripEmailAddr (const QCString &emailAddr) |
static QString | stripEmailAddr (const QString &emailAddr) |
static QString | quoteHtmlChars (const QString &str, bool removeLineBreaks=false) |
static QString | emailAddrAsAnchor (const QString &emailAddr, bool stripped=TRUE) |
static QStringList | stripAddressFromAddressList (const QString &address, const QStringList &addresses) |
static QStringList | stripMyAddressesFromAddressList (const QStringList &list) |
static bool | addressIsInAddressList (const QString &address, const QStringList &addresses) |
static QString | expandAliases (const QString &recipients) |
static QString | guessEmailAddressFromLoginName (const QString &userName) |
static QString | smartQuote (const QString &msg, int maxLineLength) |
static QCString | defaultCharset () |
static const QStringList & | preferredCharsets () |
static void | readConfig () |
Friends | |
class | ::KMForwardCommand |
Constructor & Destructor Documentation
|
Straight forward initialization.
Definition at line 106 of file kmmessage.cpp. |
|
Constructor from a DwMessage. KMMessage takes possession of the DwMessage, so don't dare to delete it. Definition at line 88 of file kmmessage.cpp. |
|
Copy constructor. Does *not* automatically load the message. Definition at line 113 of file kmmessage.cpp. |
|
Copy constructor.
Definition at line 130 of file kmmessage.cpp. |
|
Destructor.
Definition at line 190 of file kmmessage.cpp. |
Member Function Documentation
|
Append a body part to the message.
Definition at line 3098 of file kmmessage.cpp. |
|
Append a DwBodyPart to the message.
Definition at line 3090 of file kmmessage.cpp. |
|
Returns true if the given address is contained in the given address list.
Definition at line 3659 of file kmmessage.cpp. |
|
Set the from, to, cc, bcc, encrytion etc headers as specified in the given identity.
Definition at line 1561 of file kmmessage.cpp. |
|
Return the entire message contents in the DwString. This function is *fast* even for large message since it does *not* involve a string copy. Definition at line 282 of file kmmessage.cpp. |
|
Return the textual content of the message as plain text, converting HTML to plain text if necessary.
Definition at line 733 of file kmmessage.cpp. |
|
Returns message body with quoting header and indented by the given indentation string. This is suitable for including the message in another message of for replies, forwards. The header string is a template where the following fields are replaced with the corresponding values: D: date of this message S: subject of this message F: sender (from) of this message %%: a single percent signNo attachments are handled if includeAttach is false. The signature is stripped if aStripSignature is true and smart quoting is turned on. Signed or encrypted texts get converted to plain text when allowDecryption is true. Definition at line 809 of file kmmessage.cpp. |
|
Return the message contents with the headers that should not be sent stripped off.
Definition at line 309 of file kmmessage.cpp. |
|
Return the entire message contents as a string. This function is slow for large message since it involves a string copy. If you need the string representation only for a short time (i.e. without the chance of calling any function in the underlying mimelib, then you should use the asDwString function.
Definition at line 304 of file kmmessage.cpp. |
|
Get or set the 'Bcc' header field.
Definition at line 1850 of file kmmessage.cpp. |
|
Get the message body. Does not decode the body. Definition at line 2414 of file kmmessage.cpp. |
|
Returns a decoded version of the body from the current content transfer encoding. The first method returns a null terminated string, the second method is meant for binary data, not null is appended Definition at line 2451 of file kmmessage.cpp. |
|
Get the body part at position in aIdx. Indexing starts at 0. If there is no body part at that index, aPart will have its attributes set to empty values. Definition at line 2933 of file kmmessage.cpp. |
|
Fill the KMMessagePart structure for a given DwBodyPart. If withBody is false the body of the KMMessagePart will be left empty and only the headers of the part will be filled in Definition at line 2882 of file kmmessage.cpp. |
|
Returns the body part decoded to unicode.
Definition at line 4139 of file kmmessage.cpp. |
|
Get or set the 'Cc' header field.
Definition at line 1827 of file kmmessage.cpp. |
|
Get the message charset.
Definition at line 3820 of file kmmessage.cpp. |
|
Removes empty fields from the header, e.g. an empty Cc: or Bcc: field. Definition at line 1647 of file kmmessage.cpp. |
|
Get a QTextCodec suitable for this message part.
Definition at line 4121 of file kmmessage.cpp. |
|
Get or set the 'Content-Transfer-Encoding' header field The member functions that involve enumerated types (ints) will work only for well-known encodings.
Definition at line 2363 of file kmmessage.cpp. |
|
Create a new message that is a delivery receipt of this message, filling required header fileds with the proper values. The returned message is not stored in any folder. Definition at line 1534 of file kmmessage.cpp. |
|
Compose a DwBodyPart (needed for adding a part to the message).
Definition at line 2955 of file kmmessage.cpp. |
|
Create a new message that is a forward of this message, filling all required header fields with the proper values. The returned message is not stored in any folder. Marks this message as forwarded. Definition at line 1169 of file kmmessage.cpp. |
|
Create the forwarded body for the message.
Definition at line 1140 of file kmmessage.cpp. |
|
Create a new message that is a MDN for this message, filling all required fields with proper values. The returned message is not stored in any folder.
|
|
Create a new message that is a redirect to this message, filling all required header fields with the proper values. The returned message is not stored in any folder. Marks this message as replied. Redirects differ from forwards so they are forwarded to some other user, mail is not changed and the reply-to field is set to the email address of the original sender Definition at line 1087 of file kmmessage.cpp. |
|
Create a new message that is a reply to this message, filling all required header fields with the proper values. The returned message is not stored in any folder. Marks this message as replied. Definition at line 837 of file kmmessage.cpp. |
|
Cte is short for ContentTransferEncoding. These functions are an alternative to the ones with longer names. Definition at line 505 of file kmmessage.h. |
|
Returns the message date in asctime format or an empty string if the message lacks a Date header.
Definition at line 1708 of file kmmessage.cpp. |
|
Get or set the 'Date' header field.
Reimplemented from KMMsgBase. Definition at line 1690 of file kmmessage.cpp. |
|
Decodes a mailto URL.
Definition at line 3215 of file kmmessage.cpp. |
|
Get the default message charset.
Definition at line 3797 of file kmmessage.cpp. |
|
Mark the message as deleted.
Definition at line 152 of file kmmessage.h. |
|
Delete all body parts.
Definition at line 2948 of file kmmessage.cpp. |
|
Returns a list of content-transfer-encodings that can be used with the given result of the character frequency analysis of a message or message part under the given restrictions.
|
|
Get or set the 'Drafts' folder.
Definition at line 328 of file kmmessage.h. |
|
Get the DwBodyPart at position in aIdx. Indexing starts at 0. If there is no body part at that index, return value will be zero. Definition at line 2731 of file kmmessage.cpp. |
|
Return reference to Content-Type header for direct manipulation.
Definition at line 381 of file kmmessage.cpp. |
|
Converts the email address(es) to (a) nice HTML mailto: anchor(s). If stripped is TRUE then the visible part of the anchor contains only the name part and not the given emailAddr. Definition at line 3582 of file kmmessage.cpp. |
|
Encodes an email address as mailto URL.
Definition at line 3204 of file kmmessage.cpp. |
|
Encryption status of the message.
Implements KMMsgBase. Definition at line 776 of file kmmessage.h. |
|
Expands aliases (distribution lists and nick names) and appends a domain part to all email addresses which are missing the domain part.
Definition at line 3675 of file kmmessage.cpp. |
|
Get or set the 'Fcc' header field.
Definition at line 1863 of file kmmessage.cpp. |
|
Get/set filename in mail folder.
Implements KMMsgBase. Definition at line 738 of file kmmessage.h. |
|
Return the first DwBodyPart matching a given partSpecifier or zero, if no found.
Definition at line 3950 of file kmmessage.cpp. |
|
Return the first DwBodyPart matching a given Content-Type or zero, if no found.
Definition at line 2771 of file kmmessage.cpp. |
|
Get/set offset in mail folder.
Implements KMMsgBase. Definition at line 734 of file kmmessage.h. |
|
Convert wildcards into normal string.
Definition at line 416 of file kmmessage.cpp. |
|
Get or set the 'From' header field.
Definition at line 1891 of file kmmessage.cpp. |
|
Parse the string and create this message from it.
Definition at line 394 of file kmmessage.cpp. |
|
Generates the Message-Id. It uses either the Message-Id suffix defined by the user or the given email address as suffix. The address must be given as addr-spec as defined in RFC 2822. Definition at line 3106 of file kmmessage.cpp. |
|
Get the 1st DwBodyPart. If there is no body part, return value will be zero. Definition at line 2684 of file kmmessage.cpp. |
|
Returns the information for the Nth link into
|
|
Creates reference string for reply to messages. reference = original first reference + original last reference + original msg-id Definition at line 1059 of file kmmessage.cpp. |
|
Uses the hostname as domain part and tries to determine the real name from the entries in the password file.
Definition at line 3725 of file kmmessage.cpp. |
|
Returns TRUE if the message contains an unencrypted copy of itself.
Definition at line 134 of file kmmessage.h. |
|
Returns header address list as string list. Valid for the following fields: To, Bcc, Cc, ReplyTo, ResentBcc, ResentCc, ResentReplyTo, ResentTo Definition at line 2127 of file kmmessage.cpp. |
|
Return the message header with the headers that should not be sent stripped off.
Definition at line 318 of file kmmessage.cpp. |
|
Return header as string.
Definition at line 370 of file kmmessage.cpp. |
|
Returns the value of a header field with the given name. If multiple header fields with the given name might exist then you should use headerFields() instead. Definition at line 2165 of file kmmessage.cpp. |
|
Returns a list of the values of all header fields with the given name.
Definition at line 2176 of file kmmessage.cpp. |
|
get the DwHeaders (make sure to call setNeedsAssembly() function after directly modyfying internal data like the headers)
Definition at line 2400 of file kmmessage.cpp. |
|
Convert '<' into "<" resp. '>' into ">" in order to prevent their interpretation by KHTML. Does *not* use the Qt replace function but runs a very fast C code the same way as lf2crlf() does. Definition at line 3131 of file kmmessage.cpp. |
|
Returns the message ID, useful for followups.
Definition at line 207 of file kmmessage.cpp. |
|
Definition at line 1620 of file kmmessage.cpp. |
|
Initialize headers fields according to the identity and the transport header of the given original message.
Definition at line 1635 of file kmmessage.cpp. |
|
Initialize header fields. Should be called on new messages if they are not set manually. E.g. before composing. Calling of setAutomaticFields(), see below, is still required. Definition at line 1608 of file kmmessage.cpp. |
|
Calculate strippedSubject.
Implements KMMsgBase. Definition at line 350 of file kmmessage.h. |
|
Return true if the complete message is available without referring to the backing store.
Definition at line 799 of file kmmessage.h. |
|
Returns TRUE if object is a real message (not KMMsgInfo or KMMsgBase).
Reimplemented from KMMsgBase. Definition at line 229 of file kmmessage.cpp. |
|
Definition at line 249 of file kmmessage.cpp. |
|
Validate a list of email addresses, and also allow aliases and distribution lists to be expanded before validation.
Definition at line 263 of file kmmessage.cpp. |
|
Returns the last DwBodyPart that was updated.
Definition at line 796 of file kmmessage.h. |
|
Links this message to
|
|
Returns an mbox message separator line for this message, i.e. a string of the form "From local@domain.invalid Sat Jun 12 14:00:00 2004\n". Definition at line 4149 of file kmmessage.cpp. |
|
"MDN send" status of the message.
Implements KMMsgBase. Definition at line 781 of file kmmessage.h. |
|
Get or set the 'Message-Id' header field.
Definition at line 2058 of file kmmessage.cpp. |
|
Unlike the above function this works also, if the message is not in a folder.
Definition at line 749 of file kmmessage.h. |
|
Get/set size of message in the folder including the whole header in bytes. Can be 0, if the message is not in a folder. The setting of mMsgSize = mMsgLength = sz is needed for popFilter Implements KMMsgBase. Definition at line 744 of file kmmessage.h. |
|
Get/set size on server.
Implements KMMsgBase. Definition at line 2088 of file kmmessage.cpp. |
|
Number of body parts the message has. This is one for plain messages without any attachment. Definition at line 2642 of file kmmessage.cpp. |
|
Returns a decoded body part string to be further processed by function asQuotedString(). THIS FUNCTION WILL BE REPLACED ONCE KMime IS FULLY INTEGRATED (khz, June 05 2002) Definition at line 704 of file kmmessage.cpp. |
|
Get the number of the given DwBodyPart. If no body part is given, return value will be -1. Definition at line 2691 of file kmmessage.cpp. |
|
Get a list of preferred message charsets.
Definition at line 3814 of file kmmessage.cpp. |
|
Quotes the following characters which have a special meaning in HTML: '<' '>' '&' '"'. Additionally '\n' is converted to "<br />" if
If Definition at line 3546 of file kmmessage.cpp. |
|
Returns the raw value of a header field with the given name. If multiple header fields with the given name might exist then you should use rawHeaderFields() instead. Definition at line 2140 of file kmmessage.cpp. |
|
Returns a list of the raw values of all header fields with the given name.
Definition at line 2151 of file kmmessage.cpp. |
|
Reads config settings from group "KMMessage" and sets all internal variables (e.g. indent-prefix, etc.) Reimplemented from KMMsgBase. Definition at line 3755 of file kmmessage.cpp. |
|
Return if the message is ready to be shown.
Definition at line 804 of file kmmessage.h. |
|
Get or set the references for this message.
Definition at line 2001 of file kmmessage.cpp. |
|
Remove header field with given name.
Definition at line 2191 of file kmmessage.cpp. |
|
Remove all private header fields: *Status: and X-KMail-*.
Definition at line 327 of file kmmessage.cpp. |
|
Replaces every occurrence of "${foo}" in
Definition at line 1521 of file kmmessage.cpp. |
|
Get or set the 'ReplyTo' header field.
Definition at line 1806 of file kmmessage.cpp. |
|
Get the second to last id from the References header field. If outgoing messages are not kept in the same folder as incoming ones, this will be a good place to thread the message beneath. bob <- second to last reference points to this |_kmailuser <- not in our folder, but Outbox |_bob <- In-Reply-To points to our mail above Thread like this: bob |_bob using replyToAuxIdMD5 Implements KMMsgBase. Definition at line 2022 of file kmmessage.cpp. |
|
Get or set the 'In-Reply-To' header field.
Definition at line 1955 of file kmmessage.cpp. |
|
Definition at line 1915 of file kmmessage.cpp. |
|
Set fields that are either automatically set (Message-id) or that do not change from one message to another (MIME-Version). Call this method before sending *after* all changes to the message are done because this method does things different if there are attachments / multiple body parts. Definition at line 1670 of file kmmessage.cpp. |
|
Set the message body. Does not encode the body. Definition at line 2621 of file kmmessage.cpp. |
|
Sets body, encoded in the best fitting content-transfer-encoding, which is determined by character frequency count.
|
|
Set the message body, encoding it according to the current content transfer encoding. The first method for null terminated strings, the second for binary data Definition at line 2574 of file kmmessage.cpp. |
|
Sets this body part's content to
Definition at line 4110 of file kmmessage.cpp. |
|
Set the message charset.
Definition at line 3836 of file kmmessage.cpp. |
|
Set if the message is a complete message.
Definition at line 801 of file kmmessage.h. |
|
add or change a parameter of the Content-Type field
Definition at line 2353 of file kmmessage.cpp. |
|
Set date.
Reimplemented from KMMsgBase. Definition at line 1772 of file kmmessage.cpp. |
|
Set the 'Date' header field to the current date.
Definition at line 1752 of file kmmessage.cpp. |
|
Allow decoding of HTML for quoting.
Definition at line 721 of file kmmessage.h. |
|
add or change a parameter of a DwMediaType field
Definition at line 2328 of file kmmessage.cpp. |
|
Set encryption status of the message.
Reimplemented from KMMsgBase. Definition at line 3873 of file kmmessage.cpp. |
|
Set the header field with the given name to the given value. If prepend is set to true, the header is inserted at the beginning and does not overwrite an existing header field with the same name. Definition at line 2203 of file kmmessage.cpp. |
|
Set "MDN sent" status of the message.
Reimplemented from KMMsgBase. Definition at line 3891 of file kmmessage.cpp. |
|
Sets the message serial number. If defaulted to zero, the serial number will be assigned using the dictionary. Note that unless it is explicitely set the serial number will remain 0 as long as the mail is not in a folder. Definition at line 222 of file kmmessage.cpp. |
|
Hack to enable structured body parts to be set as flat text. .. Definition at line 2627 of file kmmessage.cpp. |
|
tell the message that internal data were changed (must be called after directly modifying message structures e.g. when like changing header information by accessing the header via headers() function) Definition at line 2407 of file kmmessage.cpp. |
|
Set the charset the user selected for the message to display.
Definition at line 718 of file kmmessage.h. |
|
Set if the message is ready to be shown.
Definition at line 806 of file kmmessage.h. |
|
Set signature status of the message.
Reimplemented from KMMsgBase. Definition at line 3882 of file kmmessage.cpp. |
|
Set status and mark dirty.
Reimplemented from KMMsgBase. |
|
Set "Status" and "X-Status" fields of the message from the internal message status.
Definition at line 343 of file kmmessage.cpp. |
|
Set subject/from/date and xmark.
Implements KMMsgBase. Definition at line 1932 of file kmmessage.cpp. |
|
Set that the message shall not be deleted because it is still required.
Definition at line 242 of file kmmessage.cpp. |
|
Specifies an unencrypted copy of this message to be stored in a separate member variable to allow saving messages in unencrypted form that were sent in encrypted form. NOTE: Target of this pointer becomes property of KMMessage, and will be deleted in the d'tor. Definition at line 255 of file kmmessage.cpp. |
|
Signature status of the message.
Implements KMMsgBase. Definition at line 779 of file kmmessage.h. |
|
Given argument msg add quoting characters and relayout for max width maxLength.
Definition at line 636 of file kmmessage.cpp. |
|
Splits the given address list into separate addresses.
Definition at line 2114 of file kmmessage.cpp. |
|
Status of the message.
Implements KMMsgBase. Definition at line 762 of file kmmessage.h. |
|
Strips an address from an address list. This is for example used when replying to all. Definition at line 3616 of file kmmessage.cpp. |
|
Does the same as the above function. Shouldn't be used. Definition at line 3384 of file kmmessage.cpp. |
|
This function generates a displayable string from a list of email addresses. Input : mailbox-list Output: comma separated list of display name resp. comment resp. address Definition at line 3225 of file kmmessage.cpp. |
|
Strips all the user's addresses from an address list. This is used when replying. Definition at line 3638 of file kmmessage.cpp. |
|
Get a hash of the subject with all prefixes such as Re: removed. Used for threading. Implements KMMsgBase. Definition at line 2035 of file kmmessage.cpp. |
|
Get or set the 'Subject' header field.
Implements KMMsgBase. Definition at line 1925 of file kmmessage.cpp. |
|
Is the subject prefixed by Re: or similar?
Implements KMMsgBase. Definition at line 2045 of file kmmessage.cpp. |
|
Get a hash of the subject. Used for threading. Definition at line 2040 of file kmmessage.cpp. |
|
Subtype.
Definition at line 2292 of file kmmessage.cpp. |
|
Returns an unencrypted copy of this message or 0 if none exists.
Definition at line 144 of file kmmessage.h. |
|
Get or set the 'To' header field.
Definition at line 1787 of file kmmessage.cpp. |
|
Get KMMsgBase for this object.
Definition at line 114 of file kmmessage.h. |
|
Touch the message - mark it as read.
Definition at line 158 of file kmmessage.h. |
|
Return, if the message should not be deleted.
Definition at line 235 of file kmmessage.cpp. |
|
Get or set the 'Content-Type' header field The member functions that involve enumerated types (ints) will work only for well-known types or subtypes.
Definition at line 2255 of file kmmessage.cpp. |
|
Get/set UID.
Implements KMMsgBase. Definition at line 2101 of file kmmessage.cpp. |
|
Undelete the message. Same as touch Definition at line 155 of file kmmessage.h. |
|
Returns an unencrypted copy of this message or 0 if none exists.
Definition at line 137 of file kmmessage.h. |
|
Sets the body of the specified part.
|
|
Get or set the 'Who' header field. The actual field that is returned depends on the contents of the owning folders whoField(). Usually this is 'From', but it can also contain 'To'. Definition at line 1882 of file kmmessage.cpp. |
|
Get or set the 'X-Mark' header field.
Implements KMMsgBase. Definition at line 1940 of file kmmessage.cpp. |
The documentation for this class was generated from the following files: