|
1 /**************************************************************************** |
|
2 ** |
|
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 ** All rights reserved. |
|
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 ** |
|
7 ** This file is part of the Qt Mobility Components. |
|
8 ** |
|
9 ** $QT_BEGIN_LICENSE:LGPL$ |
|
10 ** No Commercial Usage |
|
11 ** This file contains pre-release code and may not be distributed. |
|
12 ** You may use this file in accordance with the terms and conditions |
|
13 ** contained in the Technology Preview License Agreement accompanying |
|
14 ** this package. |
|
15 ** |
|
16 ** GNU Lesser General Public License Usage |
|
17 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
18 ** General Public License version 2.1 as published by the Free Software |
|
19 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
20 ** packaging of this file. Please review the following information to |
|
21 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
23 ** |
|
24 ** In addition, as a special exception, Nokia gives you certain additional |
|
25 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
27 ** |
|
28 ** If you have questions regarding the use of this file, please contact |
|
29 ** Nokia at qt-info@nokia.com. |
|
30 ** |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** $QT_END_LICENSE$ |
|
39 ** |
|
40 ****************************************************************************/ |
|
41 #include "qmessagefilter.h" |
|
42 #include "qmessagefilter_p.h" |
|
43 |
|
44 QTM_BEGIN_NAMESPACE |
|
45 |
|
46 QMessageFilter::QMessageFilter() |
|
47 { |
|
48 } |
|
49 |
|
50 QMessageFilter::QMessageFilter(const QMessageFilter &other) |
|
51 { |
|
52 Q_UNUSED(other) |
|
53 } |
|
54 |
|
55 QMessageFilter::~QMessageFilter() |
|
56 { |
|
57 } |
|
58 |
|
59 QMessageFilter& QMessageFilter::operator=(const QMessageFilter& other) |
|
60 { |
|
61 Q_UNUSED(other) |
|
62 return *this; // stub |
|
63 } |
|
64 |
|
65 void QMessageFilter::setMatchFlags(QMessageDataComparator::MatchFlags matchFlags) |
|
66 { |
|
67 Q_UNUSED(matchFlags) |
|
68 } |
|
69 |
|
70 QMessageDataComparator::MatchFlags QMessageFilter::matchFlags() const |
|
71 { |
|
72 return 0; |
|
73 } |
|
74 |
|
75 bool QMessageFilter::isEmpty() const |
|
76 { |
|
77 return false; // stub |
|
78 } |
|
79 |
|
80 bool QMessageFilter::isSupported() const |
|
81 { |
|
82 return true; // TODO: Implement |
|
83 } |
|
84 |
|
85 QMessageFilter QMessageFilter::operator~() const |
|
86 { |
|
87 return QMessageFilter(); // stub |
|
88 } |
|
89 |
|
90 QMessageFilter QMessageFilter::operator&(const QMessageFilter& other) const |
|
91 { |
|
92 Q_UNUSED(other) |
|
93 return QMessageFilter(); // stub |
|
94 } |
|
95 |
|
96 QMessageFilter QMessageFilter::operator|(const QMessageFilter& other) const |
|
97 { |
|
98 Q_UNUSED(other) |
|
99 return QMessageFilter(); // stub |
|
100 } |
|
101 |
|
102 const QMessageFilter& QMessageFilter::operator&=(const QMessageFilter& other) |
|
103 { |
|
104 Q_UNUSED(other) |
|
105 return *this; |
|
106 } |
|
107 |
|
108 const QMessageFilter& QMessageFilter::operator|=(const QMessageFilter& other) |
|
109 { |
|
110 Q_UNUSED(other) |
|
111 return *this; |
|
112 } |
|
113 |
|
114 bool QMessageFilter::operator==(const QMessageFilter& other) const |
|
115 { |
|
116 Q_UNUSED(other) |
|
117 return false; // stub |
|
118 } |
|
119 |
|
120 QMessageFilter QMessageFilter::byId(const QMessageId &id, QMessageDataComparator::EqualityComparator cmp) |
|
121 { |
|
122 Q_UNUSED(id) |
|
123 Q_UNUSED(cmp) |
|
124 return QMessageFilter(); // stub |
|
125 } |
|
126 |
|
127 QMessageFilter QMessageFilter::byId(const QMessageIdList &ids, QMessageDataComparator::InclusionComparator cmp) |
|
128 { |
|
129 Q_UNUSED(ids) |
|
130 Q_UNUSED(cmp) |
|
131 return QMessageFilter(); // stub |
|
132 } |
|
133 |
|
134 QMessageFilter QMessageFilter::byId(const QMessageFilter &filter, QMessageDataComparator::InclusionComparator cmp) |
|
135 { |
|
136 Q_UNUSED(filter) |
|
137 Q_UNUSED(cmp) |
|
138 return QMessageFilter(); // stub |
|
139 } |
|
140 |
|
141 QMessageFilter QMessageFilter::byType(QMessage::Type type, QMessageDataComparator::EqualityComparator cmp) |
|
142 { |
|
143 Q_UNUSED(type) |
|
144 Q_UNUSED(cmp) |
|
145 return QMessageFilter(); // stub |
|
146 } |
|
147 |
|
148 QMessageFilter QMessageFilter::byType(QMessage::TypeFlags type, QMessageDataComparator::InclusionComparator cmp) |
|
149 { |
|
150 Q_UNUSED(type) |
|
151 Q_UNUSED(cmp) |
|
152 return QMessageFilter(); // stub |
|
153 } |
|
154 |
|
155 QMessageFilter QMessageFilter::bySender(const QString &value, QMessageDataComparator::EqualityComparator cmp) |
|
156 { |
|
157 Q_UNUSED(value) |
|
158 Q_UNUSED(cmp) |
|
159 return QMessageFilter(); // stub |
|
160 } |
|
161 |
|
162 QMessageFilter QMessageFilter::bySender(const QString &value, QMessageDataComparator::InclusionComparator cmp) |
|
163 { |
|
164 Q_UNUSED(value) |
|
165 Q_UNUSED(cmp) |
|
166 return QMessageFilter(); // stub |
|
167 } |
|
168 |
|
169 QMessageFilter QMessageFilter::byRecipients(const QString &value, QMessageDataComparator::InclusionComparator cmp) |
|
170 { |
|
171 Q_UNUSED(value) |
|
172 Q_UNUSED(cmp) |
|
173 return QMessageFilter(); // stub |
|
174 } |
|
175 |
|
176 QMessageFilter QMessageFilter::bySubject(const QString &value, QMessageDataComparator::EqualityComparator cmp) |
|
177 { |
|
178 Q_UNUSED(value) |
|
179 Q_UNUSED(cmp) |
|
180 return QMessageFilter(); // stub |
|
181 } |
|
182 |
|
183 QMessageFilter QMessageFilter::bySubject(const QString &value, QMessageDataComparator::InclusionComparator cmp) |
|
184 { |
|
185 Q_UNUSED(value) |
|
186 Q_UNUSED(cmp) |
|
187 return QMessageFilter(); // stub |
|
188 } |
|
189 |
|
190 QMessageFilter QMessageFilter::byTimeStamp(const QDateTime &value, QMessageDataComparator::EqualityComparator cmp) |
|
191 { |
|
192 Q_UNUSED(value) |
|
193 Q_UNUSED(cmp) |
|
194 return QMessageFilter(); // stub |
|
195 } |
|
196 |
|
197 QMessageFilter QMessageFilter::byTimeStamp(const QDateTime &value, QMessageDataComparator::RelationComparator cmp) |
|
198 { |
|
199 Q_UNUSED(value) |
|
200 Q_UNUSED(cmp) |
|
201 return QMessageFilter(); // stub |
|
202 } |
|
203 |
|
204 QMessageFilter QMessageFilter::byReceptionTimeStamp(const QDateTime &value, QMessageDataComparator::EqualityComparator cmp) |
|
205 { |
|
206 Q_UNUSED(value) |
|
207 Q_UNUSED(cmp) |
|
208 return QMessageFilter(); // stub |
|
209 } |
|
210 |
|
211 QMessageFilter QMessageFilter::byReceptionTimeStamp(const QDateTime &value, QMessageDataComparator::RelationComparator cmp) |
|
212 { |
|
213 Q_UNUSED(value) |
|
214 Q_UNUSED(cmp) |
|
215 return QMessageFilter(); // stub |
|
216 } |
|
217 |
|
218 QMessageFilter QMessageFilter::byStatus(QMessage::Status value, QMessageDataComparator::EqualityComparator cmp) |
|
219 { |
|
220 Q_UNUSED(value) |
|
221 Q_UNUSED(cmp) |
|
222 return QMessageFilter(); // stub |
|
223 } |
|
224 |
|
225 QMessageFilter QMessageFilter::byStatus(QMessage::StatusFlags mask, QMessageDataComparator::InclusionComparator cmp) |
|
226 { |
|
227 Q_UNUSED(mask) |
|
228 Q_UNUSED(cmp) |
|
229 return QMessageFilter(); // stub |
|
230 } |
|
231 |
|
232 QMessageFilter QMessageFilter::byPriority(QMessage::Priority value, QMessageDataComparator::EqualityComparator cmp) |
|
233 { |
|
234 Q_UNUSED(value) |
|
235 Q_UNUSED(cmp) |
|
236 return QMessageFilter(); // stub |
|
237 } |
|
238 |
|
239 QMessageFilter QMessageFilter::bySize(int value, QMessageDataComparator::EqualityComparator cmp) |
|
240 { |
|
241 Q_UNUSED(value) |
|
242 Q_UNUSED(cmp) |
|
243 return QMessageFilter(); // stub |
|
244 } |
|
245 |
|
246 QMessageFilter QMessageFilter::bySize(int value, QMessageDataComparator::RelationComparator cmp) |
|
247 { |
|
248 Q_UNUSED(value) |
|
249 Q_UNUSED(cmp) |
|
250 return QMessageFilter(); // stub |
|
251 } |
|
252 |
|
253 QMessageFilter QMessageFilter::byParentAccountId(const QMessageAccountId &id, QMessageDataComparator::EqualityComparator cmp) |
|
254 { |
|
255 Q_UNUSED(id) |
|
256 Q_UNUSED(cmp) |
|
257 return QMessageFilter(); // stub |
|
258 } |
|
259 |
|
260 QMessageFilter QMessageFilter::byParentAccountId(const QMessageAccountFilter &filter, QMessageDataComparator::InclusionComparator cmp) |
|
261 { |
|
262 Q_UNUSED(filter) |
|
263 Q_UNUSED(cmp) |
|
264 return QMessageFilter(); // stub |
|
265 } |
|
266 |
|
267 QMessageFilter QMessageFilter::byStandardFolder(QMessage::StandardFolder folder, QMessageDataComparator::EqualityComparator cmp) |
|
268 { |
|
269 Q_UNUSED(folder) |
|
270 Q_UNUSED(cmp) |
|
271 return QMessageFilter(); // stub |
|
272 } |
|
273 |
|
274 QMessageFilter QMessageFilter::byParentFolderId(const QMessageFolderId &id, QMessageDataComparator::EqualityComparator cmp) |
|
275 { |
|
276 Q_UNUSED(id) |
|
277 Q_UNUSED(cmp) |
|
278 return QMessageFilter(); // stub |
|
279 } |
|
280 |
|
281 QMessageFilter QMessageFilter::byParentFolderId(const QMessageFolderFilter &filter, QMessageDataComparator::InclusionComparator cmp) |
|
282 { |
|
283 Q_UNUSED(filter) |
|
284 Q_UNUSED(cmp) |
|
285 return QMessageFilter(); // stub |
|
286 } |
|
287 |
|
288 QMessageFilter QMessageFilter::byAncestorFolderIds(const QMessageFolderId &id, QMessageDataComparator::InclusionComparator cmp) |
|
289 { |
|
290 Q_UNUSED(id) |
|
291 Q_UNUSED(cmp) |
|
292 return QMessageFilter(); // stub |
|
293 } |
|
294 |
|
295 QMessageFilter QMessageFilter::byAncestorFolderIds(const QMessageFolderFilter &filter, QMessageDataComparator::InclusionComparator cmp) |
|
296 { |
|
297 Q_UNUSED(filter) |
|
298 Q_UNUSED(cmp) |
|
299 return QMessageFilter(); // stub |
|
300 } |
|
301 |
|
302 QTM_END_NAMESPACE |