QGalleryItemRequest Class ReferenceThe QGalleryItemRequest class provides a request for the properties of a single item from a gallery. More... #include <QGalleryItemRequest> Inherits: QGalleryAbstractRequest. This class was introduced in Qt Mobility 1.1. Properties
Public Functions
Signals
Reimplemented Protected Functions
Additional Inherited Members
Detailed DescriptionThe QGalleryItemRequest class provides a request for the properties of a single item from a gallery. QGalleryItemRequest executes a query which returns information about the gallery item specified in itemId. The query will return an itemUrl, an itemType, resources and meta-data values for the properties listed in propertyNames. When the request has finished and if the item could be found the valid property will be true, if not it will be false. If the autoUpdate property is true when the request is executed it will enter an Idle state on finishing and will refresh the queried information if the item changes. If the gallery can't provide updates it will instead go immediately to the Finished state. Automatic updates can be canceled by calling cancel() on a idle request. See also QDocumentGallery. Property Documentation
|
bool | autoUpdate () const |
void | setAutoUpdate ( bool enabled ) |
Notifier signal:
void | autoUpdateChanged () |
This property holds the ID of an item the request should return the properties of.
This property was introduced in Qt Mobility 1.1.
Access functions:
QVariant | itemId () const |
void | setItemId ( const QVariant & itemId ) |
Notifier signal:
void | itemIdChanged () |
This property holds the type of an item.
This property was introduced in Qt Mobility 1.1.
Access functions:
QString | itemType () const |
Notifier signal:
void | itemChanged () |
This property holds the URL of an item.
This property was introduced in Qt Mobility 1.1.
Access functions:
QUrl | itemUrl () const |
Notifier signal:
void | itemChanged () |
This property holds a list of names of meta-data properties a request should return values for.
This property was introduced in Qt Mobility 1.1.
Access functions:
QStringList | propertyNames () const |
void | setPropertyNames ( const QStringList & names ) |
Notifier signal:
void | propertyNamesChanged () |
This property holds the resources of an item.
This property was introduced in Qt Mobility 1.1.
Access functions:
QList<QGalleryResource> | resources () const |
Notifier signal:
void | itemChanged () |
This property holds whether the request currently holds valid type information.
This property was introduced in Qt Mobility 1.1.
Access functions:
bool | isValid () const |
Notifier signal:
void | itemChanged () |
Constructs a new gallery item request.
The parent is passed to QObject.
Contructs a new item request for the given gallery.
The parent is passed to QObject.
This function was introduced in Qt Mobility 1.1.
Destroys a gallery item request.
Signals that the value of autoUpdate has changed.
This function was introduced in Qt Mobility 1.1.
Signals that the properties of an item have changed.
This function was introduced in Qt Mobility 1.1.
Signals that the value of the itemId property has changed.
This function was introduced in Qt Mobility 1.1.
Returns the value of a meta-data property identified by key.
This function was introduced in Qt Mobility 1.1.
See also setMetaData().
Returns the value of a meta-data property.
This function was introduced in Qt Mobility 1.1.
Signals that the values of meta-data properties identified by keys have changed.
This function was introduced in Qt Mobility 1.1.
Returns the attributes of the property identified by key.
This function was introduced in Qt Mobility 1.1.
Returns the key of property.
This function was introduced in Qt Mobility 1.1.
Signals that the value of propertyNames has changed.
This function was introduced in Qt Mobility 1.1.
Returns the type of the property identified by key.
This function was introduced in Qt Mobility 1.1.
Returns the result set containing the meta-data of a type.
This function was introduced in Qt Mobility 1.1.
Signals that the resultSet containing the meta-data of an item has changed.
This function was introduced in Qt Mobility 1.1.
Sets the value of a meta-data property identified by key.
Returns true if the value was changed; otherwise returns false.
This function was introduced in Qt Mobility 1.1.
See also metaData().
Sets the
Constant | Value | Description |
---|---|---|
QGalleryItemRequest::of | ? | a meta-data property. |
Returns true if the value was changed; otherwise returns false.
This function was introduced in Qt Mobility 1.1.
Reimplemented from QGalleryAbstractRequest::setResponse().
This function was introduced in Qt Mobility 1.1.
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