QML GalleryQueryCount Element
The GalleryQueryCount element allows you to fetch the number of items matching a gallery query. More...
Properties
|
Signals
Methods
Detailed Description
This element is part of the QtMobility.gallery 1.0 module.
See also GalleryQueryModel and GalleryItem.
Property Documentation
filter : GalleryFilter |
This property contains criteria to used to filter the results of a query.
gallery : QAbstractGallery |
This property holds the gallery a query should return results from.
The property holds the result of a query. It can be one of:
- NoResult The query is still executing.
- Succeeded The query finished successfully.
- Cancelled The query was cancelled.
- NoGallery No gallery was set on the query.
- NotSupported Count queries are not supported by the gallery.
- ConnectionError The query failed due to a connection error.
- InvalidItemError The query failed because the value of scopeItemId is not a valid item ID.
- ItemTypeError The query failed because the value of itemType is not a valid item type.
- InvalidPropertyError The query failed because the filter refers to an invalid property.
- PropertyTypeError The query failed because the type of a value in the filter is incompatible with the property.
- UnsupportedFilterTypeError The query failed because the set filter is not supported by the gallery.
- UnsupportedFilterOptionError The query failed because an option of a filter is not supported by the gallery.
The property contains whether a query should count the direct descendants of the scopeItemId or all descendants.
This property contains the id of an item that a query should return a count of the descendants of.
This property holds the state of a query. It can be one of:
- Inactive The query has finished.
- Active The query is currently executing.
- Cancelling The query has been cancelled, but has yet reached the Inactive state.
- Idle The query has finished and is monitoring its result set for changes.
Signal Documentation
GalleryQueryCount::onFinished ( result ) |
Signals that a query finished with the given result.
Method Documentation
Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.1.0 |