You should be able to filter events type using this this example:
OrganizerModel { id: organizer
startPeriod: new Date("2014-01-01") endPeriod: new Date("2014-12-31") manager: "eds" autoUpdate: true onItemCountChanged: console.debug("Item count changed: " + itemCount) filter: DetailFieldFilter { id: todoFilter detail: Detail.ItemType field: Type.FieldType value: Type.Todo matchFlags: Filter.MatchExactly } Component.onCompleted: console.debug("Type: " + Type.Todo)
}
« Back to merge proposal
You should be able to filter events type using this this example:
OrganizerModel {
id: organizer
endPeriod: new Date("2014-12-31")
manager: "eds"
autoUpdate: true
filter: DetailFieldFilter {
id: todoFilter
detail: Detail.ItemType
field: Type.FieldType
value: Type.Todo
}
}