85
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: canotifierfilter.h
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef CANOTIFIERFILTER_H
|
|
19 |
#define CANOTIFIERFILTER_H
|
|
20 |
|
|
21 |
#include <QList>
|
|
22 |
|
|
23 |
#include "cadefs.h"
|
|
24 |
#include "caclient_global.h"
|
|
25 |
#include "caentry.h"
|
|
26 |
|
|
27 |
class CaNotifierFilterPrivate;
|
|
28 |
class CaQuery;
|
|
29 |
|
|
30 |
class CACLIENT_EXPORT CaNotifierFilter
|
|
31 |
{
|
|
32 |
friend class CaNotifierFilterPrivate;
|
|
33 |
|
|
34 |
public:
|
|
35 |
|
|
36 |
CaNotifierFilter();
|
|
37 |
CaNotifierFilter(const CaNotifierFilter ¬ifierFilter);
|
|
38 |
explicit CaNotifierFilter(const CaQuery &query);
|
|
39 |
CaNotifierFilter &operator=(const CaNotifierFilter ¬ifierFilter);
|
|
40 |
virtual ~CaNotifierFilter();
|
|
41 |
|
|
42 |
int getParentId() const;
|
|
43 |
void setParentId(int parentId);
|
|
44 |
|
|
45 |
QList<int> getIds() const;
|
|
46 |
void setIds(const QList<int> &ids);
|
|
47 |
|
|
48 |
EntryRoles getEntryRole() const;
|
|
49 |
void setEntryRole(EntryRoles entryRole);
|
|
50 |
|
|
51 |
QStringList getTypeNames() const;
|
|
52 |
void setTypeNames(const QStringList &typeNames);
|
|
53 |
|
|
54 |
private:
|
|
55 |
|
|
56 |
CaNotifierFilterPrivate * const m_d;
|
|
57 |
|
|
58 |
};
|
|
59 |
|
|
60 |
#endif // CANOTIFIERFILTER_H
|