<?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>kmail: kmsearchpattern.h Source File (kmail)</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=".">kmail</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>kmail</h2> <!-- Generated by Doxygen 1.5.5 --> <h1>kmsearchpattern.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- mode: C++; c-file-style: "gnu" -*-</span> <a name="l00002"></a>00002 <span class="comment">// kmsearchpattern.h</span> <a name="l00003"></a>00003 <span class="comment">// Author: Marc Mutz <Marc@Mutz.com></span> <a name="l00004"></a>00004 <span class="comment">// This code is under GPL!</span> <a name="l00005"></a>00005 <a name="l00006"></a>00006 <span class="preprocessor">#ifndef _kmsearchpattern_h_</span> <a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define _kmsearchpattern_h_</span> <a name="l00008"></a>00008 <span class="preprocessor"></span> <a name="l00009"></a>00009 <span class="preprocessor">#include <klocale.h></span> <a name="l00010"></a>00010 <span class="preprocessor">#include <qptrlist.h></span> <a name="l00011"></a>00011 <span class="preprocessor">#include <qstring.h></span> <a name="l00012"></a>00012 <span class="preprocessor">#include <qcstring.h></span> <a name="l00013"></a>00013 <span class="preprocessor">#include "kmmsgbase.h"</span> <span class="comment">// for KMMsgStatus</span> <a name="l00014"></a>00014 <a name="l00015"></a>00015 <span class="keyword">class </span><a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>; <a name="l00016"></a>00016 <span class="keyword">class </span>KConfig; <a name="l00017"></a>00017 <span class="keyword">class </span>DwBoyerMoore; <a name="l00018"></a>00018 <span class="keyword">class </span>DwString; <a name="l00019"></a>00019 <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="comment">// maximum number of filter rules per filter</span> <a name="l00022"></a>00022 <span class="keyword">const</span> <span class="keywordtype">int</span> FILTER_MAX_RULES=8; <a name="l00023"></a>00023 <a name="l00031"></a><a class="code" href="classKMSearchRule.html">00031</a> <span class="keyword">class </span><a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> <a name="l00032"></a>00032 { <a name="l00033"></a>00033 <span class="keyword">public</span>: <a name="l00041"></a><a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31">00041</a> <span class="keyword">enum</span> <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> { FuncNone = -1, <a name="l00042"></a>00042 FuncContains=0, FuncContainsNot, <a name="l00043"></a>00043 FuncEquals, FuncNotEqual, <a name="l00044"></a>00044 FuncRegExp, FuncNotRegExp, <a name="l00045"></a>00045 FuncIsGreater, FuncIsLessOrEqual, <a name="l00046"></a>00046 FuncIsLess, FuncIsGreaterOrEqual, <a name="l00047"></a>00047 FuncIsInAddressbook, FuncIsNotInAddressbook, <a name="l00048"></a>00048 FuncIsInCategory, FuncIsNotInCategory, <a name="l00049"></a>00049 FuncHasAttachment, FuncHasNoAttachment}; <a name="l00050"></a>00050 <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> ( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>=0, <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a>=FuncContains, <a name="l00051"></a>00051 <span class="keyword">const</span> QString &<a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>=QString::null ); <a name="l00052"></a>00052 <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> ( <span class="keyword">const</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> &other ); <a name="l00053"></a>00053 <a name="l00054"></a>00054 <span class="keyword">const</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> & operator=( <span class="keyword">const</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> & other ); <a name="l00055"></a>00055 <a name="l00058"></a>00058 <span class="keyword">static</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a>* <a class="code" href="classKMSearchRule.html#de1bc1e12ea216c150c11ec7003942ff" title="Create a search rule of a certain type by instantiating the appro- priate subclass...">createInstance</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>=0, <a name="l00059"></a>00059 <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>=FuncContains, <a name="l00060"></a>00060 <span class="keyword">const</span> QString & <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>=QString::null ); <a name="l00061"></a>00061 <a name="l00062"></a>00062 <span class="keyword">static</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a>* <a class="code" href="classKMSearchRule.html#de1bc1e12ea216c150c11ec7003942ff" title="Create a search rule of a certain type by instantiating the appro- priate subclass...">createInstance</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>, <a name="l00063"></a>00063 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>, <a name="l00064"></a>00064 <span class="keyword">const</span> QString & <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a> ); <a name="l00065"></a>00065 <a name="l00066"></a>00066 <span class="keyword">static</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> * <a class="code" href="classKMSearchRule.html#de1bc1e12ea216c150c11ec7003942ff" title="Create a search rule of a certain type by instantiating the appro- priate subclass...">createInstance</a>( <span class="keyword">const</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> & other ); <a name="l00067"></a>00067 <a name="l00073"></a>00073 <span class="keyword">static</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a>* <a class="code" href="classKMSearchRule.html#9bae268c499f69630f787e71ef822830" title="Initialize the object from a given config file.">createInstanceFromConfig</a>( <span class="keyword">const</span> KConfig * config, <span class="keywordtype">int</span> aIdx ); <a name="l00074"></a>00074 <a name="l00075"></a>00075 <span class="keyword">virtual</span> ~<a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a>() {}; <a name="l00076"></a>00076 <a name="l00081"></a>00081 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRule.html#18de0039cf4dfaf2412e47606b5105c8" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> * msg ) <span class="keyword">const</span> = 0; <a name="l00082"></a>00082 <a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRule.html#18de0039cf4dfaf2412e47606b5105c8" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> DwString & str, <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> & msg, <a name="l00088"></a>00088 <span class="keyword">const</span> DwBoyerMoore * headerField=0, <a name="l00089"></a>00089 <span class="keywordtype">int</span> headerLen=-1 ) <span class="keyword">const</span>; <a name="l00090"></a>00090 <a name="l00095"></a>00095 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRule.html#ba823d085da55495b4b513cde2ade736" title="Determine whether the rule is worth considering.">isEmpty</a>() <span class="keyword">const</span> = 0; <a name="l00096"></a>00096 <a name="l00099"></a><a class="code" href="classKMSearchRule.html#e4937a5913b254b5ea65261de01ecdb2">00099</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRule.html#e4937a5913b254b5ea65261de01ecdb2" title="Returns true if the rule depends on a complete message, otherwise returns false.">requiresBody</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00100"></a>00100 <a name="l00101"></a>00101 <a name="l00107"></a>00107 <span class="keywordtype">void</span> <a class="code" href="classKMSearchRule.html#cd2125f0d546639210f16e7f873e281a" title="Save the object into a given config file.">writeConfig</a>( KConfig * config, <span class="keywordtype">int</span> aIdx ) <span class="keyword">const</span>; <a name="l00108"></a>00108 <a name="l00111"></a><a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb">00111</a> <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mFunction; } <a name="l00112"></a>00112 <a name="l00114"></a><a class="code" href="classKMSearchRule.html#04136634f0e6e5975d77f50206421d5d">00114</a> <span class="keywordtype">void</span> <a class="code" href="classKMSearchRule.html#04136634f0e6e5975d77f50206421d5d" title="Set filter function.">setFunction</a>( <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> aFunction ) { mFunction = aFunction; } <a name="l00115"></a>00115 <a name="l00126"></a><a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009">00126</a> QCString <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mField; } <a name="l00127"></a>00127 <a name="l00130"></a><a class="code" href="classKMSearchRule.html#f025c3fd95d7054118940059ffa8890e">00130</a> <span class="keywordtype">void</span> <a class="code" href="classKMSearchRule.html#f025c3fd95d7054118940059ffa8890e" title="Set message header field name (make sure there&#39;s no trailing colon &#39;:&#39;)...">setField</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a> ) { mField = field; } <a name="l00131"></a>00131 <a name="l00134"></a><a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69">00134</a> QString <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mContents; } <a name="l00136"></a><a class="code" href="classKMSearchRule.html#3367523845cfe775e89cec80d89fa2df">00136</a> <span class="keywordtype">void</span> <a class="code" href="classKMSearchRule.html#3367523845cfe775e89cec80d89fa2df" title="Set the value.">setContents</a>( <span class="keyword">const</span> QString & aContents ) { mContents = aContents; } <a name="l00137"></a>00137 <a name="l00139"></a>00139 <span class="keyword">const</span> QString <a class="code" href="classKMSearchRule.html#c8f9239ceb2425272f16309fb8d5c6be" title="Returns the rule as string.">asString</a>() <span class="keyword">const</span>; <a name="l00140"></a>00140 <a name="l00141"></a>00141 <span class="keyword">private</span>: <a name="l00142"></a>00142 <span class="keyword">static</span> <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> configValueToFunc( <span class="keyword">const</span> <span class="keywordtype">char</span> * str ); <a name="l00143"></a>00143 <span class="keyword">static</span> QString functionToString( <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a> ); <a name="l00144"></a>00144 <a name="l00145"></a>00145 QCString mField; <a name="l00146"></a>00146 <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> mFunction; <a name="l00147"></a>00147 QString mContents; <a name="l00148"></a>00148 }; <a name="l00149"></a>00149 <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">// subclasses representing the different kinds of searches</span> <a name="l00152"></a>00152 <a name="l00159"></a><a class="code" href="classKMSearchRuleString.html">00159</a> <span class="keyword">class </span><a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a> : <span class="keyword">public</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> <a name="l00160"></a>00160 { <a name="l00161"></a>00161 <span class="keyword">public</span>: <a name="l00162"></a>00162 <a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>=0, <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>=FuncContains, <a name="l00163"></a>00163 <span class="keyword">const</span> QString & <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>=QString::null ); <a name="l00164"></a>00164 <a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a>( <span class="keyword">const</span> <a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a> & other ); <a name="l00165"></a>00165 <span class="keyword">const</span> <a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a> & operator=( <span class="keyword">const</span> <a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a> & other ); <a name="l00166"></a>00166 <a name="l00167"></a>00167 <span class="keyword">virtual</span> ~<a class="code" href="classKMSearchRuleString.html" title="This class represents a search to be performed against a string.">KMSearchRuleString</a>(); <a name="l00168"></a>00168 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleString.html#130068b0304b3725922fb2eccd1bf04b" title="Determine whether the rule is worth considering.">isEmpty</a>() <span class="keyword">const</span> ; <a name="l00169"></a>00169 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleString.html#61673fbc4018d20cf954478af57556f8" title="Returns true if the rule depends on a complete message, otherwise returns false.">requiresBody</a>() <span class="keyword">const</span>; <a name="l00170"></a>00170 <a name="l00171"></a>00171 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleString.html#b645a3faaebd2f2b9bd95550b78e258d" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> * msg ) <span class="keyword">const</span>; <a name="l00172"></a>00172 <a name="l00176"></a>00176 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleString.html#b645a3faaebd2f2b9bd95550b78e258d" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> DwString & str, <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> & msg, <a name="l00177"></a>00177 <span class="keyword">const</span> DwBoyerMoore * headerField=0, <a name="l00178"></a>00178 <span class="keywordtype">int</span> headerLen=-1 ) <span class="keyword">const</span>; <a name="l00179"></a>00179 <a name="l00181"></a>00181 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleString.html#234615f6cf4250cbe81bc31adfa498c1" title="Helper for the main matches() method.">matchesInternal</a>( <span class="keyword">const</span> QString & msgContents ) <span class="keyword">const</span>; <a name="l00182"></a>00182 <a name="l00183"></a>00183 <span class="keyword">private</span>: <a name="l00184"></a>00184 <span class="keyword">const</span> DwBoyerMoore *mBmHeaderField; <a name="l00185"></a>00185 }; <a name="l00186"></a>00186 <a name="l00187"></a>00187 <a name="l00194"></a><a class="code" href="classKMSearchRuleNumerical.html">00194</a> <span class="keyword">class </span><a class="code" href="classKMSearchRuleNumerical.html" title="This class represents a search to be performed against a numerical value, such as...">KMSearchRuleNumerical</a> : <span class="keyword">public</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> <a name="l00195"></a>00195 { <a name="l00196"></a>00196 <span class="keyword">public</span>: <a name="l00197"></a>00197 <a class="code" href="classKMSearchRuleNumerical.html" title="This class represents a search to be performed against a numerical value, such as...">KMSearchRuleNumerical</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>=0, <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>=FuncContains, <a name="l00198"></a>00198 <span class="keyword">const</span> QString & <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>=QString::null ); <a name="l00199"></a>00199 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleNumerical.html#0ad267ed101c48df217a7d2046e0f596" title="Determine whether the rule is worth considering.">isEmpty</a>() <span class="keyword">const</span> ; <a name="l00200"></a>00200 <a name="l00201"></a>00201 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleNumerical.html#6c9fc14336a7b1d76a5fa975b57df2b4" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> * msg ) <span class="keyword">const</span>; <a name="l00202"></a>00202 <a name="l00204"></a>00204 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleNumerical.html#d29ba5e4d008a2605185ab59fc15370e" title="Helper for the main matches() method.">matchesInternal</a>( <span class="keywordtype">long</span> numericalValue, <span class="keywordtype">long</span> numericalMsgContents, <a name="l00205"></a>00205 <span class="keyword">const</span> QString & msgContents ) <span class="keyword">const</span>; <a name="l00206"></a>00206 }; <a name="l00207"></a>00207 <a name="l00208"></a>00208 <a name="l00209"></a>00209 <span class="keyword">namespace </span>KMail { <a name="l00210"></a>00210 <span class="comment">// The below are used in several places and here so they are accessible.</span> <a name="l00211"></a>00211 <span class="keyword">struct </span>MessageStatus { <a name="l00212"></a>00212 <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> text; <a name="l00213"></a>00213 <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> icon; <a name="l00214"></a>00214 }; <a name="l00215"></a>00215 <a name="l00216"></a>00216 <span class="comment">// If you change the ordering here; also do it in the enum below</span> <a name="l00217"></a>00217 <span class="keyword">static</span> <span class="keyword">const</span> MessageStatus StatusValues[] = { <a name="l00218"></a>00218 { I18N_NOOP( <span class="stringliteral">"Important"</span> ), <span class="stringliteral">"kmmsgflag"</span> }, <a name="l00219"></a>00219 { I18N_NOOP( <span class="stringliteral">"New"</span> ), <span class="stringliteral">"kmmsgnew"</span> }, <a name="l00220"></a>00220 { I18N_NOOP( <span class="stringliteral">"Unread"</span> ), <span class="stringliteral">"kmmsgunseen"</span> }, <a name="l00221"></a>00221 { I18N_NOOP( <span class="stringliteral">"Read"</span> ), <span class="stringliteral">"kmmsgread"</span> }, <a name="l00222"></a>00222 { I18N_NOOP( <span class="stringliteral">"Old"</span> ), 0 }, <a name="l00223"></a>00223 { I18N_NOOP( <span class="stringliteral">"Deleted"</span> ), <span class="stringliteral">"kmmsgdel"</span> }, <a name="l00224"></a>00224 { I18N_NOOP( <span class="stringliteral">"Replied"</span> ), <span class="stringliteral">"kmmsgreplied"</span> }, <a name="l00225"></a>00225 { I18N_NOOP( <span class="stringliteral">"Forwarded"</span> ), <span class="stringliteral">"kmmsgforwarded"</span> }, <a name="l00226"></a>00226 { I18N_NOOP( <span class="stringliteral">"Queued"</span> ), <span class="stringliteral">"kmmsgqueued"</span> }, <a name="l00227"></a>00227 { I18N_NOOP( <span class="stringliteral">"Sent"</span> ), <span class="stringliteral">"kmmsgsent"</span> }, <a name="l00228"></a>00228 { I18N_NOOP( <span class="stringliteral">"Watched"</span> ), <span class="stringliteral">"kmmsgwatched"</span> }, <a name="l00229"></a>00229 { I18N_NOOP( <span class="stringliteral">"Ignored"</span> ), <span class="stringliteral">"kmmsgignored"</span> }, <a name="l00230"></a>00230 { I18N_NOOP( <span class="stringliteral">"Spam"</span> ), <span class="stringliteral">"kmmsgspam"</span> }, <a name="l00231"></a>00231 { I18N_NOOP( <span class="stringliteral">"Ham"</span> ), <span class="stringliteral">"kmmsgham"</span> }, <a name="l00232"></a>00232 { I18N_NOOP( <span class="stringliteral">"To Do"</span> ), <span class="stringliteral">"kmmsgtodo"</span> }, <a name="l00233"></a>00233 { I18N_NOOP( <span class="stringliteral">"Has Attachment"</span>), <span class="stringliteral">"kmmsgattachment"</span> } <a name="l00234"></a>00234 }; <a name="l00235"></a>00235 <span class="comment">// If you change the ordering here; also do it in the array above</span> <a name="l00236"></a>00236 <span class="keyword">enum</span> StatusValueTypes { <a name="l00237"></a>00237 StatusImportant = 0, <a name="l00238"></a>00238 StatusNew = 1, <a name="l00239"></a>00239 StatusUnread = 2, <a name="l00240"></a>00240 StatusRead = 3, <a name="l00241"></a>00241 StatusOld = 4, <a name="l00242"></a>00242 StatusDeleted = 5, <a name="l00243"></a>00243 StatusReplied = 6, <a name="l00244"></a>00244 StatusForwarded = 7, <a name="l00245"></a>00245 StatusQueued = 8, <a name="l00246"></a>00246 StatusSent = 9, <a name="l00247"></a>00247 StatusWatched = 10, <a name="l00248"></a>00248 StatusIgnored = 11, <a name="l00249"></a>00249 StatusSpam = 12, <a name="l00250"></a>00250 StatusHam = 13, <a name="l00251"></a>00251 StatusToDo = 14, <a name="l00252"></a>00252 StatusHasAttachment = 15 <a name="l00253"></a>00253 }; <a name="l00254"></a>00254 <a name="l00255"></a>00255 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> StatusValueCount = <a name="l00256"></a>00256 <span class="keyword">sizeof</span>( StatusValues ) / <span class="keyword">sizeof</span>( MessageStatus ); <a name="l00257"></a>00257 <span class="comment">// we want to show all status entries in the quick search bar, but only the</span> <a name="l00258"></a>00258 <span class="comment">// ones up to attachment in the search/filter dialog, because there the</span> <a name="l00259"></a>00259 <span class="comment">// attachment case is handled separately.</span> <a name="l00260"></a>00260 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> StatusValueCountWithoutHidden = StatusValueCount - 1; <a name="l00261"></a>00261 } <a name="l00262"></a>00262 <a name="l00268"></a><a class="code" href="classKMSearchRuleStatus.html">00268</a> <span class="keyword">class </span><a class="code" href="classKMSearchRuleStatus.html" title="This class represents a search to be performed against the status of a messsage.">KMSearchRuleStatus</a> : <span class="keyword">public</span> <a class="code" href="classKMSearchRule.html" title="Incoming mail is sent through the list of mail filter rules before it is placed in...">KMSearchRule</a> <a name="l00269"></a>00269 { <a name="l00270"></a>00270 <span class="keyword">public</span>: <a name="l00271"></a>00271 <a class="code" href="classKMSearchRuleStatus.html" title="This class represents a search to be performed against the status of a messsage.">KMSearchRuleStatus</a>( <span class="keyword">const</span> QCString & <a class="code" href="classKMSearchRule.html#ea8fed98aea88a93a74115d0647c6009" title="Return message header field name (without the trailing &#39;:&#39;).">field</a>=0, <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>=FuncContains, <a name="l00272"></a>00272 <span class="keyword">const</span> QString & <a class="code" href="classKMSearchRule.html#9d5c5fd846e2421b1bffad6d22182d69" title="Return the value.">contents</a>=QString::null ); <a name="l00273"></a>00273 <a class="code" href="classKMSearchRuleStatus.html" title="This class represents a search to be performed against the status of a messsage.">KMSearchRuleStatus</a>( <span class="keywordtype">int</span> status, <a class="code" href="classKMSearchRule.html#d0ba8ae772419a46cb0060f7abbbbb31" title="Operators for comparison of field and contents.">Function</a> <a class="code" href="classKMSearchRule.html#02c8a2fe1bd166d8a54c483951e5c4fb" title="Return filter function.">function</a>=FuncContains ); <a name="l00274"></a>00274 <a name="l00275"></a>00275 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleStatus.html#98263a7c96dd0efcb143ce992501e426" title="Determine whether the rule is worth considering.">isEmpty</a>() <span class="keyword">const</span> ; <a name="l00276"></a>00276 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleStatus.html#276c1c08b600fe0608e33426e50535e7" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> * msg ) <span class="keyword">const</span>; <a name="l00277"></a>00277 <span class="comment">//Not possible to implement this form for status searching</span> <a name="l00278"></a>00278 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classKMSearchRuleStatus.html#276c1c08b600fe0608e33426e50535e7" title="Tries to match the rule against the given KMMessage.">matches</a>( <span class="keyword">const</span> DwString &, <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> &, <a name="l00279"></a>00279 <span class="keyword">const</span> DwBoyerMoore *, <a name="l00280"></a>00280 <span class="keywordtype">int</span> ) <span class="keyword">const</span>; <a name="l00281"></a>00281 <span class="keyword">static</span> KMMsgStatus statusFromEnglishName(<span class="keyword">const</span> QString&); <a name="l00282"></a>00282 <span class="keyword">private</span>: <a name="l00283"></a>00283 KMMsgStatus mStatus; <a name="l00284"></a>00284 }; <a name="l00285"></a>00285 <a name="l00286"></a>00286 <span class="comment">// ------------------------------------------------------------------------</span> <a name="l00287"></a>00287 <a name="l00306"></a><a class="code" href="classKMSearchPattern.html">00306</a> <span class="keyword">class </span><a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a> : <span class="keyword">public</span> QPtrList<KMSearchRule> <a name="l00307"></a>00307 { <a name="l00308"></a>00308 <a name="l00309"></a>00309 <span class="keyword">public</span>: <a name="l00315"></a><a class="code" href="classKMSearchPattern.html#88130eae082d0ab2093b49810e06ea57">00315</a> <span class="keyword">enum</span> <a class="code" href="classKMSearchPattern.html#88130eae082d0ab2093b49810e06ea57" title="Boolean operators that connect the return values of the individual rules.">Operator</a> { OpAnd, OpOr }; <a name="l00324"></a>00324 <a class="code" href="classKMSearchPattern.html#48a29748bc9cfa08405218af7e16a8bd" title="Constructor that initializes from a given KConfig group, if given.">KMSearchPattern</a>( <span class="keyword">const</span> KConfig * config=0 ); <a name="l00325"></a>00325 <a name="l00327"></a>00327 <a class="code" href="classKMSearchPattern.html#1b079ff5faf4c955a2ebee4935547312" title="Destructor.">~KMSearchPattern</a>(); <a name="l00328"></a>00328 <a name="l00338"></a>00338 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchPattern.html#e745ef221990b41809f776d0e7c9b24a" title="The central function of this class.">matches</a>( <span class="keyword">const</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> * msg, <span class="keywordtype">bool</span> ignoreBody = <span class="keyword">false</span> ) <span class="keyword">const</span>; <a name="l00339"></a>00339 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchPattern.html#e745ef221990b41809f776d0e7c9b24a" title="The central function of this class.">matches</a>( <span class="keyword">const</span> DwString & str, <span class="keywordtype">bool</span> ignoreBody = <span class="keyword">false</span> ) <span class="keyword">const</span>; <a name="l00340"></a>00340 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchPattern.html#e745ef221990b41809f776d0e7c9b24a" title="The central function of this class.">matches</a>( Q_UINT32 sernum, <span class="keywordtype">bool</span> ignoreBody = <span class="keyword">false</span> ) <span class="keyword">const</span>; <a name="l00341"></a>00341 <a name="l00344"></a>00344 <span class="keywordtype">bool</span> <a class="code" href="classKMSearchPattern.html#fb6b52ca4a8d8d43ee32e24d1ddf4332" title="Returns true if the pattern only depends the DwString that backs a message.">requiresBody</a>() <span class="keyword">const</span>; <a name="l00345"></a>00345 <a name="l00350"></a>00350 <span class="keywordtype">void</span> <a class="code" href="classKMSearchPattern.html#a5c1ac62bd1b1306d5dc7550fd3a9d34" title="Removes all empty rules from the list.">purify</a>(); <a name="l00351"></a>00351 <a name="l00364"></a>00364 <span class="keywordtype">void</span> <a class="code" href="classKMSearchPattern.html#7bad440cf802fbcf45ca73f2fd88e867" title="Reads a search pattern from a KConfig.">readConfig</a>( <span class="keyword">const</span> KConfig * config ); <a name="l00371"></a>00371 <span class="keywordtype">void</span> <a class="code" href="classKMSearchPattern.html#89435ab5533af2abcad9294a6570c86c" title="Writes itself into config.">writeConfig</a>( KConfig * config ) <span class="keyword">const</span>; <a name="l00372"></a>00372 <a name="l00374"></a><a class="code" href="classKMSearchPattern.html#4f3ced05235ac6bff9c1f3efa79c2553">00374</a> QString <a class="code" href="classKMSearchPattern.html#4f3ced05235ac6bff9c1f3efa79c2553" title="Get the name of the search pattern.">name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mName; } <a name="l00377"></a><a class="code" href="classKMSearchPattern.html#022c5bbb5ab6ea11a4eccd2e95ba4faf">00377</a> <span class="keywordtype">void</span> <a class="code" href="classKMSearchPattern.html#022c5bbb5ab6ea11a4eccd2e95ba4faf" title="Set the name of the search pattern.">setName</a>( <span class="keyword">const</span> QString & newName ) { mName = newName ; } <a name="l00378"></a>00378 <a name="l00380"></a><a class="code" href="classKMSearchPattern.html#f19bfaf31b8c24385c6605dd98166f83">00380</a> <a class="code" href="classKMSearchPattern.html#88130eae082d0ab2093b49810e06ea57" title="Boolean operators that connect the return values of the individual rules.">KMSearchPattern::Operator</a> <a class="code" href="classKMSearchPattern.html#f19bfaf31b8c24385c6605dd98166f83" title="Get the filter operator.">op</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mOperator; } <a name="l00382"></a><a class="code" href="classKMSearchPattern.html#4f081110052bad0c7e2d4852e257e3ac">00382</a> <span class="keywordtype">void</span> <a class="code" href="classKMSearchPattern.html#4f081110052bad0c7e2d4852e257e3ac" title="Set the filter operator.">setOp</a>( <a class="code" href="classKMSearchPattern.html#88130eae082d0ab2093b49810e06ea57" title="Boolean operators that connect the return values of the individual rules.">KMSearchPattern::Operator</a> aOp ) { mOperator = aOp; } <a name="l00383"></a>00383 <a name="l00385"></a>00385 QString <a class="code" href="classKMSearchPattern.html#0c8b2bbea3faf7cab88cfcd122dbd51e" title="Returns the pattern as string.">asString</a>() <span class="keyword">const</span>; <a name="l00386"></a>00386 <a name="l00388"></a>00388 <span class="keyword">const</span> <a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a> & <a class="code" href="classKMSearchPattern.html#afd018e9fb83edbe9da102da58d63d49" title="Overloaded assignment operator.">operator=</a>( <span class="keyword">const</span> <a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a> & aPattern ); <a name="l00389"></a>00389 <a name="l00390"></a>00390 <span class="keyword">private</span>: <a name="l00398"></a>00398 <span class="keywordtype">void</span> importLegacyConfig( <span class="keyword">const</span> KConfig * config ); <a name="l00401"></a>00401 <span class="keywordtype">void</span> init(); <a name="l00402"></a>00402 <a name="l00403"></a>00403 QString mName; <a name="l00404"></a>00404 <a class="code" href="classKMSearchPattern.html#88130eae082d0ab2093b49810e06ea57" title="Boolean operators that connect the return values of the individual rules.">Operator</a> mOperator; <a name="l00405"></a>00405 }; <a name="l00406"></a>00406 <a name="l00407"></a>00407 <span class="preprocessor">#endif </span><span class="comment">/* _kmsearchpattern_h_ */</span> </pre></div></div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kmail</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</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="namespacemembers.html">Namespace Members</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="classAccountUpdater.html">accountupdater</option>, <option value="classAttachmentModifyCommand.html">attachmentmodifycommand</option>, <option value="classFolderStorage.html">folderstorage</option>, <option value="classKCursorSaver.html">kcursorsaver</option>, <option value="classKleo_1_1KeyResolver.html">kleo::keyresolver</option>, <option value="classKListViewIndexedSearchLine.html">klistviewindexedsearchline</option>, <option value="classKMAcctFolder.html">kmacctfolder</option>, <option value="classKMAcctSelDlg.html">kmacctseldlg</option>, <option value="classKMail_1_1AccountComboBox.html">kmail::accountcombobox</option>, <option value="classKMail_1_1AccountManager.html">kmail::accountmanager</option>, <option value="classKMail_1_1ACLEntryDialog.html">kmail::aclentrydialog</option>, <option value="classKMail_1_1ACLJobs_1_1DeleteACLJob.html">kmail::acljobs::deleteacljob</option>, <option value="classKMail_1_1ACLJobs_1_1GetACLJob.html">kmail::acljobs::getacljob</option>, <option value="classKMail_1_1ACLJobs_1_1GetUserRightsJob.html">kmail::acljobs::getuserrightsjob</option>, <option value="classKMail_1_1ACLJobs_1_1MultiSetACLJob.html">kmail::acljobs::multisetacljob</option>, <option value="classKMail_1_1AnnotationJobs_1_1GetAnnotationJob.html">kmail::annotationjobs::getannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiGetAnnotationJob.html">kmail::annotationjobs::multigetannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiSetAnnotationJob.html">kmail::annotationjobs::multisetannotationjob</option>, <option value="classKMail_1_1AnnotationJobs_1_1MultiUrlGetAnnotationJob.html">kmail::annotationjobs::multiurlgetannotationjob</option>, <option value="classKMail_1_1AntiSpamConfig.html">kmail::antispamconfig</option>, <option value="classKMail_1_1AntiSpamWizard.html">kmail::antispamwizard</option>, <option value="classKMail_1_1AntiSpamWizard_1_1ConfigReader.html">kmail::antispamwizard::configreader</option>, <option value="classKMail_1_1AntiSpamWizard_1_1SpamToolConfig.html">kmail::antispamwizard::spamtoolconfig</option>, <option value="classKMail_1_1Callback.html">kmail::callback</option>, <option value="classKMail_1_1CopyFolderJob.html">kmail::copyfolderjob</option>, <option value="classKMail_1_1DictionaryComboBox.html">kmail::dictionarycombobox</option>, <option value="classKMail_1_1EditorWatcher.html">kmail::editorwatcher</option>, <option value="classKMail_1_1FilterImporterExporter.html">kmail::filterimporterexporter</option>, <option value="classKMail_1_1FilterLog.html">kmail::filterlog</option>, <option value="classKMail_1_1FilterLogDialog.html">kmail::filterlogdialog</option>, <option value="classKMail_1_1FolderDiaACLTab.html">kmail::folderdiaacltab</option>, <option value="classKMail_1_1FolderDiaGeneralTab.html">kmail::folderdiageneraltab</option>, <option value="classKMail_1_1FolderDiaQuotaTab.html">kmail::folderdiaquotatab</option>, <option value="classKMail_1_1FolderDiaTab.html">kmail::folderdiatab</option>, <option value="classKMail_1_1FolderDiaTemplatesTab.html">kmail::folderdiatemplatestab</option>, <option value="classKMail_1_1FolderRequester.html">kmail::folderrequester</option>, <option value="classKMail_1_1HeaderItem.html">kmail::headeritem</option>, <option value="classKMail_1_1HeaderStyle.html">kmail::headerstyle</option>, <option value="classKMail_1_1HtmlStatusBar.html">kmail::htmlstatusbar</option>, <option value="classKMail_1_1HtmlWriter.html">kmail::htmlwriter</option>, <option value="classKMail_1_1IdentityDrag.html">kmail::identitydrag</option>, <option value="classKMail_1_1IdentityListView.html">kmail::identitylistview</option>, <option value="classKMail_1_1IdentityListViewItem.html">kmail::identitylistviewitem</option>, <option value="classKMail_1_1Interface_1_1BodyPart.html">kmail::interface::bodypart</option>, <option value="classKMail_1_1Interface_1_1BodyPartFormatterPlugin.html">kmail::interface::bodypartformatterplugin</option>, <option value="classKMail_1_1Interface_1_1BodyPartMemento.html">kmail::interface::bodypartmemento</option>, <option value="classKMail_1_1Interface_1_1BodyPartURLHandler.html">kmail::interface::bodyparturlhandler</option>, <option value="classKMail_1_1Interface_1_1Observable.html">kmail::interface::observable</option>, <option value="classKMail_1_1Interface_1_1Observer.html">kmail::interface::observer</option>, <option value="classKMail_1_1JobScheduler.html">kmail::jobscheduler</option>, <option value="classKMail_1_1ListJob.html">kmail::listjob</option>, <option value="classKMail_1_1MaildirCompactionJob.html">kmail::maildircompactionjob</option>, <option value="classKMail_1_1MailingList.html">kmail::mailinglist</option>, <option value="classKMail_1_1MboxCompactionJob.html">kmail::mboxcompactionjob</option>, <option value="classKMail_1_1MessageActions.html">kmail::messageactions</option>, <option value="classKMail_1_1MessageCopyHelper.html">kmail::messagecopyhelper</option>, <option value="classKMail_1_1PartNodeBodyPart.html">kmail::partnodebodypart</option>, <option value="classKMail_1_1PopAccount.html">kmail::popaccount</option>, <option value="classKMail_1_1QuotaJobs_1_1GetQuotarootJob.html">kmail::quotajobs::getquotarootjob</option>, <option value="classKMail_1_1QuotaJobs_1_1GetStorageQuotaJob.html">kmail::quotajobs::getstoragequotajob</option>, <option value="classKMail_1_1RedirectDialog.html">kmail::redirectdialog</option>, <option value="classKMail_1_1RenameJob.html">kmail::renamejob</option>, <option value="classKMail_1_1RuleWidgetHandler.html">kmail::rulewidgethandler</option>, <option value="classKMail_1_1RuleWidgetHandlerManager.html">kmail::rulewidgethandlermanager</option>, <option value="classKMail_1_1ScheduledCompactionTask.html">kmail::scheduledcompactiontask</option>, <option value="classKMail_1_1ScheduledExpireTask.html">kmail::scheduledexpiretask</option>, <option value="classKMail_1_1ScheduledJob.html">kmail::scheduledjob</option>, <option value="classKMail_1_1ScheduledTask.html">kmail::scheduledtask</option>, <option value="classKMail_1_1SearchJob.html">kmail::searchjob</option>, <option value="classKMail_1_1SearchWindow.html">kmail::searchwindow</option>, <option value="classKMail_1_1SecondaryWindow.html">kmail::secondarywindow</option>, <option value="classKMail_1_1SieveDebugDialog.html">kmail::sievedebugdialog</option>, <option value="classKMail_1_1SortCacheItem.html">kmail::sortcacheitem</option>, <option value="classKMail_1_1SpamHeaderAnalyzer.html">kmail::spamheaderanalyzer</option>, <option value="classKMail_1_1SpamScore.html">kmail::spamscore</option>, <option value="classKMail_1_1TeeHtmlWriter.html">kmail::teehtmlwriter</option>, <option value="classKMail_1_1TransportManager.html">kmail::transportmanager</option>, <option value="classKMail_1_1UndoInfo.html">kmail::undoinfo</option>, <option value="classKMail_1_1URLHandler.html">kmail::urlhandler</option>, <option value="classKMail_1_1URLHandlerManager.html">kmail::urlhandlermanager</option>, <option value="classKMail_1_1Util_1_1LaterDeleter.html">kmail::util::laterdeleter</option>, <option value="classKMailICalIfaceImpl.html">kmailicalifaceimpl</option>, <option value="classKMailIface.html">kmailiface</option>, <option value="classKMDict.html">kmdict</option>, <option value="classKMDictItem.html">kmdictitem</option>, <option value="classKMFilterAction.html">kmfilteraction</option>, <option value="classKMFilterActionDict.html">kmfilteractiondict</option>, <option value="classKMFilterActionWidget.html">kmfilteractionwidget</option>, <option value="classKMFilterActionWithAddress.html">kmfilteractionwithaddress</option>, <option value="classKMFilterActionWithFolder.html">kmfilteractionwithfolder</option>, <option value="classKMFilterActionWithNone.html">kmfilteractionwithnone</option>, <option value="classKMFilterActionWithString.html">kmfilteractionwithstring</option>, <option value="classKMFilterActionWithStringList.html">kmfilteractionwithstringlist</option>, <option value="classKMFilterActionWithUOID.html">kmfilteractionwithuoid</option>, <option value="classKMFilterActionWithUrl.html">kmfilteractionwithurl</option>, <option value="classKMFilterDlg.html">kmfilterdlg</option>, <option value="classKMFilterListBox.html">kmfilterlistbox</option>, <option value="classKMFolder.html">kmfolder</option>, <option value="classKMFolderDialog.html">kmfolderdialog</option>, <option value="classKMFolderDir.html">kmfolderdir</option>, <option value="classKMFolderIndex.html">kmfolderindex</option>, <option value="classKMFolderOpener.html">kmfolderopener</option>, <option value="classKMHeaders.html">kmheaders</option>, <option value="classKMKernel.html">kmkernel</option>, <option value="classKMMenuCommand.html">kmmenucommand</option>, <option value="classKMMessage.html">kmmessage</option>, <option value="classKMMsgDict.html">kmmsgdict</option>, <option value="classKMMsgList.html">kmmsglist</option>, <option value="classKMMsgPartDialog.html">kmmsgpartdialog</option>, <option value="classKMMsgPartDialogCompat.html">kmmsgpartdialogcompat</option>, <option value="classKMPopHeadersView.html">kmpopheadersview</option>, <option value="classKMReaderWin.html">kmreaderwin</option>, <option value="classKMSearchPattern.html">kmsearchpattern</option>, <option value="classKMSearchPatternEdit.html">kmsearchpatternedit</option>, <option value="classKMSearchRule.html">kmsearchrule</option>, <option value="classKMSearchRuleNumerical.html">kmsearchrulenumerical</option>, <option value="classKMSearchRuleStatus.html">kmsearchrulestatus</option>, <option value="classKMSearchRuleString.html">kmsearchrulestring</option>, <option value="classKMSearchRuleWidget.html">kmsearchrulewidget</option>, <option value="classKMSystemTray.html">kmsystemtray</option>, <option value="classMailComposerIface.html">mailcomposeriface</option>, <option value="classScalix_1_1FolderAttributeParser.html">scalix::folderattributeparser</option>, <option value="classSnippetConfig.html">snippetconfig</option>, <option value="classSnippetGroup.html">snippetgroup</option>, <option value="classSnippetItem.html">snippetitem</option>, <option value="classSnippetSettings.html">snippetsettings</option>, <option value="classSnippetWidget.html">snippetwidget</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>