1 /* |
|
2 * Copyright (c) 2010 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: defines types and constants for location picker |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef LOCATIONPICKERTYPES_H |
|
19 #define LOCATIONPICKERTYPES_H |
|
20 |
|
21 #include <hbglobal.h> |
|
22 #include <locationservicedefines.h> |
|
23 |
|
24 // separator |
|
25 const QString KSeparator(","); |
|
26 |
|
27 // space |
|
28 const QString KSpace(" "); |
|
29 |
|
30 //Icon Paths |
|
31 |
|
32 // dummy image for a LandMarks |
|
33 const QString KDummyImage("qtg_large_maps"); |
|
34 //Image for calendar entries |
|
35 const QString KCalendarImage("qtg_large_calendar"); |
|
36 //Image for contacts entries |
|
37 const QString KContactsImage("qtg_large_phonebook"); |
|
38 |
|
39 //Contacts collection icon |
|
40 const QString KCollectionsContacts("qtg_small_phonebook"); |
|
41 |
|
42 //Calendar collection icon |
|
43 const QString KCollectionsCalendar("qtg_small_calendar"); |
|
44 |
|
45 //Places collection icon |
|
46 const QString KCollectionsPlaces("qtg_small_favorite"); |
|
47 |
|
48 //Contacts type home icon |
|
49 const QString KContactHomeIcon("qtg_mono_home"); |
|
50 //Contacts type work icon |
|
51 const QString KContactWorkIcon("qtg_mono_work"); |
|
52 |
|
53 /** |
|
54 * Defines view type in location picker |
|
55 */ |
|
56 enum TViewType |
|
57 { |
|
58 /** LocationPicker Content */ |
|
59 ELocationPickerContent, |
|
60 /** Collection list Content*/ |
|
61 ELocationPickerCollectionListContent, |
|
62 /** Search View */ |
|
63 ELocationPickerSearchView, |
|
64 /** Collection content */ |
|
65 ELocationPickerCollectionContent |
|
66 }; |
|
67 |
|
68 |
|
69 #endif // LOCATIONPICKERTYPES_H |
|
70 |
|