QContentSortCriteria Class Reference
|
Constant | Value | Description |
---|---|---|
QContentSortCriteria::Name | 0 | The user visible name of the content. |
QContentSortCriteria::MimeType | 1 | The type of the content. |
QContentSortCriteria::Property | 2 | A property of the content. The group and key for the property must be supplied as an scope of the sort as a string of the form [group]/[key] |
QContentSortCriteria::FileName | 3 | The file name of the content. |
QContentSortCriteria::LastUpdated | 4 | The time and date the content record was last updated. |
Constructs a null sort criteria.
Constructs a sort criteria that sorts a set by an attribute in the given sort order.
Constructs a sort criteria that sorts a set by an attribute with a scope in the given sort order.
Constructs a sort criteria that sorts a set by property in the given sort order.
Constructs a copy of the sort criteria other.
Destroys a sort criteria.
Adds an attribute to sort by in the given order to the end of the sort criteria.
This is an overloaded member function, provided for convenience.
Adds an attribute with a scope to sort by in the given order to the end of the sort criteria.
This is an overloaded member function, provided for convenience.
Adds a property to sort by in the given order to the end of the sort criteria.
Returns the attribute sorted by at the given index.
Removes all sorts from the sorting criteria.
Compares the left and right contents using the sorting criteria and returns a negative integer if the left is less than the right, a positive integer if the left is greater than the right, and zero if they are equivalent.
Compares the left and right contents using the sorting criteria and returns true if the left is greater than the right and false otherwise.
Compares the left and right contents using the sorting criteria and returns true if the left is less than the right and false otherwise.
Returns the order the attribute at the given index is sorted by.
Returns the scope of the attribute sorted by at the given index.
Returns the number of attributes the sorting criteria sorts on.
Compares other to a sort criteria. Returns true if it is not equal; false otherwise.
Assigns the value of other to a sort criteria.
Compares other to a sort criteria. Returns true if it is equal; false otherwise.
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 qtextended4.4 | |
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