<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kioslaves/imap4: mailHeader Class Reference (kioslaves/imap4)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> <style type="text/css"> <!-- hr { display: none; } #content h2 { margin-left: 0px; } table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; } td.mdRow { padding: 8px 20px; } td.md { font-weight: bold; } td.mdname1 { font-weight: bold; color: #602020; } td.mdname { font-weight: bold; color: #602020; } --> </style> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <img id="nav_header_logo_right" alt="" align="right" src="../../../pimlogo.png" border="0" /> <div id="nav_header_title" align="left">KDE PIM API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_left" style="text-align: left;"> / <a href="../../../">API Reference</a> / <a href="../../html/index.html">kioslaves</a> / <a href=".">imap4</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <h2><a name="content"></a>kioslaves/imap4</h2> <!-- Generated by Doxygen 1.5.5 --> <div class="contents"> <h1>mailHeader Class Reference</h1><!-- doxytag: class="mailHeader" --><!-- doxytag: inherits="mimeHeader" --><code>#include <<a class="el" href="mailheader_8h-source.html">mailheader.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for mailHeader:</div> <div class="dynsection"> <p><center><img src="classmailHeader.png" usemap="#mailHeader_map" border="0" alt=""></center> <map name="mailHeader_map"> <area href="classmimeHeader.html" alt="mimeHeader" shape="rect" coords="0,0,82,24"> </map> </div> <p> <a href="classmailHeader-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <dl class="author" compact><dt><b>Author:</b></dt><dd>Sven Carstens </dd></dl> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00030">30</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f2bd36abc2106555664c27d8700d0a6"></a><!-- doxytag: member="mailHeader::addHdrLine" ref="1f2bd36abc2106555664c27d8700d0a6" args="(mimeHdrLine *)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>addHdrLine</b> (<a class="el" href="classmimeHdrLine.html">mimeHdrLine</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b418bcdbe722096263ece7afbdf0d632"></a><!-- doxytag: member="mailHeader::outputHeader" ref="b418bcdbe722096263ece7afbdf0d632" args="(mimeIO &)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>outputHeader</b> (<a class="el" href="classmimeIO.html">mimeIO</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df8b27850117378887d1c4d0869837d5"></a><!-- doxytag: member="mailHeader::addTo" ref="df8b27850117378887d1c4d0869837d5" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>addTo</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b17b738b2c3146218f54bb1590809f7a"></a><!-- doxytag: member="mailHeader::addCC" ref="b17b738b2c3146218f54bb1590809f7a" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>addCC</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f12f1664ec9d8bd0a88992d67443f2f"></a><!-- doxytag: member="mailHeader::addBCC" ref="8f12f1664ec9d8bd0a88992d67443f2f" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>addBCC</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cafb566f78ff17ae781274d06be36467"></a><!-- doxytag: member="mailHeader::setFrom" ref="cafb566f78ff17ae781274d06be36467" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>setFrom</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4da7eeb971bd10409096580c5d7467a6"></a><!-- doxytag: member="mailHeader::setSender" ref="4da7eeb971bd10409096580c5d7467a6" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>setSender</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="424f308fdb440632cb1e01d676e1bd51"></a><!-- doxytag: member="mailHeader::setReturnPath" ref="424f308fdb440632cb1e01d676e1bd51" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>setReturnPath</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9afd708cfe944945d20b6d55436170d"></a><!-- doxytag: member="mailHeader::setReplyTo" ref="c9afd708cfe944945d20b6d55436170d" args="(const mailAddress &_adr)" --> void </td><td class="memItemRight" valign="bottom"><b>setReplyTo</b> (const mailAddress &_adr)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32aebb55e658b8eeb827af52a805f9a1"></a><!-- doxytag: member="mailHeader::getMessageId" ref="32aebb55e658b8eeb827af52a805f9a1" args="()" --> const QCString & </td><td class="memItemRight" valign="bottom"><b>getMessageId</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3321d9f4d6d780d5993325eee4928c9f"></a><!-- doxytag: member="mailHeader::setMessageId" ref="3321d9f4d6d780d5993325eee4928c9f" args="(const QCString &_str)" --> void </td><td class="memItemRight" valign="bottom"><b>setMessageId</b> (const QCString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3f38911c606f0a927a5cd0107fb30e6"></a><!-- doxytag: member="mailHeader::getInReplyTo" ref="b3f38911c606f0a927a5cd0107fb30e6" args="()" --> const QCString & </td><td class="memItemRight" valign="bottom"><b>getInReplyTo</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a370437c2f1b580e8029515063a2b01"></a><!-- doxytag: member="mailHeader::setInReplyTo" ref="9a370437c2f1b580e8029515063a2b01" args="(const QCString &_str)" --> void </td><td class="memItemRight" valign="bottom"><b>setInReplyTo</b> (const QCString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c6a011a0c4b00b78594cb7d45b200f6e"></a><!-- doxytag: member="mailHeader::getReferences" ref="c6a011a0c4b00b78594cb7d45b200f6e" args="()" --> const QCString & </td><td class="memItemRight" valign="bottom"><b>getReferences</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f38ca71606a9a6063c80dacf0ec34785"></a><!-- doxytag: member="mailHeader::setReferences" ref="f38ca71606a9a6063c80dacf0ec34785" args="(const QCString &_str)" --> void </td><td class="memItemRight" valign="bottom"><b>setReferences</b> (const QCString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#20c8d5f13ad5cc76cfaed784f4701c59">setSubject</a> (const QString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#72e9d11aab889dff9ad05ebc14eaa67b">setSubjectEncoded</a> (const QCString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#b77531dbbf61c134e4555976e45f083c">getSubject</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const QCString & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#26c053d37980dcb5684efe32443b280e">getSubjectEncoded</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#b74d7379e2e47c357cf9fec4f10bd07c">setDate</a> (const QCString &_str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const QCString & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmailHeader.html#5ff82eda81cac02b9bda2c519abf2a10">date</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35eb510ed44adc88f4bc3367a3c338fc"></a><!-- doxytag: member="mailHeader::to" ref="35eb510ed44adc88f4bc3367a3c338fc" args="()" --> QPtrList< mailAddress > & </td><td class="memItemRight" valign="bottom"><b>to</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6944c7ba761b421c3db12adfb823736"></a><!-- doxytag: member="mailHeader::cc" ref="f6944c7ba761b421c3db12adfb823736" args="()" --> QPtrList< mailAddress > & </td><td class="memItemRight" valign="bottom"><b>cc</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="772d55d6cad79c00e470e5bb20e74511"></a><!-- doxytag: member="mailHeader::bcc" ref="772d55d6cad79c00e470e5bb20e74511" args="()" --> QPtrList< mailAddress > & </td><td class="memItemRight" valign="bottom"><b>bcc</b> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc876608b3e28a184987c006d650de19"></a><!-- doxytag: member="mailHeader::parseAddressList" ref="bc876608b3e28a184987c006d650de19" args="(const char *, QPtrList< mailAddress > *)" --> static int </td><td class="memItemRight" valign="bottom"><b>parseAddressList</b> (const char *, QPtrList< mailAddress > *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f9ad978c69750da6a276669f53932730"></a><!-- doxytag: member="mailHeader::getAddressStr" ref="f9ad978c69750da6a276669f53932730" args="(QPtrList< mailAddress > *)" --> static QCString </td><td class="memItemRight" valign="bottom"><b>getAddressStr</b> (QPtrList< mailAddress > *)</td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="20c8d5f13ad5cc76cfaed784f4701c59"></a><!-- doxytag: member="mailHeader::setSubject" ref="20c8d5f13ad5cc76cfaed784f4701c59" args="(const QString &_str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mailHeader::setSubject </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>_str</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> set a unicode subject <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00099">99</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <a class="anchor" name="72e9d11aab889dff9ad05ebc14eaa67b"></a><!-- doxytag: member="mailHeader::setSubjectEncoded" ref="72e9d11aab889dff9ad05ebc14eaa67b" args="(const QCString &_str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mailHeader::setSubjectEncoded </td> <td>(</td> <td class="paramtype">const QCString & </td> <td class="paramname"> <em>_str</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> set a encoded subject <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00106">106</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <a class="anchor" name="b77531dbbf61c134e4555976e45f083c"></a><!-- doxytag: member="mailHeader::getSubject" ref="b77531dbbf61c134e4555976e45f083c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const QString mailHeader::getSubject </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> get the unicode subject <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00114">114</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <a class="anchor" name="26c053d37980dcb5684efe32443b280e"></a><!-- doxytag: member="mailHeader::getSubjectEncoded" ref="26c053d37980dcb5684efe32443b280e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const QCString& mailHeader::getSubjectEncoded </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> get the encoded subject <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00121">121</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <a class="anchor" name="b74d7379e2e47c357cf9fec4f10bd07c"></a><!-- doxytag: member="mailHeader::setDate" ref="b74d7379e2e47c357cf9fec4f10bd07c" args="(const QCString &_str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mailHeader::setDate </td> <td>(</td> <td class="paramtype">const QCString & </td> <td class="paramname"> <em>_str</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> set the date <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00129">129</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <a class="anchor" name="5ff82eda81cac02b9bda2c519abf2a10"></a><!-- doxytag: member="mailHeader::date" ref="5ff82eda81cac02b9bda2c519abf2a10" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const QCString& mailHeader::date </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> get the date <p> <p>Definition at line <a class="el" href="mailheader_8h-source.html#l00137">137</a> of file <a class="el" href="mailheader_8h-source.html">mailheader.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="mailheader_8h-source.html">mailheader.h</a><li><a class="el" href="mailheader_8cc-source.html">mailheader.cc</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kioslaves/imap4</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classIMAP4Protocol.html">imap4protocol</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../../akregator/html/index.html">akregator</a></li><li> <a href="../../../akregator/src/html/index.html">src</a></li><li> <a href="../../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../../certmanager/html/index.html">certmanager</a></li><li> <a href="../../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../../kalarm/html/index.html">kalarm</a></li><li> <a href="../../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../../kandy/html/index.html">kandy</a></li><li><a href="../../../karm/html/index.html">karm</a></li><li><a href="../../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../../kgantt/html/index.html">kgantt</a></li><li><a href="../../../kioslaves/html/index.html">kioslaves</a></li><li> <a href="../../../kioslaves/imap4/html/index.html">imap4</a></li><li> <a href="../../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../../kmail/html/index.html">kmail</a></li><li><a href="../../../knotes/html/index.html">knotes</a></li><li><a href="../../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../../kontact/html/index.html">kontact</a></li><li><a href="../../../korganizer/html/index.html">korganizer</a></li><li><a href="../../../kpilot/html/index.html">kpilot</a></li><li> <a href="../../../kpilot/kpilot/html/index.html">kpilot</a></li><li> <a href="../../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../../libkcal/html/index.html">libkcal</a></li><li><a href="../../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../../libkmime/html/index.html">libkmime</a></li><li><a href="../../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../../libkpimidentities/html/index.html">libkpimidentities</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>