You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kshowmail/doc/html/classShowRecordElem.html

1460 lines
66 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>kshowmail.kdevelop: ShowRecordElem Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>ShowRecordElem Class Reference</h1><!-- doxytag: class="ShowRecordElem" -->Represents a mail.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="showrecordelem_8h-source.html">showrecordelem.h</a>&gt;</code>
<p>
<a href="classShowRecordElem-members.html">List of all members.</a><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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#aa3cd64818bfb990d5e37720cd29546c">ShowRecordElem</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#7a29155aba2fc36f16986b1abed9ceda">ShowRecordElem</a> (int number, QString &amp;uid, bool isNew)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#28e7072cd68f18e1e07176b9c1bd5f72">setHeader</a> (const QString &amp;header)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#dd5d842c1abdd13fa03ac4a3f2f11150">header</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#a4d48b3072adb4f87f56ed2b5e35dbba">from</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#759a16f3424defc71b4cfd762b156fd1">to</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#b3b6657b842bbd5e4759fe7f55534416">subject</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#8d655afdb7350fd4a27b551da7a8a797">content</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#412ad2a7452c1f5390f2679f1d443292">date</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#0e554cd8f1e67b3e448054e8c6fdc91c">strUnixTime</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QDateTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#4c32fe918f4d6b65dc684c1604757c72">sentDateTime</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#6d24c13e7de2fad247fff5549a96767d">setUIDL</a> (const QString &amp;uid)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#835e045bf24090c4d6a6a9049c60e94c">uidl</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#dd22d1f50be46bd9ecbbacec7606b3ed">setSize</a> (int size)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#4b4077ca5d47226ccb44b6d8373a4fbd">size</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#f5e3c42a0be5b06f414b5936d6a64056">strSize</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#233ccd75f668ec868ec726120d8c71d9">strSizePrefix</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#4c6d52d5a2df4b7bb743128184ced8f4">setNew</a> (bool isnew)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#48485d7a0dfef669b6597c865a515290">isNew</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#f00398057086a7fbee1205c5d0f605a2">state</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#1c31fc69dfe9794c6c77970192d455a5">setNumber</a> (int n)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#62999d75baf9a6bff999c8621a419926">number</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#e7f2ca5eb9a9bc95266a4f83f78cd76e">setViewItem</a> (<a class="el" href="classShowListViewItem.html">ShowListViewItem</a> *item)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classShowListViewItem.html">ShowListViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#e176bc1074c050afc56540849bc3664c">viewItem</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceTypes.html#ce032cf029e8037fd21721b33e3a6adf">FilterAction_Type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#09ca2f0d70bdf8ed2bb7d75ef13bec12">applyHeaderFilter</a> (<a class="el" href="classHeaderFilter.html">HeaderFilter</a> *filter, QString account, QString &amp;mailbox, <a class="el" href="classFilterLog.html">FilterLog</a> *log=NULL)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#97952e1293b679abc1891a240bd9e4f1">readOptions</a> (QDomElement &amp;elem)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#fcabf6ba9c5b68ae2923bb70bf9f45b0">saveOptions</a> (QDomDocument &amp;doc, QDomElement &amp;parent)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#6987a0066f420f62b5c9ec9d82ed7fb3">isSelected</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#27af244fc090ac05fabde1becb7bf60d">decodeMailBody</a> (QByteArray body, bool preferHTML) const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#62792e6386e65ac0050f2e02963254b0">showHeader</a> (QString &amp;account)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#c467986ac8ce3c2219463028574a22c6">writeToMoveLog</a> (<a class="el" href="classFilterLog.html">FilterLog</a> *log, QString account, QString mailbox)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#d015c9a856acf5ee5c5a942d3cdc39bc">writeToDeleteLog</a> (<a class="el" href="classFilterLog.html">FilterLog</a> *log, QString account)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#8c138e5d2c33ec03231b8bf6ee719f7f">setMarkAtNextViewRefresh</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#2b5bdb3ed3f940614135b9c9f1f13eb6">continueShowHeaders</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#b6aceead6b70f3e3f5e6af530c5ac1af">cancelShowHeaders</a></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#8070b0cbba2b2281a78bfdae3334a981">scanHeader</a> (const QString &amp;item) const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#373e98f7a94fd659ff1174ef7346de08">setFrom</a> (const QCString &amp;from)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#fe4b012dfc137770f35879ea2264ba19">setTo</a> (const QCString &amp;to)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#bad7c7440195e0284b42c79d281bfbf2">setSubject</a> (const QCString &amp;subject)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#7fe7272db1f8f38f6fa404611acf7b8d">setDate</a> (const QCString &amp;date)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#8ab7746aad762c2c2e0fe80c4a496f9a">setContent</a> (const QCString &amp;content)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#fe3536020ed0f47f0ec4c97839068cc1">setFilter</a> (FilterElem *filter)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#9c49db9d3ce2495c477c783dd5e5da7d">getBoundary</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#4919b572763cc228320420059e29b0a7">getCharset</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#9f0dcc62d28fbcec89b0af33c7e0c446">getTransferEncoding</a> () const</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#ca732c6667cb0424aab679785d24256a">m_header</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#260019ad5471ede61b2a1958b8c31375">m_from</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#02de09b7b36dfcce893a1e79ff8ba34c">m_to</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#1c83a6d029a73795076161efd3842893">m_subject</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QDateTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#b3f665656a06d88cea46345bcb1a51a9">m_unixDate</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QCString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#c70dec4d7ff63aa1acffcc7229776990">m_content</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#7da2621d1de438c9118fbcead3c23506">m_uid</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#3ef7da0fb8e84e7e672888aa349de622">m_size</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#f9f2112f8e2b1c3dfef0286581a892b4">m_new</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#8583bafac2418ddd8c7d881926851f05">m_nNumber</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#c3f6d14162aafdedf141489ad5d5307a">markAtViewRefresh</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classShowListViewItem.html">ShowListViewItem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#bf60523f76dbfb970f40d078b089aed3">m_pItem</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">FilterElem *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShowRecordElem.html#cf1207160bae1cd017c282b808e44e02">m_pFilter</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Represents a mail.
<p>
It contains UID, Subject, From, To and date of the mail. Subject, From and To will be read out from the given header. It also contains pointer to the corresponding list view entry and maybe to a matching filter. All mail objects are held by <a class="el" href="classShowRecord.html">ShowRecord</a>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classShowRecord.html">ShowRecord</a> <p>
<a class="el" href="classConfigElem.html">ConfigElem</a> </dd></dl>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Eggert Ehmke </dd></dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="aa3cd64818bfb990d5e37720cd29546c"></a><!-- doxytag: member="ShowRecordElem::ShowRecordElem" ref="aa3cd64818bfb990d5e37720cd29546c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ShowRecordElem::ShowRecordElem </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor
</div>
</div><p>
<a class="anchor" name="7a29155aba2fc36f16986b1abed9ceda"></a><!-- doxytag: member="ShowRecordElem::ShowRecordElem" ref="7a29155aba2fc36f16986b1abed9ceda" args="(int number, QString &amp;uid, bool isNew)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ShowRecordElem::ShowRecordElem </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>number</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString &amp;&nbsp;</td>
<td class="paramname"> <em>uid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>isNew</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>number of the mail on the server </td></tr>
<tr><td valign="top"></td><td valign="top"><em>uid</em>&nbsp;</td><td>Unique ID of the mail </td></tr>
<tr><td valign="top"></td><td valign="top"><em>isNew</em>&nbsp;</td><td>TRUE - mail is new; FALSE - mail is not new </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="28e7072cd68f18e1e07176b9c1bd5f72"></a><!-- doxytag: member="ShowRecordElem::setHeader" ref="28e7072cd68f18e1e07176b9c1bd5f72" args="(const QString &amp;header)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setHeader </td>
<td>(</td>
<td class="paramtype">const QString &amp;&nbsp;</td>
<td class="paramname"> <em>header</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the mail header and extracts From, To, Subject, Date and Content Type. All parts of the header are coded according RFC 2047. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>the mail header </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="dd5d842c1abdd13fa03ac4a3f2f11150"></a><!-- doxytag: member="ShowRecordElem::header" ref="dd5d842c1abdd13fa03ac4a3f2f11150" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::header </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the whole header. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the mail header </dd></dl>
</div>
</div><p>
<a class="anchor" name="a4d48b3072adb4f87f56ed2b5e35dbba"></a><!-- doxytag: member="ShowRecordElem::from" ref="a4d48b3072adb4f87f56ed2b5e35dbba" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::from </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the sender address. <dl class="return" compact><dt><b>Returns:</b></dt><dd>sender address </dd></dl>
</div>
</div><p>
<a class="anchor" name="759a16f3424defc71b4cfd762b156fd1"></a><!-- doxytag: member="ShowRecordElem::to" ref="759a16f3424defc71b4cfd762b156fd1" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::to </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the addressee. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the addressee </dd></dl>
</div>
</div><p>
<a class="anchor" name="b3b6657b842bbd5e4759fe7f55534416"></a><!-- doxytag: member="ShowRecordElem::subject" ref="b3b6657b842bbd5e4759fe7f55534416" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::subject </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the subject. <dl class="return" compact><dt><b>Returns:</b></dt><dd>mail subject </dd></dl>
</div>
</div><p>
<a class="anchor" name="8d655afdb7350fd4a27b551da7a8a797"></a><!-- doxytag: member="ShowRecordElem::content" ref="8d655afdb7350fd4a27b551da7a8a797" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::content </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the stored content type. <dl class="return" compact><dt><b>Returns:</b></dt><dd>content type </dd></dl>
</div>
</div><p>
<a class="anchor" name="412ad2a7452c1f5390f2679f1d443292"></a><!-- doxytag: member="ShowRecordElem::date" ref="412ad2a7452c1f5390f2679f1d443292" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::date </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the date on which the mail was sent, formated to the current locale's conventions. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the date </dd></dl>
</div>
</div><p>
<a class="anchor" name="0e554cd8f1e67b3e448054e8c6fdc91c"></a><!-- doxytag: member="ShowRecordElem::strUnixTime" ref="0e554cd8f1e67b3e448054e8c6fdc91c" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::strUnixTime </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the date on which the mail was sent. The format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS <dl class="return" compact><dt><b>Returns:</b></dt><dd>the date </dd></dl>
</div>
</div><p>
<a class="anchor" name="4c32fe918f4d6b65dc684c1604757c72"></a><!-- doxytag: member="ShowRecordElem::sentDateTime" ref="4c32fe918f4d6b65dc684c1604757c72" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QDateTime ShowRecordElem::sentDateTime </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the date and time on which the mail was sent. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the date </dd></dl>
</div>
</div><p>
<a class="anchor" name="6d24c13e7de2fad247fff5549a96767d"></a><!-- doxytag: member="ShowRecordElem::setUIDL" ref="6d24c13e7de2fad247fff5549a96767d" args="(const QString &amp;uid)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setUIDL </td>
<td>(</td>
<td class="paramtype">const QString &amp;&nbsp;</td>
<td class="paramname"> <em>uid</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the unique mail ID. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>uid</em>&nbsp;</td><td>the ID </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="835e045bf24090c4d6a6a9049c60e94c"></a><!-- doxytag: member="ShowRecordElem::uidl" ref="835e045bf24090c4d6a6a9049c60e94c" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::uidl </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the unique ID of this mail. <dl class="return" compact><dt><b>Returns:</b></dt><dd>UID </dd></dl>
</div>
</div><p>
<a class="anchor" name="dd22d1f50be46bd9ecbbacec7606b3ed"></a><!-- doxytag: member="ShowRecordElem::setSize" ref="dd22d1f50be46bd9ecbbacec7606b3ed" args="(int size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setSize </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>size</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the size of the mail. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Size </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="4b4077ca5d47226ccb44b6d8373a4fbd"></a><!-- doxytag: member="ShowRecordElem::size" ref="4b4077ca5d47226ccb44b6d8373a4fbd" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ShowRecordElem::size </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the mail size as numeric value. <dl class="return" compact><dt><b>Returns:</b></dt><dd>size of the mail </dd></dl>
</div>
</div><p>
<a class="anchor" name="f5e3c42a0be5b06f414b5936d6a64056"></a><!-- doxytag: member="ShowRecordElem::strSize" ref="f5e3c42a0be5b06f414b5936d6a64056" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::strSize </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the mail size as string. The String has a length of 8 and the number is right-aligned to allow sorting.
</div>
</div><p>
<a class="anchor" name="233ccd75f668ec868ec726120d8c71d9"></a><!-- doxytag: member="ShowRecordElem::strSizePrefix" ref="233ccd75f668ec868ec726120d8c71d9" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::strSizePrefix </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the mails size as string with prefix
</div>
</div><p>
<a class="anchor" name="4c6d52d5a2df4b7bb743128184ced8f4"></a><!-- doxytag: member="ShowRecordElem::setNew" ref="4c6d52d5a2df4b7bb743128184ced8f4" args="(bool isnew)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setNew </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>isnew</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets whether the mail is new or not. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>isnew</em>&nbsp;</td><td>TRUE - mail is new; FALSE - mail is not new </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="48485d7a0dfef669b6597c865a515290"></a><!-- doxytag: member="ShowRecordElem::isNew" ref="48485d7a0dfef669b6597c865a515290" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ShowRecordElem::isNew </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the mail is new or not. <dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE - mail is new <p>
FALSE - mail is not new </dd></dl>
</div>
</div><p>
<a class="anchor" name="f00398057086a7fbee1205c5d0f605a2"></a><!-- doxytag: member="ShowRecordElem::state" ref="f00398057086a7fbee1205c5d0f605a2" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::state </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the mail is new or not. <dl class="return" compact><dt><b>Returns:</b></dt><dd>localized String "new", if the mail is new <p>
localized String "old", if the mail is not new </dd></dl>
</div>
</div><p>
<a class="anchor" name="1c31fc69dfe9794c6c77970192d455a5"></a><!-- doxytag: member="ShowRecordElem::setNumber" ref="1c31fc69dfe9794c6c77970192d455a5" args="(int n)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setNumber </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>n</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the number of this mail. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>mail number </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="62999d75baf9a6bff999c8621a419926"></a><!-- doxytag: member="ShowRecordElem::number" ref="62999d75baf9a6bff999c8621a419926" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ShowRecordElem::number </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the number of this mail. <dl class="return" compact><dt><b>Returns:</b></dt><dd>mail number </dd></dl>
</div>
</div><p>
<a class="anchor" name="e7f2ca5eb9a9bc95266a4f83f78cd76e"></a><!-- doxytag: member="ShowRecordElem::setViewItem" ref="e7f2ca5eb9a9bc95266a4f83f78cd76e" args="(ShowListViewItem *item)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setViewItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classShowListViewItem.html">ShowListViewItem</a> *&nbsp;</td>
<td class="paramname"> <em>item</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the pointer to the corresponding list view item. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classShowRecordElem.html#bf60523f76dbfb970f40d078b089aed3">m_pItem</a> <p>
<a class="el" href="classShowListViewItem.html">ShowListViewItem</a> </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>pointer to the corresponding item </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e176bc1074c050afc56540849bc3664c"></a><!-- doxytag: member="ShowRecordElem::viewItem" ref="e176bc1074c050afc56540849bc3664c" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classShowListViewItem.html">ShowListViewItem</a> * ShowRecordElem::viewItem </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the pointer to the corresponding list view item. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classShowRecordElem.html#bf60523f76dbfb970f40d078b089aed3">m_pItem</a> <p>
<a class="el" href="classShowListViewItem.html">ShowListViewItem</a> </dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>pointer to the item </dd></dl>
</div>
</div><p>
<a class="anchor" name="09ca2f0d70bdf8ed2bb7d75ef13bec12"></a><!-- doxytag: member="ShowRecordElem::applyHeaderFilter" ref="09ca2f0d70bdf8ed2bb7d75ef13bec12" args="(HeaderFilter *filter, QString account, QString &amp;mailbox, FilterLog *log=NULL)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceTypes.html#ce032cf029e8037fd21721b33e3a6adf">FilterAction_Type</a> ShowRecordElem::applyHeaderFilter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classHeaderFilter.html">HeaderFilter</a> *&nbsp;</td>
<td class="paramname"> <em>filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString&nbsp;</td>
<td class="paramname"> <em>account</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString &amp;&nbsp;</td>
<td class="paramname"> <em>mailbox</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classFilterLog.html">FilterLog</a> *&nbsp;</td>
<td class="paramname"> <em>log</em> = <code>NULL</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Looks for a filter matching the mail header and returns the action recommend by this filter. If the action is MARK, it set markAtViewRefresh to True so the related view entry will be marked at the next view refresh. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>pointer to the header filter </td></tr>
<tr><td valign="top"></td><td valign="top"><em>account</em>&nbsp;</td><td>name of the account </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mailbox</em>&nbsp;</td><td>reference to a QString object in which the mailbox name shall be written if the action is MOVE </td></tr>
<tr><td valign="top"></td><td valign="top"><em>log</em>&nbsp;</td><td>pointer to the filter log </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>recommend action </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>FilterAction_Type <p>
<a class="el" href="classHeaderFilter.html">HeaderFilter</a> <p>
<a class="el" href="classShowRecordElem.html#c3f6d14162aafdedf141489ad5d5307a">markAtViewRefresh</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="97952e1293b679abc1891a240bd9e4f1"></a><!-- doxytag: member="ShowRecordElem::readOptions" ref="97952e1293b679abc1891a240bd9e4f1" args="(QDomElement &amp;elem)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::readOptions </td>
<td>(</td>
<td class="paramtype">QDomElement &amp;&nbsp;</td>
<td class="paramname"> <em>elem</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Read a mail (header, size, uid and number) from the given DOM element and store it in this mail object. The element has to contains the attributes "uidl", "size", "number" and a child node called "header". <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>elem</em>&nbsp;</td><td>a DOM element which contains a mail </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="fcabf6ba9c5b68ae2923bb70bf9f45b0"></a><!-- doxytag: member="ShowRecordElem::saveOptions" ref="fcabf6ba9c5b68ae2923bb70bf9f45b0" args="(QDomDocument &amp;doc, QDomElement &amp;parent)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::saveOptions </td>
<td>(</td>
<td class="paramtype">QDomDocument &amp;&nbsp;</td>
<td class="paramname"> <em>doc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QDomElement &amp;&nbsp;</td>
<td class="paramname"> <em>parent</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a new DOM element in the given DOM document and add it to given DOM parent element <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>doc</em>&nbsp;</td><td>the DOM document in that all options are stored </td></tr>
<tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>the parent element (account) of the mail </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="6987a0066f420f62b5c9ec9d82ed7fb3"></a><!-- doxytag: member="ShowRecordElem::isSelected" ref="6987a0066f420f62b5c9ec9d82ed7fb3" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ShowRecordElem::isSelected </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns whether the mail is selected in the list view. <dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE - mail is selected <p>
FALSE - mail is not selected </dd></dl>
</div>
</div><p>
<a class="anchor" name="27af244fc090ac05fabde1becb7bf60d"></a><!-- doxytag: member="ShowRecordElem::decodeMailBody" ref="27af244fc090ac05fabde1becb7bf60d" args="(QByteArray body, bool preferHTML) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::decodeMailBody </td>
<td>(</td>
<td class="paramtype">QByteArray&nbsp;</td>
<td class="paramname"> <em>body</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>preferHTML</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Decodes the given mail body. The mail object has to do this job, because it has stored the mail header and therefore it knows the content type and encoding of the mail. It decodes just the text or html part of the body. The rest of it will be rejected. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>body</em>&nbsp;</td><td>the encoded mail (including header) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>preferHTML</em>&nbsp;</td><td>decode HTML part if present </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>decoded mail body </dd></dl>
</div>
</div><p>
<a class="anchor" name="62792e6386e65ac0050f2e02963254b0"></a><!-- doxytag: member="ShowRecordElem::showHeader" ref="62792e6386e65ac0050f2e02963254b0" args="(QString &amp;account)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ShowRecordElem::showHeader </td>
<td>(</td>
<td class="paramtype">QString &amp;&nbsp;</td>
<td class="paramname"> <em>account</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Shows the header in a dialog box. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>account</em>&nbsp;</td><td>account name </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>continueShowHeaders - the user has OK clicked. The invoking function will show the next header <p>
cancelShowHeaders - the user has Cancel clicked. The invoking function will not show the next header. </dd></dl>
</div>
</div><p>
<a class="anchor" name="c467986ac8ce3c2219463028574a22c6"></a><!-- doxytag: member="ShowRecordElem::writeToMoveLog" ref="c467986ac8ce3c2219463028574a22c6" args="(FilterLog *log, QString account, QString mailbox)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::writeToMoveLog </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFilterLog.html">FilterLog</a> *&nbsp;</td>
<td class="paramname"> <em>log</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString&nbsp;</td>
<td class="paramname"> <em>account</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString&nbsp;</td>
<td class="paramname"> <em>mailbox</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Writes this mail into the Move Log. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>log</em>&nbsp;</td><td>pointer to the log </td></tr>
<tr><td valign="top"></td><td valign="top"><em>account</em>&nbsp;</td><td>name of the account </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mailbox</em>&nbsp;</td><td>name of the mailbox </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="d015c9a856acf5ee5c5a942d3cdc39bc"></a><!-- doxytag: member="ShowRecordElem::writeToDeleteLog" ref="d015c9a856acf5ee5c5a942d3cdc39bc" args="(FilterLog *log, QString account)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::writeToDeleteLog </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFilterLog.html">FilterLog</a> *&nbsp;</td>
<td class="paramname"> <em>log</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QString&nbsp;</td>
<td class="paramname"> <em>account</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Writes this mail into the Delete Log. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>log</em>&nbsp;</td><td>pointer to the log </td></tr>
<tr><td valign="top"></td><td valign="top"><em>account</em>&nbsp;</td><td>name of the account </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="8c138e5d2c33ec03231b8bf6ee719f7f"></a><!-- doxytag: member="ShowRecordElem::setMarkAtNextViewRefresh" ref="8c138e5d2c33ec03231b8bf6ee719f7f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setMarkAtNextViewRefresh </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The mail will be marked at the next view refresh.
</div>
</div><p>
<a class="anchor" name="8070b0cbba2b2281a78bfdae3334a981"></a><!-- doxytag: member="ShowRecordElem::scanHeader" ref="8070b0cbba2b2281a78bfdae3334a981" args="(const QString &amp;item) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString ShowRecordElem::scanHeader </td>
<td>(</td>
<td class="paramtype">const QString &amp;&nbsp;</td>
<td class="paramname"> <em>item</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Searches in the header for a line which starts with the given item. For example: scanHeader( "From") will find the line "From: Ulrich Weigelt &lt;ulrich.weigelt@gmx.de&gt;" and returns "Ulrich Weigelt &lt;ulrich.weigelt@gmx.de&gt;" Returns an empty string (""), if nothing was found. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>the search item </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the content of the found line </dd></dl>
</div>
</div><p>
<a class="anchor" name="373e98f7a94fd659ff1174ef7346de08"></a><!-- doxytag: member="ShowRecordElem::setFrom" ref="373e98f7a94fd659ff1174ef7346de08" args="(const QCString &amp;from)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setFrom </td>
<td>(</td>
<td class="paramtype">const QCString &amp;&nbsp;</td>
<td class="paramname"> <em>from</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the given string as sender address <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>sender address </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="fe4b012dfc137770f35879ea2264ba19"></a><!-- doxytag: member="ShowRecordElem::setTo" ref="fe4b012dfc137770f35879ea2264ba19" args="(const QCString &amp;to)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setTo </td>
<td>(</td>
<td class="paramtype">const QCString &amp;&nbsp;</td>
<td class="paramname"> <em>to</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the given string as recipient address <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>recipient address </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="bad7c7440195e0284b42c79d281bfbf2"></a><!-- doxytag: member="ShowRecordElem::setSubject" ref="bad7c7440195e0284b42c79d281bfbf2" args="(const QCString &amp;subject)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setSubject </td>
<td>(</td>
<td class="paramtype">const QCString &amp;&nbsp;</td>
<td class="paramname"> <em>subject</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the given string as subject <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>subject</em>&nbsp;</td><td>the mail subject </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="7fe7272db1f8f38f6fa404611acf7b8d"></a><!-- doxytag: member="ShowRecordElem::setDate" ref="7fe7272db1f8f38f6fa404611acf7b8d" args="(const QCString &amp;date)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setDate </td>
<td>(</td>
<td class="paramtype">const QCString &amp;&nbsp;</td>
<td class="paramname"> <em>date</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Converts the given string to a date-time value and stores it. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>the date </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="8ab7746aad762c2c2e0fe80c4a496f9a"></a><!-- doxytag: member="ShowRecordElem::setContent" ref="8ab7746aad762c2c2e0fe80c4a496f9a" args="(const QCString &amp;content)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setContent </td>
<td>(</td>
<td class="paramtype">const QCString &amp;&nbsp;</td>
<td class="paramname"> <em>content</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the given string as content type. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>content</em>&nbsp;</td><td>the content type </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="fe3536020ed0f47f0ec4c97839068cc1"></a><!-- doxytag: member="ShowRecordElem::setFilter" ref="fe3536020ed0f47f0ec4c97839068cc1" args="(FilterElem *filter)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ShowRecordElem::setFilter </td>
<td>(</td>
<td class="paramtype">FilterElem *&nbsp;</td>
<td class="paramname"> <em>filter</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the pointer to a matching filter. Used by applyFilters(). <dl class="see" compact><dt><b>See also:</b></dt><dd>applyFilters </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>pointer to the filter </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="9c49db9d3ce2495c477c783dd5e5da7d"></a><!-- doxytag: member="ShowRecordElem::getBoundary" ref="9c49db9d3ce2495c477c783dd5e5da7d" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::getBoundary </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the boundary, if the mail has a multi part body. Otherwise it returns an empty string. <dl class="return" compact><dt><b>Returns:</b></dt><dd>boundary </dd></dl>
</div>
</div><p>
<a class="anchor" name="4919b572763cc228320420059e29b0a7"></a><!-- doxytag: member="ShowRecordElem::getCharset" ref="4919b572763cc228320420059e29b0a7" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::getCharset </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the char set of the content (e.g. iso-8859-1). If no char set is denoted, it will returns an empty string. <dl class="return" compact><dt><b>Returns:</b></dt><dd>charset </dd></dl>
</div>
</div><p>
<a class="anchor" name="9f0dcc62d28fbcec89b0af33c7e0c446"></a><!-- doxytag: member="ShowRecordElem::getTransferEncoding" ref="9f0dcc62d28fbcec89b0af33c7e0c446" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString ShowRecordElem::getTransferEncoding </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [private]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the content transfer encoding of the content (e.g. quoted-printable). If no encoding is denoted, it will returns an empty string. <dl class="return" compact><dt><b>Returns:</b></dt><dd>content transfer encoding </dd></dl>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="2b5bdb3ed3f940614135b9c9f1f13eb6"></a><!-- doxytag: member="ShowRecordElem::continueShowHeaders" ref="2b5bdb3ed3f940614135b9c9f1f13eb6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classShowRecordElem.html#2b5bdb3ed3f940614135b9c9f1f13eb6">ShowRecordElem::continueShowHeaders</a><code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returned by <a class="el" href="classShowRecordElem.html#62792e6386e65ac0050f2e02963254b0">showHeader()</a>, if the user has clicked OK.
</div>
</div><p>
<a class="anchor" name="b6aceead6b70f3e3f5e6af530c5ac1af"></a><!-- doxytag: member="ShowRecordElem::cancelShowHeaders" ref="b6aceead6b70f3e3f5e6af530c5ac1af" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classShowRecordElem.html#b6aceead6b70f3e3f5e6af530c5ac1af">ShowRecordElem::cancelShowHeaders</a><code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returned by <a class="el" href="classShowRecordElem.html#62792e6386e65ac0050f2e02963254b0">showHeader()</a>, if the user has clicked Cancel.
</div>
</div><p>
<a class="anchor" name="ca732c6667cb0424aab679785d24256a"></a><!-- doxytag: member="ShowRecordElem::m_header" ref="ca732c6667cb0424aab679785d24256a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString <a class="el" href="classShowRecordElem.html#ca732c6667cb0424aab679785d24256a">ShowRecordElem::m_header</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Mail header; coded according RFC 2047
</div>
</div><p>
<a class="anchor" name="260019ad5471ede61b2a1958b8c31375"></a><!-- doxytag: member="ShowRecordElem::m_from" ref="260019ad5471ede61b2a1958b8c31375" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString <a class="el" href="classShowRecordElem.html#260019ad5471ede61b2a1958b8c31375">ShowRecordElem::m_from</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The sender address; coded according RFC 2047
</div>
</div><p>
<a class="anchor" name="02de09b7b36dfcce893a1e79ff8ba34c"></a><!-- doxytag: member="ShowRecordElem::m_to" ref="02de09b7b36dfcce893a1e79ff8ba34c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString <a class="el" href="classShowRecordElem.html#02de09b7b36dfcce893a1e79ff8ba34c">ShowRecordElem::m_to</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The addressee; coded according RFC 2047
</div>
</div><p>
<a class="anchor" name="1c83a6d029a73795076161efd3842893"></a><!-- doxytag: member="ShowRecordElem::m_subject" ref="1c83a6d029a73795076161efd3842893" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString <a class="el" href="classShowRecordElem.html#1c83a6d029a73795076161efd3842893">ShowRecordElem::m_subject</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The subject; coded according RFC 2047
</div>
</div><p>
<a class="anchor" name="b3f665656a06d88cea46345bcb1a51a9"></a><!-- doxytag: member="ShowRecordElem::m_unixDate" ref="b3f665656a06d88cea46345bcb1a51a9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QDateTime <a class="el" href="classShowRecordElem.html#b3f665656a06d88cea46345bcb1a51a9">ShowRecordElem::m_unixDate</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The date on which the mail was sent
</div>
</div><p>
<a class="anchor" name="c70dec4d7ff63aa1acffcc7229776990"></a><!-- doxytag: member="ShowRecordElem::m_content" ref="c70dec4d7ff63aa1acffcc7229776990" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QCString <a class="el" href="classShowRecordElem.html#c70dec4d7ff63aa1acffcc7229776990">ShowRecordElem::m_content</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The content type
</div>
</div><p>
<a class="anchor" name="7da2621d1de438c9118fbcead3c23506"></a><!-- doxytag: member="ShowRecordElem::m_uid" ref="7da2621d1de438c9118fbcead3c23506" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString <a class="el" href="classShowRecordElem.html#7da2621d1de438c9118fbcead3c23506">ShowRecordElem::m_uid</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The unique ID of the mail.
</div>
</div><p>
<a class="anchor" name="3ef7da0fb8e84e7e672888aa349de622"></a><!-- doxytag: member="ShowRecordElem::m_size" ref="3ef7da0fb8e84e7e672888aa349de622" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classShowRecordElem.html#3ef7da0fb8e84e7e672888aa349de622">ShowRecordElem::m_size</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Size of the mail
</div>
</div><p>
<a class="anchor" name="f9f2112f8e2b1c3dfef0286581a892b4"></a><!-- doxytag: member="ShowRecordElem::m_new" ref="f9f2112f8e2b1c3dfef0286581a892b4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classShowRecordElem.html#f9f2112f8e2b1c3dfef0286581a892b4">ShowRecordElem::m_new</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
It is set to TRUE when the mail is new.
</div>
</div><p>
<a class="anchor" name="8583bafac2418ddd8c7d881926851f05"></a><!-- doxytag: member="ShowRecordElem::m_nNumber" ref="8583bafac2418ddd8c7d881926851f05" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classShowRecordElem.html#8583bafac2418ddd8c7d881926851f05">ShowRecordElem::m_nNumber</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The mail number of the account
</div>
</div><p>
<a class="anchor" name="c3f6d14162aafdedf141489ad5d5307a"></a><!-- doxytag: member="ShowRecordElem::markAtViewRefresh" ref="c3f6d14162aafdedf141489ad5d5307a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classShowRecordElem.html#c3f6d14162aafdedf141489ad5d5307a">ShowRecordElem::markAtViewRefresh</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
TRUE - the mail shall be marked at the next mail view refresh. It will be set to True by <a class="el" href="classShowRecordElem.html#09ca2f0d70bdf8ed2bb7d75ef13bec12">applyHeaderFilter()</a> if the recommend filter action is MARK. It is used by <a class="el" href="classShowRecordElem.html#e7f2ca5eb9a9bc95266a4f83f78cd76e">setViewItem()</a>. This methode marks the related list entry and after then it set this variable to False.
</div>
</div><p>
<a class="anchor" name="bf60523f76dbfb970f40d078b089aed3"></a><!-- doxytag: member="ShowRecordElem::m_pItem" ref="bf60523f76dbfb970f40d078b089aed3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classShowListViewItem.html">ShowListViewItem</a>* <a class="el" href="classShowRecordElem.html#bf60523f76dbfb970f40d078b089aed3">ShowRecordElem::m_pItem</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pointer to the corresponding list view entry. Used to check whether the entry is highlighted and we have to process this mail. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classShowListViewItem.html">ShowListViewItem</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="cf1207160bae1cd017c282b808e44e02"></a><!-- doxytag: member="ShowRecordElem::m_pFilter" ref="cf1207160bae1cd017c282b808e44e02" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">FilterElem* <a class="el" href="classShowRecordElem.html#cf1207160bae1cd017c282b808e44e02">ShowRecordElem::m_pFilter</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This is a pointer to the filter, which matches this mail. If it is NULL, no filter matches. Will be set by applyFilters(). This pointer will just be used to count the deleted mails by this filter( see implementation of setDeleted() ).
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/<a class="el" href="showrecordelem_8h-source.html">showrecordelem.h</a><li>Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/<a class="el" href="showrecordelem_8cpp.html">showrecordelem.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 1 21:59:50 2008 for kshowmail.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>