51 * Request to update latitude and longitude into contact db. |
52 * Request to update latitude and longitude into contact db. |
52 * @param contactId contact unique id. |
53 * @param contactId contact unique id. |
53 * @param addressType contact address type. |
54 * @param addressType contact address type. |
54 * @param latitude Latitude to be updated. |
55 * @param latitude Latitude to be updated. |
55 * @param longitude longitude to be updated. |
56 * @param longitude longitude to be updated. |
|
57 * |
|
58 * @return Returns true if successfule otherwise false. |
56 */ |
59 */ |
57 |
60 |
58 bool updateGeocodeToContactDB(const quint32 contactId, |
61 bool updateGeocodeToContactDB(const quint32 contactId, const int addressType, |
59 const int addressType, const double latitude, |
62 const double latitude, const double longitude); |
60 const double longitude); |
|
61 /** |
63 /** |
62 * Request to update latitude and longitude into calender db. |
64 * Request to update latitude and longitude into calender db. |
63 * @param calEntryId calender entry unique id |
65 * @param calEntryId calender entry unique id |
64 * @param latitude Latitude to be updated. |
66 * @param latitude Latitude to be updated. |
65 * @param longitude longitude to be updated. |
67 * @param longitude longitude to be updated. |
|
68 * |
|
69 * @return Returns true if successfule otherwise false. |
66 */ |
70 */ |
67 |
71 |
68 bool updateGeocodeToCalenderDB(const ulong calEntryId, |
72 bool updateGeocodeToCalenderDB(const ulong& calEntryId, const double& latitude, |
69 const double latitude, const double longitude); |
73 const double& longitude); |
|
74 |
|
75 /** |
|
76 * Request to check if geo-cordinate available or not. |
|
77 * @param calEntryId calender entry unique id |
|
78 * @return true, if available otherwise false. |
|
79 */ |
|
80 bool isGeocodeNotAvailable(const ulong& calEntryId); |
|
81 |
70 private slots: |
82 private slots: |
71 void agendautilInstanceCreated(int); |
83 void agendautilInstanceCreated(int); |
|
84 |
72 signals: |
85 signals: |
73 void eventCompleted(); |
86 void eventCompleted(); |
|
87 |
|
88 private: |
74 |
89 |
|
90 AgendaUtil *mAgendaUtil; |
|
91 bool mUtilInstanceCreated; |
75 }; |
92 }; |
76 |
93 |
77 #endif // __GEOCODEUPDATE_H__ |
94 #endif // __GEOCODEUPDATE_H__ |