Qt Mobility Reference Documentation

QML DocumentGalleryType Element

The DocumentGalleryType element allows you to request information about an item type from the document gallery. More...

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.


available : bool

This property holds whether the meta-data of a type is available.


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

metaData : object

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


progress : real

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


properties : QStringList

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


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

Method Documentation

DocumentGalleryType::cancel ()

Cancels an executing request.


DocumentGalleryType::clear ()

Clears the results of a request.


DocumentGalleryType::reload ()

Re-queries the gallery.


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.