QContactSortOrder Class ReferenceThe QContactSortOrder class defines how a list of contacts should be ordered according to some criteria More... #include <QContactSortOrder> Public Types
Public Functions
Detailed DescriptionThe QContactSortOrder class defines how a list of contacts should be ordered according to some criteria Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QContactSortOrder::BlanksFirst | 0 | Considers blank values to evaluate to less than all other values in comparisons |
QContactSortOrder::BlanksLast | 1 | Considers blank values to evaluate to greater than all other values in comparisons |
Constructs a new sort order
Constructs a copy of the other sort order
Frees any memory in use by this sort order
Returns the blank policy of the sort order
See also setBlankPolicy().
Returns the case sensitivity of the sort order
See also setCaseSensitivity().
Returns the definition name of the details which will be inspected to perform sorting. Note that if a contact has multiple details of the definition, the result of the sorting is undefined.
See also setDetailDefinitionName().
Returns the name of the field in the definition which will be inspected to perform sorting
See also setDetailDefinitionName().
Returns the direction of the sort order
See also setDirection().
Returns true if the sort order is able to be used to sort a list of contacts; otherwise, returns false
Sets the sort order's policy on blank values with respect to sorting to blankPolicy
See also blankPolicy().
Sets the case sensitivity of the sort order to sensitivity
See also caseSensitivity().
Sets the definition name of the details which will be inspected to perform sorting to definitionName, and the name of those details' fields which contains the value which contacts will be sorted by to fieldName
See also detailDefinitionName() and detailFieldName().
Sets the sort order direction to direction
See also direction().
Constructs a new list of sort orders containing only the current sort order
Returns true if this sort order is not identical to the other sort order
See also operator==().
Assigns this sort order to be equal to other
Returns true if this sort order is identical to the other sort order
See also operator!=().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0-tp | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com