equal
deleted
inserted
replaced
215 * @param mSourceType , type of entry |
215 * @param mSourceType , type of entry |
216 * @return QString , address associated with cuurent id and type |
216 * @return QString , address associated with cuurent id and type |
217 */ |
217 */ |
218 QString getAddressDetails( quint32 mId , quint32 mSourceType ); |
218 QString getAddressDetails( quint32 mId , quint32 mSourceType ); |
219 |
219 |
|
220 /** |
|
221 * Gets single line address |
|
222 * @param id , id of the entry |
|
223 * @param sourceType , type of entry |
|
224 * @param name , name of entry |
|
225 */ |
|
226 void updateEntryNameByIdAndType(quint32 id, quint32 sourceType , QString name); |
|
227 |
220 private: |
228 private: |
221 |
229 |
222 // fills the lookup entry |
230 // fills the lookup entry |
223 void fillLookupEntry( QSqlQuery &aRecord, QLookupItem &aLookupItem ); |
231 void fillLookupEntry( QSqlQuery &aRecord, QLookupItem &aLookupItem ); |
224 |
232 |
225 // Handle to the items database |
233 // Handle to the items database |
226 QSqlDatabase *mDb; |
234 QSqlDatabase *mDb; |
227 |
235 |
228 // Flag to indicate if db is open |
236 // Flag to indicate if db is open |