Qt Mobility Reference Documentation

QML SortOrder Element

The SortOrder element defines how a list of contacts 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.contacts 1.1 module.

    See also QContactSortOrder and ContactModel.

    Property Documentation

    blankPolicy : enumeration

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

    • 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)

    detail : enumeration

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

    See also ContactDetail::type.


    direction : enumeration

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

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

    field : int

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


    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.