16 */ |
16 */ |
17 |
17 |
18 #ifndef LOCATIONPICKERTYPES_H |
18 #ifndef LOCATIONPICKERTYPES_H |
19 #define LOCATIONPICKERTYPES_H |
19 #define LOCATIONPICKERTYPES_H |
20 |
20 |
21 // Defines total number of main views ( all, collectionlist, search ) |
21 #include <hbglobal.h> |
22 const int KNumberOfMainViews = 3; |
|
23 |
22 |
24 // separator |
23 // separator |
25 const QString KSeparator(","); |
24 const QString KSeparator(","); |
26 |
25 |
27 // space |
26 // space |
28 const QString KSpace(" "); |
27 const QString KSpace(" "); |
29 |
28 |
30 // Application Title |
29 //Icon Paths |
31 const QString KApplicationTitle("Select Location"); |
|
32 |
30 |
33 // Application Title |
31 // dummy image for a location |
34 const QString KNoLocations("No Location entries present"); |
32 const QString KDummyImage("qtg_large_maps"); |
35 |
33 |
36 // space |
34 //Contacts collection icon |
37 const QString KContactCollection("Contact addresses"); |
35 const QString KCollectionsContacts("qtg_small_contacts"); |
|
36 |
|
37 //Contacts collection icon |
|
38 const QString KCollectionsCalendar("qtg_small_calendar"); |
|
39 |
|
40 //Contacts type prefered icon |
|
41 const QString KContactPrefIcon("qtg_mono_favourites"); |
|
42 //Contacts type home icon |
|
43 const QString KContactHomeIcon("qtg_mono_home"); |
|
44 //Contacts type work icon |
|
45 const QString KContactWorkIcon("qtg_mono_work"); |
|
46 |
38 |
47 |
39 // strings used to differentiate the contact address type |
48 // strings used to differentiate the contact address type |
40 const QString KContactPrefered("Contact Prefered"); |
|
41 const QString KContactHome("Contact Home"); |
49 const QString KContactHome("Contact Home"); |
42 const QString KContactWork("Contact Work"); |
50 const QString KContactWork("Contact Work"); |
43 const QString KContactsString("Others"); |
51 const QString KContactsString("Others"); |
44 const QString KContactsCollection("Contact addresses"); |
|
45 const QString KSortBy("Sort by"); |
|
46 const QString KAscend("Ascending"); |
|
47 const QString KDescend("Descending"); |
|
48 |
52 |
49 //Icon Paths |
|
50 |
53 |
51 // dummy image for a location |
54 /** |
52 const QString KDummyImage(":/qtg_large_maps.png"); |
55 * Defines view type in location picker |
53 |
|
54 //All tab icon |
|
55 const QString KAllTab(":/qtg_mono_location.png.png"); |
|
56 |
|
57 //COllection tab icon |
|
58 const QString KCollectionTab(":/qtg_mono_location_collection.png"); |
|
59 |
|
60 //Search tab icon |
|
61 const QString KSearchTab(":/qtg_mono_search.png"); |
|
62 |
|
63 //Contacts collection icon |
|
64 const QString KCollectionsContacts(":/qtg_small_contacts.png"); |
|
65 |
|
66 //Contacts collection icon |
|
67 const QString KCollectionsCalendar(":/qtg_small_calendar.png"); |
|
68 |
|
69 //Contacts type prefered icon |
|
70 const QString KContactPrefIcon(":/qtg_mono_favourites.png"); |
|
71 //Contacts type home icon |
|
72 const QString KContactHomeIcon(":/qtg_mono_home.png"); |
|
73 //Contacts type work icon |
|
74 const QString KContactWorkIcon(":/qtg_mono_work.png"); |
|
75 |
|
76 /** Defines view type in location picker |
|
77 */ |
56 */ |
78 enum TViewType |
57 enum TViewType |
79 { |
58 { |
80 /** All View */ |
59 /** LocationPicker Content */ |
81 ELocationPickerAllView, |
60 ELocationPickerContent, |
82 /** Collection list view */ |
61 /** Collection list Content*/ |
83 ELocationPickerCollectionListView, |
62 ELocationPickerCollectionListContent, |
84 /** Search View */ |
63 /** Search View */ |
85 ELocationPickerSearchView, |
64 ELocationPickerSearchView, |
86 /** Collection content view */ |
65 /** Collection content */ |
87 ELocationPickerCollectionContentView |
66 ELocationPickerCollectionContent |
88 }; |
67 }; |
89 |
68 |
90 |
69 |
91 #endif // LOCATIONPICKERTYPES_H |
70 #endif // LOCATIONPICKERTYPES_H |
92 |
71 |