<?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>libkmime: AddressField Class Reference (libkmime)</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=".">libkmime</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>libkmime</h2> <!-- Generated by Doxygen 1.5.5 --> <div class="contents"> <h1>AddressField Class Reference</h1><!-- doxytag: class="AddressField" --><!-- doxytag: inherits="Base" --><code>#include <<a class="el" href="kmime__headers__obs_8h-source.html">kmime_headers_obs.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for AddressField:</div> <div class="dynsection"> <p><center><img src="classAddressField.png" usemap="#AddressField_map" border="0" alt=""></center> <map name="AddressField_map"> <area href="classFrom.html" alt="From" shape="rect" coords="0,56,89,80"> <area href="classMailCopiesTo.html" alt="MailCopiesTo" shape="rect" coords="99,56,188,80"> <area href="classReplyTo.html" alt="ReplyTo" shape="rect" coords="198,56,287,80"> </map> </div> <p> <a href="classAddressField-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> This class encapsulates an address-field, containing an email-address and a real name. <p>Definition at line <a class="el" href="kmime__headers__obs_8h-source.html#l00066">66</a> of file <a class="el" href="kmime__headers__obs_8h-source.html">kmime_headers_obs.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="89e29ae1a2653e7a94a844eb5658af4c"></a><!-- doxytag: member="AddressField::AddressField" ref="89e29ae1a2653e7a94a844eb5658af4c" args="(Content *p)" --> </td><td class="memItemRight" valign="bottom"><b>AddressField</b> (Content *p)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1edb3996ef9c5854a430f35dc3a4f9d4"></a><!-- doxytag: member="AddressField::AddressField" ref="1edb3996ef9c5854a430f35dc3a4f9d4" args="(Content *p, const QCString &s)" --> </td><td class="memItemRight" valign="bottom"><b>AddressField</b> (Content *p, const QCString &s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5fe1576e800e1eab31840b4ddbb1ac65"></a><!-- doxytag: member="AddressField::AddressField" ref="5fe1576e800e1eab31840b4ddbb1ac65" args="(Content *p, const QString &s, const QCString &cs)" --> </td><td class="memItemRight" valign="bottom"><b>AddressField</b> (Content *p, const QString &s, const QCString &cs)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23923557019b235f3d2bca8f6ede410e"></a><!-- doxytag: member="AddressField::AddressField" ref="23923557019b235f3d2bca8f6ede410e" args="(const AddressField &a)" --> </td><td class="memItemRight" valign="bottom"><b>AddressField</b> (const <a class="el" href="classAddressField.html">AddressField</a> &a)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="997cd494ad68af175e1567fb8fa28c59"></a><!-- doxytag: member="AddressField::operator=" ref="997cd494ad68af175e1567fb8fa28c59" args="(const AddressField &a)" --> <a class="el" href="classAddressField.html">AddressField</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classAddressField.html">AddressField</a> &a)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6896fb2c635e10e1dc16a927092500be"></a><!-- doxytag: member="AddressField::from7BitString" ref="6896fb2c635e10e1dc16a927092500be" args="(const QCString &s)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>from7BitString</b> (const QCString &s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b6b8a4a2e21cbab82c25f83f60aba0f"></a><!-- doxytag: member="AddressField::as7BitString" ref="7b6b8a4a2e21cbab82c25f83f60aba0f" args="(bool incType=true)" --> virtual QCString </td><td class="memItemRight" valign="bottom"><b>as7BitString</b> (bool incType=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6361a8484b605b4932b342cdf93bb4de"></a><!-- doxytag: member="AddressField::fromUnicodeString" ref="6361a8484b605b4932b342cdf93bb4de" args="(const QString &s, const QCString &cs)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>fromUnicodeString</b> (const QString &s, const QCString &cs)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc60d7f8bed28cb455caee7404212d87"></a><!-- doxytag: member="AddressField::asUnicodeString" ref="fc60d7f8bed28cb455caee7404212d87" args="()" --> virtual QString </td><td class="memItemRight" valign="bottom"><b>asUnicodeString</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89172f655e8bd5e3d12a18f180ec8645"></a><!-- doxytag: member="AddressField::clear" ref="89172f655e8bd5e3d12a18f180ec8645" args="()" --> virtual void </td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2eb2d7488fcb40ba5f9d9daa97e05e9a"></a><!-- doxytag: member="AddressField::isEmpty" ref="2eb2d7488fcb40ba5f9d9daa97e05e9a" args="()" --> virtual bool </td><td class="memItemRight" valign="bottom"><b>isEmpty</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca3bab216d1532deeaacafd1d1ed15f2"></a><!-- doxytag: member="AddressField::hasName" ref="ca3bab216d1532deeaacafd1d1ed15f2" args="()" --> bool </td><td class="memItemRight" valign="bottom"><b>hasName</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a762e2622bb4b2e5db442a826cec553"></a><!-- doxytag: member="AddressField::hasEmail" ref="1a762e2622bb4b2e5db442a826cec553" args="()" --> bool </td><td class="memItemRight" valign="bottom"><b>hasEmail</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="915727fca2ad7c2096b2fbca5d5cb5aa"></a><!-- doxytag: member="AddressField::name" ref="915727fca2ad7c2096b2fbca5d5cb5aa" args="()" --> QString </td><td class="memItemRight" valign="bottom"><b>name</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c6d5ed6281d817de4dace350d96cb72"></a><!-- doxytag: member="AddressField::nameAs7Bit" ref="7c6d5ed6281d817de4dace350d96cb72" args="()" --> QCString </td><td class="memItemRight" valign="bottom"><b>nameAs7Bit</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02911cfde4c713bfe5befa48dc5efe72"></a><!-- doxytag: member="AddressField::email" ref="02911cfde4c713bfe5befa48dc5efe72" args="()" --> QCString </td><td class="memItemRight" valign="bottom"><b>email</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83b96742389ab1eedf5f897150a74004"></a><!-- doxytag: member="AddressField::setName" ref="83b96742389ab1eedf5f897150a74004" args="(const QString &s)" --> void </td><td class="memItemRight" valign="bottom"><b>setName</b> (const QString &s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9c9cec5826ffb0ba27698f243705e57"></a><!-- doxytag: member="AddressField::setNameFrom7Bit" ref="b9c9cec5826ffb0ba27698f243705e57" args="(const QCString &s)" --> void </td><td class="memItemRight" valign="bottom"><b>setNameFrom7Bit</b> (const QCString &s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cbb105556a790713b432791ab481d079"></a><!-- doxytag: member="AddressField::setEmail" ref="cbb105556a790713b432791ab481d079" args="(const QCString &s)" --> void </td><td class="memItemRight" valign="bottom"><b>setEmail</b> (const QCString &s)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7f0870d3a9b19f575d0a6133538be2e8"></a><!-- doxytag: member="AddressField::n_ame" ref="7f0870d3a9b19f575d0a6133538be2e8" args="" --> QString </td><td class="memItemRight" valign="bottom"><b>n_ame</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74cd95d81480c7a3f9acbcc7ba01bb9c"></a><!-- doxytag: member="AddressField::e_mail" ref="74cd95d81480c7a3f9acbcc7ba01bb9c" args="" --> QCString </td><td class="memItemRight" valign="bottom"><b>e_mail</b></td></tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="kmime__headers__obs_8h-source.html">kmime_headers_obs.h</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>libkmime</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></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="classAddressField.html">addressfield</option>, <option value="classBCC.html">bcc</option>, <option value="classBoolFlags.html">boolflags</option>, <option value="classCC.html">cc</option>, <option value="classCDescription.html">cdescription</option>, <option value="classCDisposition.html">cdisposition</option>, <option value="classContentType.html">contenttype</option>, <option value="classCTEncoding.html">ctencoding</option>, <option value="classFrom.html">from</option>, <option value="classKMime_1_1Base.html">kmime::base</option>, <option value="classKMime_1_1Codec.html">kmime::codec</option>, <option value="classKMime_1_1Content.html">kmime::content</option>, <option value="classKMime_1_1DateFormatter.html">kmime::dateformatter</option>, <option value="classKMime_1_1Decoder.html">kmime::decoder</option>, <option value="classKMime_1_1Encoder.html">kmime::encoder</option>, <option value="classKMime_1_1Headers_1_1AddressField.html">kmime::headers::addressfield</option>, <option value="classKMime_1_1Headers_1_1Base.html">kmime::headers::base</option>, <option value="classKMime_1_1Headers_1_1BCC.html">kmime::headers::bcc</option>, <option value="classKMime_1_1Headers_1_1CC.html">kmime::headers::cc</option>, <option value="classKMime_1_1Headers_1_1CDescription.html">kmime::headers::cdescription</option>, <option value="classKMime_1_1Headers_1_1CDisposition.html">kmime::headers::cdisposition</option>, <option value="classKMime_1_1Headers_1_1ContentType.html">kmime::headers::contenttype</option>, <option value="classKMime_1_1Headers_1_1Control.html">kmime::headers::control</option>, <option value="classKMime_1_1Headers_1_1CTEncoding.html">kmime::headers::ctencoding</option>, <option value="classKMime_1_1Headers_1_1Date.html">kmime::headers::date</option>, <option value="classKMime_1_1Headers_1_1FollowUpTo.html">kmime::headers::followupto</option>, <option value="classKMime_1_1Headers_1_1From.html">kmime::headers::from</option>, <option value="classKMime_1_1Headers_1_1Generic.html">kmime::headers::generic</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1AddressList.html">kmime::headers::generics::addresslist</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1GIdent.html">kmime::headers::generics::gident</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1GStructured.html">kmime::headers::generics::gstructured</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1GToken.html">kmime::headers::generics::gtoken</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1GUnstructured.html">kmime::headers::generics::gunstructured</option>, <option value="classKMime_1_1Headers_1_1Generics_1_1MailboxList.html">kmime::headers::generics::mailboxlist</option>, <option value="classKMime_1_1Headers_1_1Lines.html">kmime::headers::lines</option>, <option value="classKMime_1_1Headers_1_1MailCopiesTo.html">kmime::headers::mailcopiesto</option>, <option value="classKMime_1_1Headers_1_1MessageID.html">kmime::headers::messageid</option>, <option value="classKMime_1_1Headers_1_1Newsgroups.html">kmime::headers::newsgroups</option>, <option value="classKMime_1_1Headers_1_1Organization.html">kmime::headers::organization</option>, <option value="classKMime_1_1Headers_1_1References.html">kmime::headers::references</option>, <option value="classKMime_1_1Headers_1_1ReplyTo.html">kmime::headers::replyto</option>, <option value="classKMime_1_1Headers_1_1ReturnPath.html">kmime::headers::returnpath</option>, <option value="classKMime_1_1Headers_1_1Subject.html">kmime::headers::subject</option>, <option value="classKMime_1_1Headers_1_1Supersedes.html">kmime::headers::supersedes</option>, <option value="classKMime_1_1Headers_1_1To.html">kmime::headers::to</option>, <option value="classKMime_1_1Headers_1_1UserAgent.html">kmime::headers::useragent</option>, <option value="classKMime_1_1Parser_1_1MultiPart.html">kmime::parser::multipart</option>, <option value="classKMime_1_1Parser_1_1NonMimeParser.html">kmime::parser::nonmimeparser</option>, <option value="classKMime_1_1Parser_1_1UUEncoded.html">kmime::parser::uuencoded</option>, <option value="classKMime_1_1Parser_1_1YENCEncoded.html">kmime::parser::yencencoded</option>, <option value="classMailCopiesTo.html">mailcopiesto</option>, <option value="classMessageID.html">messageid</option>, <option value="classReferences.html">references</option>, <option value="classReplyTo.html">replyto</option>, <option value="classSupersedes.html">supersedes</option>, <option value="classTo.html">to</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>