IMPORTANT : THIS COMMIT IS NOT SUITABLE FOR COMPILATION!
Removing data retrieving methods in Database.
Creating an abstract model.
Creating methods to edit and save a contact in the database (work in
progress).
Removing the address attribute of Contact. A contact can now be updated.
IMPORTANT : THIS COMMIT IS NOT SUITABLE FOR COMPILATION!
Creating AbstractAddressesModel, which contains an address list, with
some utilities function to use it.
Creating a device model, work in progress.
IMPORTANT: THIS COMMIT IS NOT SUITABLE FOR COMPILATION!
Implementing addAddress and removeAddress in Device.
Adding SQL queries to add and remove a contact from a device.
Reimplementing SmsMessage with AbstractModel.
This commit is still not suitable for compilation.
Adding functions to retrieve Device and Contact objects from the
database.
Adding functions to retrieve SmsMessage.
Fixing some syntax errors
Adapting list models and item list.
Fixing overloads of operator of Contact and SmsMessage.
Fixing variable assignation in the copy constructor of Contact.
This commit is suitable of compilation.
Moving models into separate files
Documenting models.
Removing AbstractModel::setId().
Moving listmodels into separate files.
Renaming onDBUpdated() in onModelUpdated() in classes ContactListModel
and SmsListModel.
Documenting ContactListModel.
Messages with no associated contact or a contact without name are now
showed with the address of the contact.
Addinga field "saved" into AbstractModel to check if the model is saved
into the database.
Moving addAddresses and removeAddresses to AbstractAddressesModel
Functions to retrieve models now return pointers.
Models contained into list models are now pointers.
Adding a cache system, work in progress.