<?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: folderstorage.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>folderstorage.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> Virtual base class for mail storage.</span> <a name="l00003"></a>00003 <span class="comment"></span> <a name="l00004"></a>00004 <span class="comment"> This file is part of KMail.</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk></span> <a name="l00007"></a>00007 <span class="comment"></span> <a name="l00008"></a>00008 <span class="comment"> This library is free software; you can redistribute it and/or</span> <a name="l00009"></a>00009 <span class="comment"> modify it under the terms of the GNU Library General Public</span> <a name="l00010"></a>00010 <span class="comment"> License as published by the Free Software Foundation; either</span> <a name="l00011"></a>00011 <span class="comment"> version 2 of the License, or (at your option) any later version.</span> <a name="l00012"></a>00012 <span class="comment"></span> <a name="l00013"></a>00013 <span class="comment"> This library is distributed in the hope that it will be useful,</span> <a name="l00014"></a>00014 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00015"></a>00015 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00016"></a>00016 <span class="comment"> Library General Public License for more details.</span> <a name="l00017"></a>00017 <span class="comment"></span> <a name="l00018"></a>00018 <span class="comment"> You should have received a copy of the GNU Library General Public License</span> <a name="l00019"></a>00019 <span class="comment"> along with this library; see the file COPYING.LIB. If not, write to</span> <a name="l00020"></a>00020 <span class="comment"> the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span> <a name="l00021"></a>00021 <span class="comment"> Boston, MA 02110-1301, USA.</span> <a name="l00022"></a>00022 <span class="comment"></span> <a name="l00023"></a>00023 <span class="comment"> In addition, as a special exception, the copyright holders give</span> <a name="l00024"></a>00024 <span class="comment"> permission to link the code of this program with any edition of</span> <a name="l00025"></a>00025 <span class="comment"> the Qt library by Trolltech AS, Norway (or with modified versions</span> <a name="l00026"></a>00026 <span class="comment"> of Qt that use the same license as Qt), and distribute linked</span> <a name="l00027"></a>00027 <span class="comment"> combinations including the two. You must obey the GNU General</span> <a name="l00028"></a>00028 <span class="comment"> Public License in all respects for all of the code used other than</span> <a name="l00029"></a>00029 <span class="comment"> Qt. If you modify this file, you may extend this exception to</span> <a name="l00030"></a>00030 <span class="comment"> your version of the file, but you are not obligated to do so. If</span> <a name="l00031"></a>00031 <span class="comment"> you do not wish to do so, delete this exception statement from</span> <a name="l00032"></a>00032 <span class="comment"> your version.</span> <a name="l00033"></a>00033 <span class="comment">*/</span> <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="preprocessor">#ifndef FOLDERSTORAGE_H</span> <a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define FOLDERSTORAGE_H</span> <a name="l00037"></a>00037 <span class="preprocessor"></span> <a name="l00038"></a>00038 <span class="comment">// for large file support</span> <a name="l00039"></a>00039 <span class="preprocessor">#include <config.h></span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="preprocessor">#include "kmfoldernode.h"</span> <a name="l00042"></a>00042 <span class="preprocessor">#include "kmfoldertype.h"</span> <a name="l00043"></a>00043 <span class="preprocessor">#include "kmmsginfo.h"</span> <a name="l00044"></a>00044 <span class="preprocessor">#include "kmglobal.h"</span> <a name="l00045"></a>00045 <span class="preprocessor">#include "folderjob.h"</span> <a name="l00046"></a>00046 <span class="keyword">using</span> KMail::FolderJob; <a name="l00047"></a>00047 <a name="l00048"></a>00048 <span class="preprocessor">#include "mimelib/string.h"</span> <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="preprocessor">#include <sys/types.h></span> <a name="l00051"></a>00051 <span class="preprocessor">#include <stdio.h></span> <a name="l00052"></a>00052 <a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>; <a name="l00054"></a>00054 <span class="keyword">class </span>KMAccount; <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="classKMFolderDir.html" title="KMail list that manages the contents of one directory that may contain folders and/or...">KMFolderDir</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="classKMMsgDict.html" title="KMail message dictionary.">KMMsgDict</a>; <span class="comment">// for the rDict manipulations</span> <a name="l00057"></a>00057 <span class="keyword">class </span>KMMsgDictREntry; <a name="l00058"></a>00058 <span class="keyword">class </span>QTimer; <a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a>; <a name="l00060"></a>00060 <a name="l00061"></a>00061 <span class="keyword">namespace </span>KMail { <a name="l00062"></a>00062 <span class="keyword">class </span>AttachmentStrategy; <a name="l00063"></a>00063 } <a name="l00064"></a>00064 <span class="keyword">using</span> KMail::AttachmentStrategy; <a name="l00065"></a>00065 <a name="l00066"></a>00066 <span class="keyword">typedef</span> QValueList<Q_UINT32> SerNumList; <a name="l00067"></a>00067 <a name="l00079"></a><a class="code" href="classFolderStorage.html">00079</a> <span class="keyword">class </span><a class="code" href="classFolderStorage.html" title="The FolderStorage class is the bass class for the storage related aspects of a collection...">FolderStorage</a> : <span class="keyword">public</span> QObject <a name="l00080"></a>00080 { <a name="l00081"></a>00081 Q_OBJECT <a name="l00082"></a>00082 <a name="l00083"></a>00083 <span class="keyword">public</span>: <a name="l00084"></a>00084 <a name="l00085"></a>00085 <a name="l00089"></a>00089 <a class="code" href="classFolderStorage.html#620d811bcc654185f5411d79557d00f2" title="Usually a parent is given.">FolderStorage</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* folder, <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0 ); <a name="l00090"></a>00090 <span class="keyword">virtual</span> ~<a class="code" href="classFolderStorage.html" title="The FolderStorage class is the bass class for the storage related aspects of a collection...">FolderStorage</a>(); <a name="l00091"></a>00091 <a name="l00092"></a>00092 <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* folder()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mFolder; } <a name="l00093"></a>00093 <a name="l00095"></a><a class="code" href="classFolderStorage.html#41196efc6926d01bc45fc2d61e97b39a">00095</a> <span class="keyword">virtual</span> KMFolderType <a class="code" href="classFolderStorage.html#41196efc6926d01bc45fc2d61e97b39a" title="Returns the type of this folder.">folderType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> KMFolderTypeUnknown; } <a name="l00096"></a>00096 <a name="l00098"></a>00098 <span class="keyword">virtual</span> QString <a class="code" href="classFolderStorage.html#a8a7c5acd107aeb89055a2b433bcba9c" title="Returns the filename of the folder (reimplemented in KMFolderImap).">fileName</a>() <span class="keyword">const</span>; <a name="l00100"></a>00100 QString <a class="code" href="classFolderStorage.html#a144bcff0830fe5fb8d29bca070188ed" title="Returns full path to folder file.">location</a>() <span class="keyword">const</span>; <a name="l00101"></a>00101 <a name="l00103"></a>00103 <span class="keyword">virtual</span> QString <a class="code" href="classFolderStorage.html#dc9e9405b32874b623442068194a71ea" title="Returns full path to index file.">indexLocation</a>() <span class="keyword">const</span> = 0; <a name="l00104"></a>00104 <a name="l00106"></a><a class="code" href="classFolderStorage.html#d22c4f7c7a5abeef87aef8ec1580f5b6">00106</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#d22c4f7c7a5abeef87aef8ec1580f5b6" title="Returns, if the folder can&#39;t contain mails, but only subfolder.">noContent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNoContent; } <a name="l00107"></a>00107 <a name="l00109"></a><a class="code" href="classFolderStorage.html#79419f6f153bc4654e5a2fa1dd1ba6ef">00109</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#79419f6f153bc4654e5a2fa1dd1ba6ef" title="Specify, that the folder can&#39;t contain mails.">setNoContent</a>(<span class="keywordtype">bool</span> aNoContent) <a name="l00110"></a>00110 { mNoContent = aNoContent; } <a name="l00111"></a>00111 <a name="l00113"></a><a class="code" href="classFolderStorage.html#ee3503c55ca3f0d13458cf69c652a9e2">00113</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#ee3503c55ca3f0d13458cf69c652a9e2" title="Returns, if the folder can&#39;t have children.">noChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mNoChildren; } <a name="l00114"></a>00114 <a name="l00116"></a>00116 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#ca3c092c40beee26cd28cb8c6a593d1d" title="Specify, that the folder can&#39;t have children.">setNoChildren</a>( <span class="keywordtype">bool</span> aNoChildren ); <a name="l00117"></a>00117 <a name="l00118"></a>00118 <span class="keyword">enum</span> ChildrenState { <a name="l00119"></a>00119 HasChildren, <a name="l00120"></a>00120 HasNoChildren, <a name="l00121"></a>00121 ChildrenUnknown <a name="l00122"></a>00122 }; <a name="l00125"></a><a class="code" href="classFolderStorage.html#149578fecb0c365792a412779e5b0100">00125</a> <span class="keyword">virtual</span> ChildrenState <a class="code" href="classFolderStorage.html#149578fecb0c365792a412779e5b0100" title="Returns if the folder has children, has no children or we don&#39;t know.">hasChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mHasChildren; } <a name="l00126"></a>00126 <a name="l00128"></a><a class="code" href="classFolderStorage.html#41c74c4516d65d3f2390ed1cbc0faa91">00128</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#41c74c4516d65d3f2390ed1cbc0faa91" title="Specify if the folder has children.">setHasChildren</a>( ChildrenState state ) <a name="l00129"></a>00129 { mHasChildren = state; } <a name="l00130"></a>00130 <a name="l00132"></a>00132 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#94c31cec1974935baf127949069fa527" title="Updates the hasChildren() state.">updateChildrenState</a>(); <a name="l00133"></a>00133 <a name="l00135"></a>00135 <span class="keyword">virtual</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* <a class="code" href="classFolderStorage.html#e536ec5f8862677863c3a9c81488cc10" title="Read message at given index.">getMsg</a>(<span class="keywordtype">int</span> idx); <a name="l00136"></a>00136 <a name="l00138"></a>00138 <span class="keyword">virtual</span> KMMsgInfo* <a class="code" href="classFolderStorage.html#b3f6aae1aeae4b237a3e58e9449b2da3" title="Replace KMMessage with KMMsgInfo and delete KMMessage.">unGetMsg</a>(<span class="keywordtype">int</span> idx); <a name="l00139"></a>00139 <a name="l00141"></a>00141 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#040c56b893a2d920523d42529ea7717b" title="Checks if the message is already &quot;gotten&quot; with getMsg.">isMessage</a>(<span class="keywordtype">int</span> idx); <a name="l00142"></a>00142 <a name="l00147"></a>00147 <span class="keyword">virtual</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* <a class="code" href="classFolderStorage.html#253dc81349d2d11adbc1f3179bc4614e" title="Load message from file and do NOT store it, only return it.">readTemporaryMsg</a>(<span class="keywordtype">int</span> idx); <a name="l00148"></a>00148 <a name="l00150"></a>00150 <span class="keyword">virtual</span> DwString <a class="code" href="classFolderStorage.html#0c690ce0d230c64ae0303c0f1e74f2c7" title="Read a message and returns a DwString.">getDwString</a>(<span class="keywordtype">int</span> idx) = 0; <a name="l00151"></a>00151 <a name="l00155"></a>00155 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#0b7fbbe8d9b25c6de16ed55a35fed3f8" title="Removes and deletes all jobs associated with the particular message.">ignoreJobsForMessage</a>( <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* ); <a name="l00156"></a>00156 <a name="l00161"></a>00161 <span class="keyword">virtual</span> FolderJob* <a class="code" href="classFolderStorage.html#58e4b90a8367df6e34f0fc88251f0a9c" title="These methods create respective FolderJob (You should derive FolderJob for each derived...">createJob</a>( <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> *msg, FolderJob::JobType jt = FolderJob::tGetMessage, <a name="l00162"></a>00162 <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a> *folder = 0, QString partSpecifier = QString::null, <a name="l00163"></a>00163 <span class="keyword">const</span> AttachmentStrategy *as = 0 ) <span class="keyword">const</span>; <a name="l00164"></a>00164 <span class="keyword">virtual</span> FolderJob* <a class="code" href="classFolderStorage.html#58e4b90a8367df6e34f0fc88251f0a9c" title="These methods create respective FolderJob (You should derive FolderJob for each derived...">createJob</a>( QPtrList<KMMessage>& msgList, <span class="keyword">const</span> QString& sets, <a name="l00165"></a>00165 FolderJob::JobType jt = FolderJob::tGetMessage, <a name="l00166"></a>00166 <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a> *folder = 0 ) <span class="keyword">const</span>; <a name="l00167"></a>00167 <a name="l00172"></a>00172 <span class="keyword">virtual</span> <span class="keyword">const</span> KMMsgBase* <a class="code" href="classFolderStorage.html#e7b655f821f53f2b431dd0ebaf44743b" title="Provides access to the basic message fields that are also stored in the index.">getMsgBase</a>(<span class="keywordtype">int</span> idx) <span class="keyword">const</span> = 0; <a name="l00173"></a>00173 <span class="keyword">virtual</span> KMMsgBase* <a class="code" href="classFolderStorage.html#e7b655f821f53f2b431dd0ebaf44743b" title="Provides access to the basic message fields that are also stored in the index.">getMsgBase</a>(<span class="keywordtype">int</span> idx) = 0; <a name="l00174"></a>00174 <a name="l00176"></a><a class="code" href="classFolderStorage.html#a6fd6d140d6974b828d4bcbe37f93054">00176</a> <span class="keyword">virtual</span> <span class="keyword">const</span> KMMsgBase* <a class="code" href="classFolderStorage.html#a6fd6d140d6974b828d4bcbe37f93054" title="Same as getMsgBase(int).">operator[]</a>(<span class="keywordtype">int</span> idx)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#e7b655f821f53f2b431dd0ebaf44743b" title="Provides access to the basic message fields that are also stored in the index.">getMsgBase</a>(idx); } <a name="l00177"></a>00177 <a name="l00179"></a><a class="code" href="classFolderStorage.html#b2de1803226ccabfc8a779879a0bd93e">00179</a> <span class="keyword">virtual</span> KMMsgBase* <a class="code" href="classFolderStorage.html#a6fd6d140d6974b828d4bcbe37f93054" title="Same as getMsgBase(int).">operator[]</a>(<span class="keywordtype">int</span> idx) { <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#e7b655f821f53f2b431dd0ebaf44743b" title="Provides access to the basic message fields that are also stored in the index.">getMsgBase</a>(idx); } <a name="l00180"></a>00180 <a name="l00183"></a>00183 <span class="keyword">virtual</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* <a class="code" href="classFolderStorage.html#1294efbefc6ee71a23444090118fdf41" title="Detach message from this folder.">take</a>(<span class="keywordtype">int</span> idx); <a name="l00184"></a>00184 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1294efbefc6ee71a23444090118fdf41" title="Detach message from this folder.">take</a>(QPtrList<KMMessage> msgList); <a name="l00185"></a>00185 <a name="l00192"></a>00192 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#bd989edf4fcba5192514d28574159ae4" title="Add the given message to the folder.">addMsg</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* msg, <span class="keywordtype">int</span>* index_return = 0) = 0; <a name="l00193"></a>00193 <a name="l00197"></a><a class="code" href="classFolderStorage.html#5b7480d9328b7fc2d2332b327e397ae1">00197</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#5b7480d9328b7fc2d2332b327e397ae1" title="(Note(bo): This needs to be fixed better at a later point.">addMsgKeepUID</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* msg, <span class="keywordtype">int</span>* index_return = 0) { <a name="l00198"></a>00198 <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#bd989edf4fcba5192514d28574159ae4" title="Add the given message to the folder.">addMsg</a>(msg, index_return); <a name="l00199"></a>00199 } <a name="l00200"></a>00200 <a name="l00205"></a>00205 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#bd989edf4fcba5192514d28574159ae4" title="Add the given message to the folder.">addMsg</a>( QPtrList<KMMessage>&, QValueList<int>& index_return ); <a name="l00206"></a>00206 <a name="l00209"></a>00209 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1b56812d700b84882b21ee3cd522aac9" title="Called by derived classes implementation of addMsg.">emitMsgAddedSignals</a>(<span class="keywordtype">int</span> idx); <a name="l00210"></a>00210 <a name="l00213"></a>00213 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#a4e85953f62f6eccecaed1ecbd6241cd" title="Returns FALSE, if the message has to be retrieved from an IMAP account first.">canAddMsgNow</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* aMsg, <span class="keywordtype">int</span>* aIndex_ret); <a name="l00214"></a>00214 <a name="l00216"></a>00216 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#9771058d27be2b489f6da4e6eab22f5d" title="Remove (first occurrence of) given message from the folder.">removeMsg</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">bool</span> imapQuiet = <span class="keyword">false</span>); <a name="l00217"></a>00217 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#9771058d27be2b489f6da4e6eab22f5d" title="Remove (first occurrence of) given message from the folder.">removeMsg</a>(<span class="keyword">const</span> QPtrList<KMMsgBase>& msgList, <span class="keywordtype">bool</span> imapQuiet = <span class="keyword">false</span>); <a name="l00218"></a>00218 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#9771058d27be2b489f6da4e6eab22f5d" title="Remove (first occurrence of) given message from the folder.">removeMsg</a>(<span class="keyword">const</span> QPtrList<KMMessage>& msgList, <span class="keywordtype">bool</span> imapQuiet = <span class="keyword">false</span>); <a name="l00219"></a>00219 <a name="l00222"></a>00222 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#22fc7c929530af6f52ea6bc57ca093b7" title="Delete messages in the folder that are older than days.">expungeOldMsg</a>(<span class="keywordtype">int</span> days); <a name="l00223"></a>00223 <a name="l00228"></a>00228 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#bbe5a89ecf371d99b23546a1f5fd6632" title="Detaches the given message from it&#39;s current folder and adds it to this folder...">moveMsg</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* msg, <span class="keywordtype">int</span>* index_return = 0); <a name="l00229"></a>00229 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#bbe5a89ecf371d99b23546a1f5fd6632" title="Detaches the given message from it&#39;s current folder and adds it to this folder...">moveMsg</a>(QPtrList<KMMessage>, <span class="keywordtype">int</span>* index_return = 0); <a name="l00230"></a>00230 <a name="l00232"></a>00232 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#30899418b9d0e8659311a6a5c2b40a60" title="Returns the index of the given message or -1 if not found.">find</a>(<span class="keyword">const</span> KMMsgBase* msg) <span class="keyword">const</span> = 0; <a name="l00233"></a>00233 <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#30899418b9d0e8659311a6a5c2b40a60" title="Returns the index of the given message or -1 if not found.">find</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="l00234"></a>00234 <a name="l00236"></a>00236 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#69529ce2d21f9dcf28e06ef4fb7f2a6f" title="Number of messages in this folder.">count</a>(<span class="keywordtype">bool</span> cache = <span class="keyword">false</span>) <span class="keyword">const</span>; <a name="l00237"></a>00237 <a name="l00239"></a>00239 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#065e5704c17765ea2a272836da85db3b" title="Number of new or unread messages in this folder.">countUnread</a>(); <a name="l00240"></a>00240 <a name="l00242"></a>00242 Q_INT64 <a class="code" href="classFolderStorage.html#3f7eebfeb5e48695df1883a547d23905" title="Total size of the contents of this folder.">folderSize</a>() <span class="keyword">const</span>; <a name="l00243"></a>00243 <a name="l00246"></a>00246 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#95127c6229757e944e602cf09b9eb6a8" title="Return whether the folder is close to its quota limit, which can be reflected in...">isCloseToQuota</a>() <span class="keyword">const</span>; <a name="l00247"></a>00247 <a name="l00250"></a>00250 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#2a229a926443545d131f522a893976c5" title="Called by KMMsgBase::setStatus when status of a message has changed required to keep...">msgStatusChanged</a>( <span class="keyword">const</span> KMMsgStatus oldStatus, <a name="l00251"></a>00251 <span class="keyword">const</span> KMMsgStatus newStatus, <a name="l00252"></a>00252 <span class="keywordtype">int</span> idx); <a name="l00253"></a>00253 <a name="l00259"></a>00259 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#0ee31167b98ddd956152071f2464a4ed" title="Open folder for access.">open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* owner) = 0; <a name="l00260"></a>00260 <a name="l00263"></a>00263 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#c16e633bfddbe6c8e2fc7b6ab494e0ca" title="Check folder for permissions Returns zero if readable and writable.">canAccess</a>() = 0; <a name="l00264"></a>00264 <a name="l00268"></a>00268 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#b3d1cef1872ef2ffdad9a7aa2bd8cc7c" title="Close folder.">close</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* owner, <span class="keywordtype">bool</span> force=<span class="keyword">false</span>); <a name="l00269"></a>00269 <span class="keyword">virtual</span> <span class="keywordtype">void</span> reallyDoClose(<span class="keyword">const</span> <span class="keywordtype">char</span>* owner) = 0; <a name="l00270"></a>00270 <a name="l00273"></a><a class="code" href="classFolderStorage.html#9c6a349b6abed38aa28ee5fe8fd4941e">00273</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#9c6a349b6abed38aa28ee5fe8fd4941e" title="Try releasing folder if possible, something is attempting an exclusive access to...">tryReleasingFolder</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*) {} <a name="l00274"></a>00274 <a name="l00276"></a>00276 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#bcda5b486fb4478b8a28ad3811cff4dd" title="fsync buffers to disk">sync</a>() = 0; <a name="l00277"></a>00277 <a name="l00279"></a><a class="code" href="classFolderStorage.html#f374abc813132488f14338360bd6b63d">00279</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#f374abc813132488f14338360bd6b63d" title="Test if folder is opened, i.e.">isOpened</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (mOpenCount>0); } <a name="l00280"></a>00280 <a name="l00282"></a>00282 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#0c9d4dd2d747cf09c121e3d2be69760c" title="Mark all new messages as unread.">markNewAsUnread</a>(); <a name="l00283"></a>00283 <a name="l00285"></a>00285 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#65bc3a24fef320d9c516d1f546a0c85c" title="Mark all new and unread messages as read.">markUnreadAsRead</a>(); <a name="l00286"></a>00286 <a name="l00290"></a>00290 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#0a690c1940cca8a8363e218babeab7d5" title="Create a new folder with the name of this object and open it.">create</a>() = 0; <a name="l00291"></a>00291 <a name="l00296"></a>00296 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <span class="keyword">remove</span>(); <a name="l00297"></a>00297 <a name="l00301"></a>00301 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#7cd55d05be575343a1f41fca5c5260d2" title="Delete entire folder.">expunge</a>(); <a name="l00302"></a>00302 <a name="l00307"></a>00307 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#f892aa2583cc51902efa1d70e888a059" title="Remove deleted messages from the folder.">compact</a>( <span class="keywordtype">bool</span> silent ) = 0; <a name="l00308"></a>00308 <a name="l00311"></a>00311 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#6112919b68cbd62e1cdc18347d7c8967" title="Physically rename the folder.">rename</a>(<span class="keyword">const</span> QString& newName, <a class="code" href="classKMFolderDir.html" title="KMail list that manages the contents of one directory that may contain folders and/or...">KMFolderDir</a> *aParent = 0); <a name="l00312"></a>00312 <a name="l00314"></a><a class="code" href="classFolderStorage.html#969a327b40d193bdc7a6177c6d72ed70">00314</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#969a327b40d193bdc7a6177c6d72ed70" title="Returns TRUE if a table of contents file is automatically created.">autoCreateIndex</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#ee1ba572e534928d2eaa5ba709b4c6da" title="is the automatic creation of a index file allowed ?">mAutoCreateIndex</a>; } <a name="l00315"></a>00315 <a name="l00318"></a>00318 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#c275c8fd1852a2f8fd262b740df72cd1" title="Allow/disallow automatic creation of a table of contents file.">setAutoCreateIndex</a>(<span class="keywordtype">bool</span>); <a name="l00319"></a>00319 <a name="l00323"></a><a class="code" href="classFolderStorage.html#60a6eb7fb46447fed3188c922f286ae9">00323</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#60a6eb7fb46447fed3188c922f286ae9" title="Returns TRUE if the table of contents is dirty.">dirty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#b8ad404c8cf5bd1ba98cb32752ecc42b" title="if the index is dirty it will be recreated upon close()">mDirty</a>; } <a name="l00324"></a>00324 <a name="l00326"></a>00326 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#a858aa5f7ba0da3c5552460f20222b0f" title="Change the dirty flag.">setDirty</a>(<span class="keywordtype">bool</span> f); <a name="l00327"></a>00327 <a name="l00329"></a><a class="code" href="classFolderStorage.html#3544098360d92c19a05f52b8b64f6537">00329</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#3544098360d92c19a05f52b8b64f6537" title="Returns TRUE if the folder contains deleted messages.">needsCompacting</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#336a4922d305fbd6a2d7422d8b932e25" title="sven: true if on destruct folder needs to be compacted.">needsCompact</a>; } <a name="l00330"></a>00330 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNeedsCompacting(<span class="keywordtype">bool</span> f) { <a class="code" href="classFolderStorage.html#336a4922d305fbd6a2d7422d8b932e25" title="sven: true if on destruct folder needs to be compacted.">needsCompact</a> = f; } <a name="l00331"></a>00331 <a name="l00340"></a>00340 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#fbf99eb40657acb56d77d442b1b25c61" title="If set to quiet the folder will not emit msgAdded(idx) signal.">quiet</a>(<span class="keywordtype">bool</span> beQuiet); <a name="l00341"></a>00341 <a name="l00343"></a>00343 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#e3e2711e2212cdabb0fc5bb4a72cdaaf" title="Is the folder read-only?">isReadOnly</a>() <span class="keyword">const</span> = 0; <a name="l00344"></a>00344 <a name="l00346"></a>00346 QString <a class="code" href="classFolderStorage.html#ab46d25f9fd9f7ba3ddc112e642a04ce" title="Returns the label of the folder for visualization.">label</a>() <span class="keyword">const</span>; <a name="l00347"></a>00347 <a name="l00349"></a>00349 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#857e7be082ae8f510a9f9ee9c9aaa0a2" title="A cludge to help make sure the count of unread messges is kept in sync.">correctUnreadMsgsCount</a>(); <a name="l00350"></a>00350 <a name="l00353"></a>00353 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#eb0072e4951df8057f271416264b03cc" title="Write index to index-file.">writeIndex</a>( <span class="keywordtype">bool</span> createEmptyIndex = <span class="keyword">false</span> ) = 0; <a name="l00354"></a>00354 <a name="l00357"></a>00357 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#2b436d960a22f23b7f574cddab04d092" title="Triggers registration with the message dict, which will cause the dict to ask the...">registerWithMessageDict</a>(); <a name="l00358"></a>00358 <a name="l00361"></a>00361 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#fe010b178ccee3d7ed4768b081f6ebde" title="Triggers deregistration from the message dict, which will cause the dict to ask the...">deregisterFromMessageDict</a>(); <a name="l00362"></a>00362 <a name="l00364"></a>00364 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#747c716fefce2a19bda2802c4cacb972" title="Set the status of the message at index idx to status.">setStatus</a>(<span class="keywordtype">int</span> idx, KMMsgStatus status, <span class="keywordtype">bool</span> toggle=<span class="keyword">false</span>); <a name="l00365"></a>00365 <a name="l00367"></a>00367 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#747c716fefce2a19bda2802c4cacb972" title="Set the status of the message at index idx to status.">setStatus</a>(QValueList<int>& ids, KMMsgStatus status, <span class="keywordtype">bool</span> toggle=<span class="keyword">false</span>); <a name="l00368"></a>00368 <a name="l00369"></a>00369 <span class="keywordtype">void</span> removeJobs(); <a name="l00370"></a>00370 <a name="l00372"></a>00372 <span class="keyword">static</span> QString <a class="code" href="classFolderStorage.html#f2394e2926a29936f912c801a0bb0cf0" title="Escape a leading dot.">dotEscape</a>(<span class="keyword">const</span> QString&); <a name="l00373"></a>00373 <a name="l00375"></a>00375 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#540a7693b0e4842f8a2a25f1b6f55683" title="Read the config file.">readConfig</a>(); <a name="l00376"></a>00376 <a name="l00378"></a>00378 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#b9819495eefb7713348092932abce37a" title="Write the config file.">writeConfig</a>(); <a name="l00379"></a>00379 <a name="l00384"></a><a class="code" href="classFolderStorage.html#b98d09adab3e3b9066d04e54c71013ac">00384</a> <span class="keyword">virtual</span> <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* <a class="code" href="classFolderStorage.html#b98d09adab3e3b9066d04e54c71013ac" title="If this folder has a special trash folder set, return it.">trashFolder</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00385"></a>00385 <a name="l00390"></a>00390 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#4a14e1d3262e191ac24e19b1ecd6a526" title="Add job for this folder.">addJob</a>( FolderJob* ) <span class="keyword">const</span>; <a name="l00391"></a>00391 <a name="l00393"></a><a class="code" href="classFolderStorage.html#4b7b268a2ce4ab62fce89531897493e5">00393</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#4b7b268a2ce4ab62fce89531897493e5" title="false if index file is out of sync with mbox file">compactable</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#c97f4388b1483cbf3b1ea9f2da9f822c" title="false if index file is out of sync with mbox file">mCompactable</a>; } <a name="l00394"></a>00394 <a name="l00396"></a>00396 <span class="comment">// If quiet is true, the KMailIcalIface is not informed of the changed. That's usefull</span> <a name="l00397"></a>00397 <span class="comment">// for folder that are being copied around, should retain their type, but not cause</span> <a name="l00398"></a>00398 <span class="comment">// conflicts on copy because events are identical in two folders.</span> <a name="l00399"></a>00399 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#289e0f5decbaaa8134472284db60d9f3" title="Set the type of contents held in this folder (mail, calendar, etc.).">setContentsType</a>( KMail::FolderContentsType type, <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#fbf99eb40657acb56d77d442b1b25c61" title="If set to quiet the folder will not emit msgAdded(idx) signal.">quiet</a> = <span class="keyword">false</span> ); <a name="l00401"></a><a class="code" href="classFolderStorage.html#2e2d90259cf68d278f95b89b8f9e5088">00401</a> KMail::FolderContentsType <a class="code" href="classFolderStorage.html#2e2d90259cf68d278f95b89b8f9e5088">contentsType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#aeeabe19c700bde7284bac895a220360" title="Type of contents in this folder.">mContentsType</a>; } <a name="l00402"></a>00402 <a name="l00407"></a>00407 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#aeec4055eb21e569953caa54afbab7aa" title="Search for messages The end is signaled with searchDone().">search</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>* ); <a name="l00408"></a>00408 <a name="l00413"></a>00413 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#aeec4055eb21e569953caa54afbab7aa" title="Search for messages The end is signaled with searchDone().">search</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>*, Q_UINT32 serNum ); <a name="l00414"></a>00414 <a name="l00416"></a>00416 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#b0ae4b58ece469ebe50eb437308ea889" title="Returns true if this folder can be moved.">isMoveable</a>() <span class="keyword">const</span>; <a name="l00417"></a>00417 <a name="l00418"></a>00418 <span class="keyword">virtual</span> KMAccount* account() <span class="keyword">const</span>; <a name="l00419"></a>00419 <a name="l00420"></a>00420 signals: <a name="l00423"></a>00423 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#731cae9a9833029f08abda66838ad96e" title="Emitted when the status, name, or associated accounts of this folder changed.">changed</a>(); <a name="l00424"></a>00424 <a name="l00427"></a>00427 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#179886101aa1de32d8a8a661afd60375" title="Emitted when the contents of a folder have been cleared (new search in a search folder...">cleared</a>(); <a name="l00428"></a>00428 <a name="l00431"></a>00431 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#376377495d2310387b4d88495ca5a34e" title="Emitted after an expunge.">expunged</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* ); <a name="l00432"></a>00432 <a name="l00434"></a>00434 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#f23a386f087f4ca346aece9bfeacfc69" title="Emitted when the folder was closed and ticket owners have to reopen.">closed</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* ); <a name="l00435"></a>00435 <a name="l00437"></a>00437 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1415db59848536aad78b3db7bbb29274" title="Emitted when the serial numbers of this folder were invalidated.">invalidated</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a> * ); <a name="l00438"></a>00438 <a name="l00440"></a>00440 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#0b99a9ea1523b136ff0486e36702be4a" title="Emitted when the name of the folder changes.">nameChanged</a>(); <a name="l00441"></a>00441 <a name="l00445"></a>00445 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#a540e84485fabcd603d709ea82d11c79" title="Emitted when the location on disk of the folder changes.">locationChanged</a>( <span class="keyword">const</span> QString &, <span class="keyword">const</span> QString & ); <a name="l00446"></a>00446 <a name="l00449"></a>00449 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#dbd5bb6f234e1792c687c727ff715624" title="Emitted when the contents type (calendar, mail, tasks, .">contentsTypeChanged</a>( KMail::FolderContentsType type ); <a name="l00450"></a>00450 <a name="l00452"></a>00452 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#da73423c18756e309defd93f45bdc549" title="Emitted when the readonly status of the folder changes.">readOnlyChanged</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*); <a name="l00453"></a>00453 <a name="l00455"></a>00455 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1783717e211bb53292519e0535ac704e" title="Emitted before a message is removed from the folder.">msgRemoved</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, Q_UINT32 sernum); <a name="l00456"></a>00456 <a name="l00458"></a>00458 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1783717e211bb53292519e0535ac704e" title="Emitted before a message is removed from the folder.">msgRemoved</a>( <span class="keywordtype">int</span> idx, QString msgIdMD5 ); <a name="l00459"></a>00459 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1783717e211bb53292519e0535ac704e" title="Emitted before a message is removed from the folder.">msgRemoved</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* ); <a name="l00460"></a>00460 <a name="l00462"></a>00462 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#c117797fe2543aeea87a4c1d46a94e71" title="Emitted when a message is added from the folder.">msgAdded</a>(<span class="keywordtype">int</span> idx); <a name="l00463"></a>00463 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#c117797fe2543aeea87a4c1d46a94e71" title="Emitted when a message is added from the folder.">msgAdded</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, Q_UINT32 sernum); <a name="l00464"></a>00464 <a name="l00466"></a>00466 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#2e686f9ce799705c27fb6b05fba3da01" title="Emitted, when the status of a message is changed.">msgChanged</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, Q_UINT32 sernum, <span class="keywordtype">int</span> delta); <a name="l00467"></a>00467 <a name="l00469"></a>00469 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#1d114d3800fcde7a7926cf837dbb7efe" title="Emitted when a field of the header of a specific message changed.">msgHeaderChanged</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, <span class="keywordtype">int</span>); <a name="l00470"></a>00470 <a name="l00472"></a>00472 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#909f92b042ff368385241129fdf786f1" title="Emmited to display a message somewhere in a status line.">statusMsg</a>(<span class="keyword">const</span> QString&); <a name="l00473"></a>00473 <a name="l00475"></a>00475 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#6a3087edd847e3427fad57a90d22fe6e" title="Emitted when number of unread messages has changed.">numUnreadMsgsChanged</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* ); <a name="l00476"></a>00476 <a name="l00478"></a>00478 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#be9f7d6de836c7501526c95cab7ae150" title="Emitted when a folder was removed.">removed</a>(<a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, <span class="keywordtype">bool</span>); <a name="l00479"></a>00479 <a name="l00485"></a>00485 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#fa52c593903fded8bab8970d586b221d" title="Emitted when a search delivers results The matching serial numbers are included If...">searchResult</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, QValueList<Q_UINT32>, <a name="l00486"></a>00486 <span class="keyword">const</span> <a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a>*, <span class="keywordtype">bool</span> complete ); <a name="l00487"></a>00487 <a name="l00492"></a>00492 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#da00992af29a4a39df66622f6fd058e6" title="Emitted when a search for a single message is completed The serial number and a bool...">searchDone</a>( <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>*, Q_UINT32, <span class="keyword">const</span> <a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a>*, <span class="keywordtype">bool</span> ); <a name="l00493"></a>00493 <a name="l00495"></a>00495 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#0916d8530ce8b6bc8a36661e2f76cc03" title="Emitted when the folder&#39;s size changes.">folderSizeChanged</a>(); <a name="l00496"></a>00496 <a name="l00497"></a>00497 <a name="l00498"></a>00498 <span class="keyword">public</span> slots: <a name="l00500"></a>00500 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#21d1b3f89a18e73c44197cab9ffd579e" title="Incrementally update the index if possible else call writeIndex.">updateIndex</a>() = 0; <a name="l00501"></a>00501 <a name="l00504"></a>00504 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#31409549fd404421be1d167ac0fdefa2" title="Add the message to the folder after it has been retrieved from an IMAP server.">reallyAddMsg</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* aMsg); <a name="l00505"></a>00505 <a name="l00508"></a>00508 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#85822d2a6352b2d7bc426274225f5373" title="Add a copy of the message to the folder after it has been retrieved from an IMAP...">reallyAddCopyOfMsg</a>(<a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* aMsg); <a name="l00509"></a>00509 <a name="l00511"></a>00511 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#20aa71ad3a29195b3465ba2e99fce3c7" title="Emit changed signal if mQuite &lt;=0.">slotEmitChangedTimer</a>(); <a name="l00512"></a>00512 <a name="l00513"></a>00513 <span class="keyword">protected</span> slots: <a name="l00514"></a>00514 <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeJob( QObject* ); <a name="l00515"></a>00515 <a name="l00517"></a>00517 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#c11603128cb21c9d8cc458266058b4a6" title="Process the next search batch.">slotProcessNextSearchBatch</a>(); <a name="l00518"></a>00518 <a name="l00519"></a>00519 <span class="keyword">protected</span>: <a name="l00520"></a>00520 <a name="l00526"></a>00526 <span class="keyword">virtual</span> FolderJob* <a class="code" href="classFolderStorage.html#db5443a87c62001d89de5f8014e78219" title="These two methods actually create the jobs.">doCreateJob</a>( <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> *msg, FolderJob::JobType jt, <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a> *folder, <a name="l00527"></a>00527 QString partSpecifier, <span class="keyword">const</span> AttachmentStrategy *as ) <span class="keyword">const</span> = 0; <a name="l00528"></a>00528 <span class="keyword">virtual</span> FolderJob* <a class="code" href="classFolderStorage.html#db5443a87c62001d89de5f8014e78219" title="These two methods actually create the jobs.">doCreateJob</a>( QPtrList<KMMessage>& msgList, <span class="keyword">const</span> QString& sets, <a name="l00529"></a>00529 FolderJob::JobType jt, <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a> *folder ) <span class="keyword">const</span> = 0; <a name="l00530"></a>00530 <a name="l00534"></a>00534 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#a984ce4d546f4c9c37bedcfc75678344" title="Tell the folder that a header field that is usually used for the index (subject,...">headerOfMsgChanged</a>(<span class="keyword">const</span> KMMsgBase*, <span class="keywordtype">int</span> idx); <a name="l00535"></a>00535 <a name="l00538"></a>00538 <span class="keyword">virtual</span> <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a>* <a class="code" href="classFolderStorage.html#3b14f85d019e1e077750514de52139a9" title="Load message from file and store it at given index.">readMsg</a>(<span class="keywordtype">int</span> idx) = 0; <a name="l00539"></a>00539 <a name="l00540"></a>00540 <span class="comment">//--------- Message Dict manipulation</span> <a name="l00541"></a>00541 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKMMsgDict.html" title="KMail message dictionary.">KMMsgDict</a>; <a name="l00545"></a><a class="code" href="classFolderStorage.html#e0f3023f2e2df6816c884417c7d0347e">00545</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#e0f3023f2e2df6816c884417c7d0347e" title="Inserts messages into the message dictionary.">fillMessageDict</a>() {} <a name="l00546"></a>00546 <a name="l00550"></a>00550 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#97dc0aa45b26542e0df238893e55f5ca" title="Read the on-disk cache of serial numbers of messages in this store and fill those...">readFolderIdsFile</a>(); <a name="l00551"></a>00551 <a name="l00553"></a>00553 <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#107d0e0f8f41d30aed452591de043670" title="Writes the message serial number file.">writeFolderIdsFile</a>() <span class="keyword">const</span>; <a name="l00554"></a>00554 <a name="l00556"></a>00556 <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#480e9679249ec3bc2696283f0aec4f98" title="Touches the message serial number file.">touchFolderIdsFile</a>(); <a name="l00557"></a>00557 <a name="l00559"></a>00559 <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#2b1f5a80b03a61991f853ca8e76c2165" title="Append message to end of message serial number file.">appendToFolderIdsFile</a>( <span class="keywordtype">int</span> idx = -1 ); <a name="l00560"></a>00560 <a name="l00564"></a>00564 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#92d7984521697bd154f8c9d646b647af" title="Sets the reverse-dictionary for this folder.">setRDict</a>(KMMsgDictREntry *rentry) <span class="keyword">const</span>; <a name="l00565"></a>00565 <a name="l00567"></a><a class="code" href="classFolderStorage.html#6ca06c3495331ef94b2f70511502309d">00567</a> KMMsgDictREntry *<a class="code" href="classFolderStorage.html#6ca06c3495331ef94b2f70511502309d" title="Returns the reverse-dictionary for this folder.">rDict</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFolderStorage.html#d609f96ec3016a962486d3293944121e" title="Points at the reverse dictionary for this folder.">mRDict</a>; } <a name="l00568"></a>00568 <a name="l00569"></a>00569 <a name="l00572"></a>00572 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#6acb3334f7c0e4c8b920df294710ef86" title="Replaces the serial number for the message msg at index idx with sernum.">replaceMsgSerNum</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> sernum, KMMsgBase* msg, <span class="keywordtype">int</span> idx ); <a name="l00573"></a>00573 <a name="l00577"></a>00577 <span class="keywordtype">void</span> <a class="code" href="classFolderStorage.html#76b9ce47acdc9a1f419a57096ff5564c" title="Called when serial numbers for a folder are invalidated, invalidates/recreates data...">invalidateFolder</a>(); <a name="l00578"></a>00578 <a name="l00582"></a>00582 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#b5203e11f28a8618965662ddc7331a2d" title="Called by KMFolder::remove() to delete the actual contents.">removeContents</a>() = 0; <a name="l00583"></a>00583 <a name="l00587"></a>00587 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#893e7869966ea01a212f25739b333a04" title="Called by KMFolder::expunge() to delete the actual contents.">expungeContents</a>() = 0; <a name="l00588"></a>00588 <a name="l00590"></a>00590 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#27b761aebe9b4819191546c63a14f0cb" title="Read index file and fill the message-info list mMsgList.">readIndex</a>() = 0; <a name="l00591"></a>00591 <span class="keyword">virtual</span> KMMsgBase* takeIndexEntry( <span class="keywordtype">int</span> idx ) = 0; <a name="l00592"></a>00592 <span class="keyword">virtual</span> KMMsgInfo* setIndexEntry( <span class="keywordtype">int</span> idx, <a class="code" href="classKMMessage.html" title="This is a Mime Message.">KMMessage</a> *msg ) = 0; <a name="l00593"></a>00593 <span class="keyword">virtual</span> <span class="keywordtype">void</span> clearIndex(<span class="keywordtype">bool</span> autoDelete=<span class="keyword">true</span>, <span class="keywordtype">bool</span> syncDict = <span class="keyword">false</span>) = 0; <a name="l00594"></a>00594 <span class="keyword">virtual</span> <span class="keywordtype">void</span> truncateIndex() = 0; <a name="l00595"></a>00595 <a name="l00596"></a>00596 <span class="keyword">virtual</span> Q_INT64 doFolderSize()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; }; <a name="l00597"></a>00597 <a name="l00598"></a>00598 <span class="keywordtype">int</span> mOpenCount; <a name="l00599"></a>00599 <span class="keywordtype">int</span> mQuiet; <a name="l00600"></a>00600 <span class="keywordtype">bool</span> mChanged :1; <a name="l00602"></a><a class="code" href="classFolderStorage.html#ee1ba572e534928d2eaa5ba709b4c6da">00602</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#ee1ba572e534928d2eaa5ba709b4c6da" title="is the automatic creation of a index file allowed ?">mAutoCreateIndex</a> :1; <a name="l00605"></a><a class="code" href="classFolderStorage.html#82473c8754b0d5012106989f26337f2f">00605</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#82473c8754b0d5012106989f26337f2f" title="Has this storage exported its serial numbers to the global message dict for lookup...">mExportsSernums</a> :1; <a name="l00607"></a><a class="code" href="classFolderStorage.html#b8ad404c8cf5bd1ba98cb32752ecc42b">00607</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#b8ad404c8cf5bd1ba98cb32752ecc42b" title="if the index is dirty it will be recreated upon close()">mDirty</a> :1; <a name="l00609"></a><a class="code" href="classFolderStorage.html#5ef848cbc03fef59d54664e4e71a6f31">00609</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#5ef848cbc03fef59d54664e4e71a6f31" title="TRUE if the files of the folder are locked (writable).">mFilesLocked</a> :1; <a name="l00610"></a>00610 <a name="l00612"></a><a class="code" href="classFolderStorage.html#e6e47f7f83cedef350cda526c4abb564">00612</a> <span class="keywordtype">int</span> <a class="code" href="classFolderStorage.html#e6e47f7f83cedef350cda526c4abb564" title="number of unread messages, -1 if not yet set">mUnreadMsgs</a>, mGuessedUnreadMsgs; <a name="l00613"></a>00613 <span class="keywordtype">int</span> mTotalMsgs; <a name="l00614"></a>00614 Q_INT64 mSize; <a name="l00615"></a>00615 <span class="keywordtype">bool</span> mWriteConfigEnabled :1; <a name="l00617"></a><a class="code" href="classFolderStorage.html#336a4922d305fbd6a2d7422d8b932e25">00617</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#336a4922d305fbd6a2d7422d8b932e25" title="sven: true if on destruct folder needs to be compacted.">needsCompact</a> :1; <a name="l00619"></a><a class="code" href="classFolderStorage.html#c97f4388b1483cbf3b1ea9f2da9f822c">00619</a> <span class="keywordtype">bool</span> <a class="code" href="classFolderStorage.html#c97f4388b1483cbf3b1ea9f2da9f822c" title="false if index file is out of sync with mbox file">mCompactable</a> :1; <a name="l00620"></a>00620 <span class="keywordtype">bool</span> mNoContent :1; <a name="l00621"></a>00621 <span class="keywordtype">bool</span> mNoChildren :1; <a name="l00622"></a>00622 <span class="keywordtype">bool</span> mConvertToUtf8 :1; <a name="l00623"></a>00623 <a name="l00625"></a><a class="code" href="classFolderStorage.html#d609f96ec3016a962486d3293944121e">00625</a> <span class="keyword">mutable</span> KMMsgDictREntry *<a class="code" href="classFolderStorage.html#d609f96ec3016a962486d3293944121e" title="Points at the reverse dictionary for this folder.">mRDict</a>; <a name="l00627"></a><a class="code" href="classFolderStorage.html#c63427df89ce63ea3d4e50bec7b9987f">00627</a> <span class="keyword">mutable</span> QPtrList<FolderJob> <a class="code" href="classFolderStorage.html#c63427df89ce63ea3d4e50bec7b9987f" title="List of jobs created by this folder.">mJobList</a>; <a name="l00628"></a>00628 <a name="l00629"></a>00629 QTimer *mDirtyTimer; <a name="l00630"></a>00630 <span class="keyword">enum</span> { mDirtyTimerInterval = 600000 }; <span class="comment">// 10 minutes</span> <a name="l00631"></a>00631 <a name="l00632"></a>00632 ChildrenState mHasChildren; <a name="l00633"></a>00633 <a name="l00635"></a><a class="code" href="classFolderStorage.html#aeeabe19c700bde7284bac895a220360">00635</a> KMail::FolderContentsType <a class="code" href="classFolderStorage.html#aeeabe19c700bde7284bac895a220360" title="Type of contents in this folder.">mContentsType</a>; <a name="l00636"></a>00636 <a name="l00637"></a>00637 <a class="code" href="classKMFolder.html" title="Mail folder.">KMFolder</a>* mFolder; <a name="l00638"></a>00638 <a name="l00639"></a>00639 QTimer * mEmitChangedTimer; <a name="l00640"></a>00640 <a name="l00641"></a>00641 <span class="keywordtype">int</span> mCurrentSearchedMsg; <a name="l00642"></a>00642 <span class="keyword">const</span> <a class="code" href="classKMSearchPattern.html" title="This class is an abstraction of a search over messages.">KMSearchPattern</a>* mSearchPattern; <a name="l00643"></a>00643 }; <a name="l00644"></a>00644 <a name="l00645"></a>00645 <span class="preprocessor">#endif // FOLDERSTORAGE_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>