kioslave/imap4
21 #include "mimeheader.h"
22 #include "mailaddress.h"
24 #include <kimap/rfccodecs.h>
27 using namespace KIMAP;
40 virtual void outputHeader (
mimeIO &);
42 void addTo (
const mailAddress & _adr)
44 toAdr.append(
new mailAddress( _adr ) );
46 void addCC (
const mailAddress & _adr)
48 ccAdr.append(
new mailAddress( _adr ) );
50 void addBCC (
const mailAddress & _adr)
52 bccAdr.append(
new mailAddress( _adr ) );
55 void setFrom (
const mailAddress & _adr)
59 void setSender (
const mailAddress & _adr)
63 void setReturnPath (
const mailAddress & _adr)
67 void setReplyTo (
const mailAddress & _adr)
72 const QByteArray& getMessageId ()
76 void setMessageId (
const QByteArray & _str)
81 const QByteArray& getInReplyTo ()
85 void setInReplyTo (
const QByteArray & _str)
90 const QByteArray& getReferences ()
94 void setReferences (
const QByteArray & _str)
104 _subject = KIMAP::encodeRFC2047String( _str ).toLatin1();
111 _subject = _str.simplified();
119 return KIMAP::decodeRFC2047String( _subject );
145 static int parseAddressList (
const char *, QList < mailAddress *> &);
146 static QByteArray getAddressStr (QList < mailAddress *> &);
147 QList < mailAddress *> &to ()
151 QList < mailAddress *> &cc ()
155 QList < mailAddress *> &bcc ()
159 #ifdef KMAIL_COMPATIBLE
162 return getSubject ();
164 const mailAddress & from ()
168 const mailAddress & replyTo ()
172 void readConfig (
void)
178 QList < mailAddress *> toAdr;
179 QList < mailAddress *> ccAdr;
180 QList < mailAddress *> bccAdr;
182 mailAddress senderAdr;
183 mailAddress returnpathAdr;
184 mailAddress replytoAdr;
188 QByteArray messageID;
189 QByteArray inReplyTo;
190 QByteArray references;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:02:18 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.