The QGalleryResource class provides a resource identifier for a gallery gallery item. More...
#include <QGalleryResource>
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 gallery item.
Constructs a null resource.
Constructs a resource from a url.
Constructs a resource from a url and a set of attributes.
Constructs a copy of a resource.
Destroys a resource.
Returns the value of the resource attribute identified by key.
Returns the attributes of a resource.
Returns the URL of a resource.
Compares resource to another resource.
Returns true if the resource are not the same, and false otherwise.
Assigns the value of resource to another resource.
Compares resource to another resource.
Returns true if both resources are the same, and false otherwise.