MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML SortOrder Element

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

This element was introduced in Mobility 1.1.

Properties

Detailed Description

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

See also OrganizerModel and QOrganizerItemSortOrder.

Property Documentation

blankPolicy : 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 property group was introduced in Mobility 1.1.


caseSensitivity : enumeration

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

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

This property group was introduced in Mobility 1.1.


definitionName : string

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

This property group was introduced in Mobility 1.1.


direction : enumeration

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

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

This property group was introduced in Mobility 1.1.


fieldName : 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 property group was introduced in Mobility 1.1.