QML LandmarkAbstractModel ElementThe LandmarkAbstractModel element is an uncreatable / uninstantiable base element for LandmarkModel and LandmarkCategoryModel. It defines many common properties for the two models. More... Inherited by LandmarkCategoryModel and LandmarkModel. Properties
SignalsMethodsDetailed DescriptionThe LandmarkAbstractModel element is an uncreatable / uninstantiable base element for LandmarkModel and LandmarkCategoryModel. It defines many common properties for the two models. This element is part of the QtMobility.location 1.1 module. See also LandmarkModel and LandmarkCategoryModel. Property DocumentationControls whether the model data should be automatically updated when appropriate events occur: limit changes, offset changes, filter changes, filter contents change, or sorting rules change. Property also controls whether the data is updated automatically once model instantiation is completed. Note: while autoUpdate adds to development comfort, each change in appropriate parameters cause full fetch from underlying database and therefore its use should be thought through. E.g. if your application inherently behaves such that filters, their contents, and underlying database change very frequently, it may be wiser to bind a manual update call to a less hectic trigger source. This documentation was introduced in Qt Mobility Mobility 1.2. Indicates the number of items currently in the model (landmarks/categories). This documentation was introduced in Qt Mobility Mobility 1.2. Human readable string of the last error that occurred (read-only). This documentation was introduced in Qt Mobility Mobility 1.2. Sets the maximum amount of items held by the model. This documentation was introduced in Qt Mobility Mobility 1.2. Sets the offset for the landmarks. For example if one creates a tabbed / paged application, the offset could be changed dynamically by a multiple of items per page. This documentation was introduced in Qt Mobility Mobility 1.2. Specifies the role to sort the items by. Note: both sortBy and sortOrder incur performance costs. If the order is not important (e.g. when displaying landmarks as Map objects) it is advisable not to set them.
This documentation was introduced in Qt Mobility Mobility 1.2. Specifies the sort order. Note: both sortBy and sortOrder incur performance costs. If the order is not important (e.g. when displaying landmarks as Map objects) it is advisable not to set them.
This documentation was introduced in Qt Mobility Mobility 1.2. Signal DocumentationThis handler is called when the data in the underlying data storage has changed. If autoUpdate is true, model data will be updated shortly afterwards. This documentation was introduced in Qt Mobility Mobility 1.2. This handler is called when the model data has changed. This documentation was introduced in Qt Mobility Mobility 1.2. Method DocumentationUpdates the items represented by the model from the underlying store. This documentation was introduced in Qt Mobility Mobility 1.2. See also autoUpdate. |
Publicité
Best OfActualités les plus luesSemaine
Mois
Année
![]()
![]() Le Qt Developer Network au hasard![]() Applications mobiles modernes avec Qt et QMLLe Qt Developer Network est un réseau de développeurs Qt anglophone, où ils peuvent partager leur expérience sur le framework. Lire l'article.
CommunautéRessources
Liens utilesContact
Qt dans le magazine |
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.2 | |
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