QtMobility Reference Documentation

Contents

QML SortOrder Element

The SortOrder element defines how a list of organizer item should be ordered according to some criteria. More...

Properties

Detailed Description

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

See also OrganizerModel and QOrganizerItemSortOrder.

Property Documentation

read-onlyblankPolicy : enumeration

This property enumerates the ways in which the sort order interprets blanks when sorting organizer.

  • SortOrder.BlanksFirst - Considers blank values to evaluate to less than all other values in comparisons.
  • SortOrder.BlanksLast - Considers blank values to evaluate to greater than all other values in comparisons.

This documentation was introduced in Qt Mobility Mobility 1.1.


read-onlycaseSensitivity : enumeration

This property holds the case sensitivity of the sort order, the value can be one of:

  • Qt.CaseInsensitive
  • Qt.CaseSensitive - (default)

This documentation was introduced in Qt Mobility Mobility 1.1.


read-onlydefinitionName : string

This property holds the detail definition name of the details which will be inspected to perform sorting.

This documentation was introduced in Qt Mobility Mobility 1.1.


read-onlydirection : enumeration

This property holds the direction of the sort order, the value can be one of:

  • Qt.AscendingOrder - (default)
  • Qt.DescendingOrder

This documentation was introduced in Qt Mobility Mobility 1.1.


read-onlyfieldName : string

This property holds the detail field name of the details which will be inspected to perform sorting. For each detail elements, there are predefined field types.

This documentation was introduced in Qt Mobility Mobility 1.1.