Code review comment for lp:~yohanboniface/ubuntu-calendar-app/AgendaView

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

I am not sure why only agenda view is getting alarm data, but looking at Alarm model source code.

Alarm is stored as todo item type. so if you apply Detail Filter on model with only item type of ItemType.Event
ItemType.EventOccurrence . you should be able to filter out alarm data from model.

http://developer.ubuntu.com/api/qml/sdk-1.0/QtOrganizer.ItemType/
http://developer.ubuntu.com/api/qml/sdk-1.0/QtOrganizer.DetailFilter/

http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/plugin/adapters/alarmsadapter_organizer.cpp

« Back to merge proposal