summaryrefslogtreecommitdiffstats
path: root/app/ContactsView.qml
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16fix: Remove qml M126 warningicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming1-5/+5
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I94130d38621a8775593edab63d409654dd758ef2 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-06-20phone: qml: add 'Sync Contacts' button to ContactsViewMatt Ranostay1-39/+63
Allow user to request new/initial phonebook OBEX transfers from connected device. Bug-AGL: SPEC-2541 Change-Id: I89a49d261fc4aef6219c39cc4b75ec400c0df101 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-27phone: qml: add photo support for contactshalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Matt Ranostay1-1/+3
Display contact profiles photo when provided in vCards over the PBAP transport. Bug-AGL: SPEC-2088 Change-Id: I48117ad76d93ae913775ecdacde6eb34e736dde2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-26Use PBAP data backed ContactsModelMatt Porter1-13/+15
Convert ContactsView to use ContactsModel provided by libqtappfw. This now displays all contacts and associated phone number from the connected mobile phone's PBAP-connected contact database. Bug-AGL: SPEC-1436 Change-Id: I6a26e0c6627247736470e06ddbd611caa7de79b1 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22phone: add tabbed viewMatt Porter1-17/+1
Adds support for a tabbed view of contacts, recent call, and the dialpad. This adjusts the UI to look more like a modern mobile phone app. The same models populate the contacts view and the recent call view as before with the latter being a more useful full screen list. The recent call history also includes type of call information (missed, incoming, outgoing) and the UI displays icons accordingly to indicate type of call that occured as well as a time stamp. For now, the icons are placeholders but will be replaced by icons design to match the AGL look and feel. Bug-AGL: SPEC-1435 Change-Id: I521155a11208e92ece83f20f7f3dd643deb92099 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-22phone: add discrete call function parametersMatt Porter1-2/+2
Adjust the call function to accept discrete parameters for the name and phone number to dial. This prepares the app for a reworked UI where the contact model is not always used to invoke a phone call. Bug-AGL: SPEC-1435 Change-Id: I178a7eb6c4854f755abd94234a648f861d5c1326 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-05-21contacts: handle multiple numbers and typesMatt Porter1-9/+27
The current contact model has a few fixed fields for phone numbers and only one is displayed and able to be dialed from the contacts view. Update the model to support an array of tuples indicating each phone number and type of phone number (mobile, home, work, other) associated with a contact entry. Also, update the ContactsView so we see all phone numbers for a given contact. Bug-AGL: SPEC-1435 Change-Id: Ie883d3f06c0e4102e79546395dbb1712741bac8b Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-02-28Import latest code from CES2017 repoScott Murray1-0/+89
Change-Id: Id7ad21f47ea50d15156171a7dfa139da46c4f977 Signed-off-by: Scott Murray <scott.murray@konsulko.com>