summaryrefslogtreecommitdiffstats
path: root/doc/html/showrecord_8h-source.html
blob: 5160c3313ee6bf95e5e7833d93532acc496532a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>kshowmail.tdevelop: Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/showrecord.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_4c3e996e4ea01e6106d6ef3aca55c519.html">Daten</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_eb9956c7aa0624228561e224b45aacad.html">Documents</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_cf56118a1054db7be5b5087f628656ea.html">programmieren</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_c781d53ee57665ea2fc7bb307e109f21.html">kshowmail</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_741aef7887f9b78088ef0c30f6686ad1.html">kshowmail</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_656923b733374505e0e2f68ecb68d952.html">kshowmail</a></div>
<h1>showrecord.h</h1><a href="showrecord_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">                          showrecord.h  -  description</span>
<a name="l00003"></a>00003 <span class="comment">                             -------------------</span>
<a name="l00004"></a>00004 <span class="comment">    begin                : Mon Dec 3 2001</span>
<a name="l00005"></a>00005 <span class="comment">    copyright            : (C) 2001 by Eggert Ehmke</span>
<a name="l00006"></a>00006 <span class="comment">    email                : eggert.ehmke@berlin.de</span>
<a name="l00007"></a>00007 <span class="comment"> ***************************************************************************/</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="comment">/***************************************************************************</span>
<a name="l00010"></a>00010 <span class="comment"> *                                                                         *</span>
<a name="l00011"></a>00011 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
<a name="l00012"></a>00012 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
<a name="l00013"></a>00013 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
<a name="l00014"></a>00014 <span class="comment"> *   (at your option) any later version.                                   *</span>
<a name="l00015"></a>00015 <span class="comment"> *                                                                         *</span>
<a name="l00016"></a>00016 <span class="comment"> ***************************************************************************/</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef SHOWRECORD_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define SHOWRECORD_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="comment">//C++ header</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="comment">//TQt headers</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;ntqdom.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;ntqptrlist.h&gt;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="comment">//KDE headers</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;kstandarddirs.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;kdebug.h&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="comment">//KShowmail headers</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="kshowmailview_8h.html">kshowmailview.h</a>"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="showrecordelem_8h.html">showrecordelem.h</a>"</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="types_8h.html">types.h</a>"</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="headerfilter_8h.html">headerfilter.h</a>"</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="filterlog_8h.html">filterlog.h</a>"</span>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">using namespace </span>Types;
<a name="l00040"></a>00040 <span class="keyword">using namespace </span>std;
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="comment">//forward class declarations</span>
<a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classShowRecordElem.html">ShowRecordElem</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="classKshowmailView.html">KshowmailView</a>;
<a name="l00045"></a>00045 
<a name="l00056"></a><a class="code" href="classShowRecord.html">00056</a> <span class="keyword">class </span><a class="code" href="classShowRecord.html">ShowRecord</a>: <span class="keyword">public</span> TQPtrList&lt;ShowRecordElem&gt;
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058 
<a name="l00059"></a>00059   <span class="keyword">public</span>:
<a name="l00060"></a>00060 
<a name="l00065"></a><a class="code" href="classShowRecord.html#24f3968b9bd526deb987f3e21f264404">00065</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#24f3968b9bd526deb987f3e21f264404">continueShowHeaders</a>;
<a name="l00066"></a>00066 
<a name="l00071"></a><a class="code" href="classShowRecord.html#8f9c8ce1f77c014cd4efcbf65c9b11f5">00071</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#8f9c8ce1f77c014cd4efcbf65c9b11f5">cancelShowHeaders</a>;
<a name="l00072"></a>00072 
<a name="l00076"></a>00076     <a class="code" href="classShowRecord.html#c3088d9306ad23138dcc1212b975f596">ShowRecord</a>();
<a name="l00077"></a>00077 
<a name="l00082"></a>00082     <a class="code" href="classShowRecord.html#bda8f21edf9dbfa07741e37e6f06beeb">~ShowRecord</a>();
<a name="l00083"></a>00083 
<a name="l00090"></a>00090     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#2b0757f2678223ca4e51257766dd64a3">saveOptions</a>( TQDomDocument&amp; doc, TQDomElement&amp; parent );
<a name="l00091"></a>00091 
<a name="l00098"></a>00098     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#87bd29245b100a9d291856fd0784662f">readStoredMails</a>( TQDomElement&amp; parent );
<a name="l00099"></a>00099 
<a name="l00108"></a>00108     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#a2c3ad37ee0eb7eb41d7820e05352502">applyHeaderFilter</a>( <a class="code" href="classHeaderFilter.html">HeaderFilter</a>* filter, TQString account, <a class="code" href="namespaceTypes.html#48fad16d3707caeaf47bb1e8fab4be55">MailNumberList_Type</a>&amp; deleteList, <a class="code" href="namespaceTypes.html#28b7da8de2bbe1b7a098d41242e78ab7">MailToDownloadMap_Type</a>&amp; downloadList, <a class="code" href="classFilterLog.html">FilterLog</a>* log = NULL );
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 
<a name="l00117"></a>00117     <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#e0aeb91afa1bd2ea566ff4dd4dd299d5">hasSelectedMails</a>();
<a name="l00118"></a>00118 
<a name="l00123"></a>00123     <a class="code" href="namespaceTypes.html#48fad16d3707caeaf47bb1e8fab4be55">Types::MailNumberList_Type</a> <a class="code" href="classShowRecord.html#417a26f1eea8a1311362633e43ac8bab">getSelectedMails</a>();
<a name="l00124"></a>00124 
<a name="l00129"></a>00129     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#d9075f4c8de5af4b0b5870d1ff71f4ea">removeMail</a>( <span class="keywordtype">int</span> number );
<a name="l00130"></a>00130 
<a name="l00135"></a>00135     TQStringList <a class="code" href="classShowRecord.html#c78c6981b92a2546d4ee75320aba380d">getSelectedSubjects</a>() <span class="keyword">const</span>;
<a name="l00136"></a>00136 
<a name="l00142"></a>00142     TQString <a class="code" href="classShowRecord.html#51a8d0c91d32e6fdc20cb8f5f2350cac">getSenderOf</a>( <span class="keywordtype">int</span> number ) <span class="keyword">const</span>;
<a name="l00143"></a>00143 
<a name="l00149"></a>00149     TQString <a class="code" href="classShowRecord.html#93c44ad805a67e955b3cfa2518291613">getDateOf</a>( <span class="keywordtype">int</span> number ) <span class="keyword">const</span>;
<a name="l00150"></a>00150 
<a name="l00156"></a>00156     TQString <a class="code" href="classShowRecord.html#b1a6f1fee65db84e5496619c14035539">getSizeOf</a>( <span class="keywordtype">int</span> number ) <span class="keyword">const</span>;
<a name="l00157"></a>00157 
<a name="l00163"></a>00163     TQString <a class="code" href="classShowRecord.html#38d282950be6217d1488efc720a5f415">getSubjectOf</a>( <span class="keywordtype">int</span> number ) <span class="keyword">const</span>;
<a name="l00164"></a>00164 
<a name="l00177"></a>00177     TQString <a class="code" href="classShowRecord.html#dde4ccc3e28c0d7e233ace3810a28814">decodeMailBody</a>( TQByteArray body, <span class="keywordtype">int</span> number, <span class="keywordtype">bool</span> preferHTML ) <span class="keyword">const</span>;
<a name="l00178"></a>00178 
<a name="l00185"></a>00185     <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#1fca27c3d569bbd1b1d673f2ac847791">hasMail</a>( TQString uid );
<a name="l00186"></a>00186 
<a name="l00193"></a>00193     <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">isNew</a>( TQString uid ) <span class="keyword">const</span>;
<a name="l00194"></a>00194 
<a name="l00201"></a>00201     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#97b16a09a5a51b68f7d2b3efb95c80ea">appendNewMail</a>( <span class="keywordtype">int</span> number, TQString uid, <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">isNew</a> );
<a name="l00202"></a>00202 
<a name="l00207"></a>00207     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#1705c73921184eda80bd63f979ef34bc">printMailList</a>();
<a name="l00208"></a>00208 
<a name="l00214"></a>00214     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#f3ae42223f76c35b2273119916a82a24">setSize</a>( <span class="keywordtype">int</span> number, <span class="keywordtype">long</span> size );
<a name="l00215"></a>00215 
<a name="l00220"></a>00220     <a class="code" href="namespaceTypes.html#48fad16d3707caeaf47bb1e8fab4be55">Types::MailNumberList_Type</a> <a class="code" href="classShowRecord.html#89fd7edc8c324e8b0ebe6b32f2d30b9d">getNewMails</a>();
<a name="l00221"></a>00221 
<a name="l00227"></a>00227     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">setHeader</a>( <span class="keywordtype">int</span> number, TQString header );
<a name="l00228"></a>00228 
<a name="l00233"></a>00233     TQStringList <a class="code" href="classShowRecord.html#ae03febb272198c00851b4e46be68b83">getUIDsOfOldMails</a>();
<a name="l00234"></a>00234 
<a name="l00240"></a>00240     TQString <a class="code" href="classShowRecord.html#15ef001ed312f642b8cd8cf2619ecfb4">getHeaderOf</a>( TQString uid );
<a name="l00241"></a>00241 
<a name="l00247"></a>00247     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">setHeader</a>( TQString uid, TQString header );
<a name="l00248"></a>00248 
<a name="l00253"></a>00253     <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#fb2d493f52927c18ccc35352d2d2b115">getNumberNewMails</a>();
<a name="l00254"></a>00254 
<a name="l00259"></a>00259     <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#5fc0413079f9cfc5b32c36812f643c0a">getNumberMails</a>();
<a name="l00260"></a>00260 
<a name="l00265"></a>00265     <span class="keywordtype">long</span> <a class="code" href="classShowRecord.html#c6c9d9e7e23f57006d2d573442a144b5">getTotalSize</a>();
<a name="l00266"></a>00266 
<a name="l00273"></a>00273     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#7124760f6dffce82cf267276f4c0d015">fillMailListView</a>( <a class="code" href="classKshowmailView.html">KshowmailView</a>* view, TQString&amp; account );
<a name="l00274"></a>00274 
<a name="l00281"></a>00281     <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#89005d433c577ed0e412c6314400cc31">showSelectedHeaders</a>( TQString&amp; account );
<a name="l00282"></a>00282 
<a name="l00290"></a>00290     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#7a658ec498ade20524e565698a47d04f">writeToMoveLog</a>( <a class="code" href="classFilterLog.html">FilterLog</a>* log, <span class="keywordtype">int</span> number, TQString account, TQString mailbox );
<a name="l00291"></a>00291 
<a name="l00298"></a>00298     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#5edc420144eaa626babd3ff0fc78e1f4">writeToDeleteLog</a>( <a class="code" href="classFilterLog.html">FilterLog</a>* log, <span class="keywordtype">int</span> number, TQString account );
<a name="l00299"></a>00299 
<a name="l00304"></a>00304     <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#b19cb729ff18ab77d85a1e7c4fb61cb9">setMarkAtNextViewRefresh</a>( <span class="keywordtype">int</span> number );
<a name="l00305"></a>00305 
<a name="l00306"></a>00306 
<a name="l00307"></a>00307 };
<a name="l00308"></a>00308 
<a name="l00309"></a>00309 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 1 21:59:49 2008 for kshowmail.tdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>