QtMobility Reference Documentation

QML MessageIntersectionFilter Element

The MessageIntersectionFilter element specifies an insection of MessageFilter More...

This element was introduced in Mobility 1.1.

Properties

Detailed Description

This element is part of the QtMobility.messaging 1.1 module.

Logical AND combinations of MessageFilters can be formed using MessageIntersectionFilter.

Setting negated to true will negate the filter.

The following example creates a filter which filters for messages less than 1024 bytes in size from martin.

 model: MessageModel {
     sortBy: MessageModel.Timestamp
     sortOrder: MessageModel.DescendingOrder
     filter: MessageIntersectionFilter {
         MessageFilter {
             type: MessageFilter.Size
             value: 1024
             comparator: MessageFilter.LessThan
         }
         MessageFilter {
             type: MessageFilter.Sender
             value: "martin"
             comparator: MessageFilter.Includes
         }
     }
 }

See also MessageUnionFilter and MessageFilter.

Property Documentation

read-onlydefaultfilters : list<MessageFilter>

The filters to AND together.

This property group was introduced in Mobility 1.1.


read-onlynegated : bool

Setting negated to true will result in the filter being locially negated.

This property group was introduced in Mobility 1.1.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.