111 |
111 |
112 /** |
112 /** |
113 * Gets a maptile image associated with a id(contact id/calendar id). |
113 * Gets a maptile image associated with a id(contact id/calendar id). |
114 * Returns a maptile image path if it is available otherwise returns NULL. |
114 * Returns a maptile image path if it is available otherwise returns NULL. |
115 * |
115 * |
116 * @param contactId app id |
116 * @param id, entry id |
117 * @param sourceType Source address type( Preferred, Home , Work address ) |
117 * @param sourceType , Source address type( Preferred, Home , Work address ) |
118 * @param imagePath Maptile image path associated with the app id |
118 * @param imagePath Maptile image path associated with the app id |
119 * @param orientation Application current orientation. |
119 * @param orientation Application current orientation. |
120 * |
120 * |
121 * @return Returns the maptile fetching status. |
121 * @return Returns the maptile fetching status. |
122 */ |
122 */ |
123 int getMapTileImage( int Id, AddressType sourceType, |
123 int getMapTileImage( int id, AddressType sourceType, |
124 QString& imagePath, Qt::Orientations orientation = Qt::Vertical ); |
124 QString& imagePath, Qt::Orientations orientation = Qt::Vertical ); |
|
125 |
|
126 /** |
|
127 * keep existing location as per user confirmation . |
|
128 * @param id ,entry id |
|
129 * @param sourceType Source address type( Preferred, Home , Work address ) |
|
130 * @param value ,true if user confirm as yes otherwise false. |
|
131 */ |
|
132 void keepExistingLocation(int id ,AddressType sourceType, bool value); |
125 |
133 |
126 public slots: |
134 public slots: |
127 /** |
135 /** |
128 * Receives maptile status information and emits the maptilFetchingStatusUpdate |
136 * Receives maptile status information and emits the maptilFetchingStatusUpdate |
129 * signal. |
137 * signal. |
163 * @param sourceType, address type( plain ,Preferred, Home , Work address ) |
171 * @param sourceType, address type( plain ,Preferred, Home , Work address ) |
164 * @param aLookupItem ,entry information |
172 * @param aLookupItem ,entry information |
165 * @param aNoOfAddress ,number of address read from databse |
173 * @param aNoOfAddress ,number of address read from databse |
166 */ |
174 */ |
167 int readEntryFromMaptileDataBase( int id, AddressType sourceType, |
175 int readEntryFromMaptileDataBase( int id, AddressType sourceType, |
168 TLookupItem& aLookupItem, int& aNoOfAddress ); |
176 MaptileLookupItem& aLookupItem, int& aNoOfAddress ); |
169 |
177 |
170 private: |
178 private: |
171 |
179 |
172 //The contact/calendar id for which maptile requested |
180 //The contact/calendar id for which maptile requested |
173 int mLastViewedEntryId; |
181 int mLastViewedEntryId; |