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...

  • List of all members, including inherited members
  • 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.

    caseSensitivity : enumeration

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

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

    definitionName : string

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


    direction : enumeration

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

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

    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.