equal
deleted
inserted
replaced
|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MSG_CONTACTS_UTIL_H |
|
19 #define MSG_CONTACTS_UTIL_H |
|
20 |
|
21 #include <QObject> |
|
22 #include "convergedmessageaddress.h" |
|
23 |
|
24 class ConvergedMessage; |
|
25 class XQServiceRequest; |
|
26 |
|
27 /** |
|
28 * This class provides functionality for fetching contacts from phonebook. |
|
29 * |
|
30 */ |
|
31 class MsgContactsUtil : public QObject |
|
32 { |
|
33 Q_OBJECT |
|
34 |
|
35 public: |
|
36 /** |
|
37 * Constructor |
|
38 */ |
|
39 MsgContactsUtil(QObject* parent =0); |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 */ |
|
44 ~MsgContactsUtil(); |
|
45 |
|
46 /** |
|
47 * Fectch conatcts |
|
48 */ |
|
49 void fetchContacts(); |
|
50 |
|
51 /* |
|
52 * Open Contact Details |
|
53 * @param contactId Conatct Id |
|
54 */ |
|
55 void openContactDetails(qint32 contactId); |
|
56 |
|
57 private: |
|
58 |
|
59 /** |
|
60 * Service Request |
|
61 * Owned |
|
62 */ |
|
63 XQServiceRequest* mRequest; |
|
64 }; |
|
65 |
|
66 #endif // MSG_CONTACTS_UTIL_H |
|
67 |
|
68 // EOF |
|
69 |