QML MessageUnionFilter ElementThe MessageUnionFilter element specifies a union of MessageFilter More... PropertiesDetailed DescriptionThis element is part of the QtMobility.messaging 1.1 module. Logical OR combinations of MessageFilters can be formed using MessageUnionFilter. Setting negated to true will negate the filter. The following example creates a filter which filters for messages from martin or don. model: MessageModel {
sortBy: MessageModel.Timestamp
sortOrder: MessageModel.DescendingOrder
filter: MessageUnionFilter {
MessageFilter {
type: MessageFilter.Sender
value: "martin"
comparator: MessageFilter.Includes
}
MessageFilter {
type: MessageFilter.Sender
value: "don"
comparator: MessageFilter.Includes
}
}
}
See also MessageIntersectionFilter. Property DocumentationThe filters to OR together. © 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy X
|















