QtMobility Reference Documentation

QML DocumentGalleryType Element

The DocumentGalleryType element allows you to request information about an item type 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 DocumentGalleryItem.

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 a type is available.

This property group was introduced in Mobility 1.1.


itemType : enum

This property holds the item type that a request fetches information about. 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-onlymetaData : object

This property holds the meta-data of an item type/

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 type 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 a type request. It can be one of:

  • Null No itemType has been specified.
  • Active Information about an itemType is being fetched from the gallery.
  • Finished Information about an itemType is available.
  • Idle Information about an itemType 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

DocumentGalleryType::cancel ()

Cancels an executing request.

This documentation was introduced in Mobility 1.1.


DocumentGalleryType::clear ()

Clears the results of a request.

This documentation was introduced in Mobility 1.1.


DocumentGalleryType::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.