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 #ifndef CNTHISTORYMODELCONSTS_H |
|
18 #define CNTHISTORYMODELCONSTS_H |
|
19 |
|
20 enum Attributes |
|
21 { |
|
22 CntIncoming = 1, |
|
23 CntUnseen = 2, |
|
24 CntAttachment = 4 |
|
25 }; |
|
26 |
|
27 enum ItemType |
|
28 { |
|
29 CntCallLog = 32, |
|
30 CntMessage = 64 |
|
31 }; |
|
32 |
|
33 enum Icon |
|
34 { |
|
35 CntMissedCall = 128, |
|
36 CntReceivedCall = 256, |
|
37 CntDialledCall = 512 |
|
38 }; |
|
39 |
|
40 enum CustomRoles |
|
41 { |
|
42 CntFlagsRole = Qt::UserRole + 1, |
|
43 CntPhoneNumberRole, |
|
44 CntConverstaionIdRole |
|
45 }; |
|
46 |
|
47 // Constants |
|
48 #define MISSED_CALL_ICON "qtg_small_missed_call" |
|
49 #define DAILED_CALL_ICON "qtg_small_sent" |
|
50 #define RECEIVED_CALL_ICON "qtg_small_received" |
|
51 #define MESSAGE_ICON "qtg_small_message" |
|
52 |
|
53 #endif |
|