QtMobility Reference Documentation

QML DocumentGalleryItem Element

The DocumentGalleryItem element allows you to request information about a single item from the document gallery More...

This element was introduced in Mobility 1.1.

Properties

Methods

Detailed Description

This element is part of the QtMobility.gallery 1.1 module.

See also DocumentGalleryModel and DocumentGalleryType.

Property Documentation

autoUpdate : bool

This property holds whether a request should refresh its results automatically.

This property group was introduced in Mobility 1.1.


read-onlyavailable : bool

This property holds whether the meta-data of an item is available.

This property group was introduced in Mobility 1.1.


item : variant

This property holds the id of the item to return information about.

This property group was introduced in Mobility 1.1.


read-onlyitemType : enum

This property holds the type of a gallery item. It can be one of:

  • DocumentGallery.InvalidType
  • DocumentGallery.File
  • DocumentGallery.Folder
  • DocumentGallery.Document
  • DocumentGallery.Text
  • DocumentGallery.Audio
  • DocumentGallery.Image
  • DocumentGallery.Video
  • DocumentGallery.Playlist
  • DocumentGallery.Artist
  • DocumentGallery.AlbumArtist
  • DocumentGallery.Album
  • DocumentGallery.AudioGenre
  • DocumentGallery.PhotoAlbum

This property group was introduced in Mobility 1.1.


read-onlyitemUrl : url

This property holds the URL of a gallery item.

This property group was introduced in Mobility 1.1.


read-onlymetaData : object

This property holds the meta-data of a gallery item.

This property group was introduced in Mobility 1.1.


read-onlyprogress : real

This property holds the current progress of the request, from 0.0 (started) to 1.0 (finished).

This property group was introduced in Mobility 1.1.


properties : QStringList

This property holds the item properties a request should return values for.

This property group was introduced in Mobility 1.1.


read-onlystatus : enum

This property holds the status of an item request. It can be one of:

  • Null No item has been specified.
  • Active Information about an item is being fetched from the gallery.
  • Finished Information about an item is available.
  • Idle Information about an item which will be automatically updated is available.
  • Canceling The query was canceled but hasn't yet reached the canceled status.
  • Canceled The query was canceled.
  • Error Information about a type could not be retrieved due to an error.

This property group was introduced in Mobility 1.1.


Method Documentation

DocumentGalleryItem::cancel ()

Cancels an executing request.

This documentation was introduced in Mobility 1.1.


DocumentGalleryItem::clear ()

Clears the results of a request.

This documentation was introduced in Mobility 1.1.


DocumentGalleryItem::reload ()

Re-queries the gallery.

This documentation was introduced in Mobility 1.1.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.