The QGalleryResource class provides a resource identifier for a gallery item. More...
#include <QGalleryResource>
This class was introduced in Qt Mobility 1.1.
QGalleryResource () | |
QGalleryResource ( const QUrl & url ) | |
QGalleryResource ( const QUrl & url, QMap<int, QVariant> attributes ) | |
QGalleryResource ( const QGalleryResource & resource ) | |
~QGalleryResource () | |
QVariant | attribute ( int key ) const |
QMap<int, QVariant> | attributes () const |
QUrl | url () const |
bool | operator!= ( const QGalleryResource & resource ) const |
QGalleryResource & | operator= ( const QGalleryResource & resource ) |
bool | operator== ( const QGalleryResource & resource ) const |
The QGalleryResource class provides a resource identifier for a gallery item.
A gallery resource is URL and a set of disambiguating meta-data properties used to identify a single representation of a gallery item that may be accessible using multiple protocols or in multiple formats. This may be useful when querying something like a media server which can serve the same video in multiple resolutions, instead of listing the same video multiple times it would list it only once but include a resource for each resolution.
Constructs a null resource.
Constructs a resource from a url.
This function was introduced in Qt Mobility 1.1.
Constructs a resource from a url and a set of attributes.
This function was introduced in Qt Mobility 1.1.
Constructs a copy of a resource.
This function was introduced in Qt Mobility 1.1.
Destroys a resource.
Returns the value of the resource attribute identified by key.
This function was introduced in Qt Mobility 1.1.
Returns the attributes of a resource.
This function was introduced in Qt Mobility 1.1.
Returns the URL of a resource.
This function was introduced in Qt Mobility 1.1.
Compares resource to another resource.
Returns true if the resource are not the same, and false otherwise.
This function was introduced in Qt Mobility 1.1.
Assigns the value of resource to another resource.
This function was introduced in Qt Mobility 1.1.
Compares resource to another resource.
Returns true if both resources are the same, and false otherwise.
This function was introduced in Qt Mobility 1.1.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.