blob: b6b0efd123e3eee2eea395f8c484f26ceefbbdd9 (
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
<!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: FilterElem Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>FilterElem Class Reference</h1><!-- doxytag: class="FilterElem" --><a href="classFilterElem-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#211ab8f8eebe5e5e3d87d5ca0b71706c">secondCondition</a> { <b>noSecondCondition</b>,
<b>condAnd</b>,
<b>condOr</b>
}</td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="698d996b7fd2b6df65b49be93f43d1e6"></a><!-- doxytag: member="FilterElem::FilterElem" ref="698d996b7fd2b6df65b49be93f43d1e6" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#698d996b7fd2b6df65b49be93f43d1e6">FilterElem</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de53fe769758b2eba5c053de670ef14f"></a><!-- doxytag: member="FilterElem::FilterElem" ref="de53fe769758b2eba5c053de670ef14f" args="(const FilterRecord &)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#de53fe769758b2eba5c053de670ef14f">FilterElem</a> (const <a class="el" href="classFilterRecord.html">FilterRecord</a> &)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95c8db56c3e637ae4b68fa9aa27bdbb3"></a><!-- doxytag: member="FilterElem::FilterElem" ref="95c8db56c3e637ae4b68fa9aa27bdbb3" args="(const FilterElem &)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#95c8db56c3e637ae4b68fa9aa27bdbb3">FilterElem</a> (const <a class="el" href="classFilterElem.html">FilterElem</a> &)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8ee6b5b370ed5c092e43f7090c0d75f"></a><!-- doxytag: member="FilterElem::setSecondCondition" ref="e8ee6b5b370ed5c092e43f7090c0d75f" args="(secondCondition scnd, const FilterRecord &)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#e8ee6b5b370ed5c092e43f7090c0d75f">setSecondCondition</a> (<a class="el" href="classFilterElem.html#211ab8f8eebe5e5e3d87d5ca0b71706c">secondCondition</a> scnd, const <a class="el" href="classFilterRecord.html">FilterRecord</a> &)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0bb85bbedfcb29b44f6146d7ebf34ec"></a><!-- doxytag: member="FilterElem::~FilterElem" ref="c0bb85bbedfcb29b44f6146d7ebf34ec" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#c0bb85bbedfcb29b44f6146d7ebf34ec">~FilterElem</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="252af203fd2bf1784359034c73a7f6c8"></a><!-- doxytag: member="FilterElem::toString" ref="252af203fd2bf1784359034c73a7f6c8" args="() const" -->
TQString </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#252af203fd2bf1784359034c73a7f6c8">toString</a> () const</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23b386b3041ad1acc7069eac6b59203f"></a><!-- doxytag: member="FilterElem::matches" ref="23b386b3041ad1acc7069eac6b59203f" args="(ShowRecordElem *)" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#23b386b3041ad1acc7069eac6b59203f">matches</a> (<a class="el" href="classShowRecordElem.html">ShowRecordElem</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#911373fc7c641be784ff8d258afb369d">getCounter</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#032bde919691a3b2813f0d70b661f98a">setCounter</a> (unsigned int number)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#d33b35168ea3075ecee564c17e39b749">incCounter</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0dc9e7d0ab4a85f5426f091eb459565"></a><!-- doxytag: member="FilterElem::_filter1" ref="a0dc9e7d0ab4a85f5426f091eb459565" args="" -->
<a class="el" href="classFilterRecord.html">FilterRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#a0dc9e7d0ab4a85f5426f091eb459565">_filter1</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e872e95b54e1af0c6773c92cec688020"></a><!-- doxytag: member="FilterElem::_filter2" ref="e872e95b54e1af0c6773c92cec688020" args="" -->
<a class="el" href="classFilterRecord.html">FilterRecord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#e872e95b54e1af0c6773c92cec688020">_filter2</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91c7d695c13e14fd53b74f01ed082679"></a><!-- doxytag: member="FilterElem::_secondCondition" ref="91c7d695c13e14fd53b74f01ed082679" args="" -->
<a class="el" href="classFilterElem.html#211ab8f8eebe5e5e3d87d5ca0b71706c">secondCondition</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#91c7d695c13e14fd53b74f01ed082679">_secondCondition</a></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classFilterElem.html#2e417fd43d30ac8ce2d417f818b37a42">_counter</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="filterelem_8h-source.html#l00048">48</a> of file <a class="el" href="filterelem_8h-source.html">filterelem.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="911373fc7c641be784ff8d258afb369d"></a><!-- doxytag: member="FilterElem::getCounter" ref="911373fc7c641be784ff8d258afb369d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int FilterElem::getCounter </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the number of mail deletions which was caused by this filter. <dl class="return" compact><dt><b>Returns:</b></dt><dd>number of deleted mails </dd></dl>
<p>
Definition at line <a class="el" href="filterelem_8cpp-source.html#l00289">289</a> of file <a class="el" href="filterelem_8cpp-source.html">filterelem.cpp</a>.
<p>
References <a class="el" href="filterelem_8h-source.html#l00090">_counter</a>.
<p>
Referenced by <a class="el" href="filterlist_8cpp-source.html#l00061">FilterList::compareItems()</a>, and <a class="el" href="filterentrydialog_8cpp-source.html#l00036">FilterEntryDialog::FilterEntryDialog()</a>.
</div>
</div><p>
<a class="anchor" name="032bde919691a3b2813f0d70b661f98a"></a><!-- doxytag: member="FilterElem::setCounter" ref="032bde919691a3b2813f0d70b661f98a" args="(unsigned int number)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void FilterElem::setCounter </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"> <em>number</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the deleted mail counter. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>number</em> </td><td>number of mail deletions caused by this filter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="filterelem_8cpp-source.html#l00299">299</a> of file <a class="el" href="filterelem_8cpp-source.html">filterelem.cpp</a>.
<p>
References <a class="el" href="filterelem_8h-source.html#l00090">_counter</a>.
<p>
Referenced by <a class="el" href="filterlist_8cpp-source.html#l00082">FilterList::readOptions()</a>, and <a class="el" href="filterentrydialog_8cpp-source.html#l00198">FilterEntryDialog::slotCounterChanged()</a>.
</div>
</div><p>
<a class="anchor" name="d33b35168ea3075ecee564c17e39b749"></a><!-- doxytag: member="FilterElem::incCounter" ref="d33b35168ea3075ecee564c17e39b749" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void FilterElem::incCounter </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Increments the deleted mail counter.
<p>
Definition at line <a class="el" href="filterelem_8cpp-source.html#l00294">294</a> of file <a class="el" href="filterelem_8cpp-source.html">filterelem.cpp</a>.
<p>
References <a class="el" href="filterelem_8h-source.html#l00090">_counter</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="2e417fd43d30ac8ce2d417f818b37a42"></a><!-- doxytag: member="FilterElem::_counter" ref="2e417fd43d30ac8ce2d417f818b37a42" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="classFilterElem.html#2e417fd43d30ac8ce2d417f818b37a42">FilterElem::_counter</a><code> [private]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of mails its deletion was caused by this filter.
<p>
Definition at line <a class="el" href="filterelem_8h-source.html#l00090">90</a> of file <a class="el" href="filterelem_8h-source.html">filterelem.h</a>.
<p>
Referenced by <a class="el" href="filterelem_8cpp-source.html#l00289">getCounter()</a>, <a class="el" href="filterelem_8cpp-source.html#l00294">incCounter()</a>, <a class="el" href="filterelem_8cpp-source.html#l00299">setCounter()</a>, and <a class="el" href="filterelem_8cpp-source.html#l00112">toString()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>kshowmail/<a class="el" href="filterelem_8h-source.html">filterelem.h</a><li>kshowmail/<a class="el" href="filterelem_8cpp-source.html">filterelem.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 5 19:36:09 2007 for kshowmail by
<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>
|