QGalleryResource Class Reference
The QGalleryResource class provides a resource identifier for a gallery gallery item. More...
#include <QGalleryResource>
Public Functions
Detailed Description
The QGalleryResource class provides a resource identifier for a gallery gallery item.
Member Function Documentation
QGalleryResource::QGalleryResource ()
Constructs a null resource.
QGalleryResource::QGalleryResource ( const QUrl & url )
Constructs a resource from a url.
QGalleryResource::QGalleryResource ( const QUrl & url, QMap<int, QVariant> attributes )
Constructs a resource from a url and a set of attributes.
QGalleryResource::QGalleryResource ( const QGalleryResource & resource )
Constructs a copy of a resource.
QGalleryResource::~QGalleryResource ()
Destroys a resource.
QVariant QGalleryResource::attribute ( int key ) const
Returns the value of the resource attribute identified by key.
QMap<int, QVariant> QGalleryResource::attributes () const
Returns the attributes of a resource.
QUrl QGalleryResource::url () const
Returns the URL of a resource.
bool QGalleryResource::operator!= ( const QGalleryResource & resource ) const
Compares resource to another resource.
Returns true if the resource are not the same, and false otherwise.
QGalleryResource & QGalleryResource::operator= ( const QGalleryResource & resource )
Assigns the value of resource to another resource.
bool QGalleryResource::operator== ( const QGalleryResource & resource ) const
Compares resource to another resource.
Returns true if both resources are the same, and false otherwise.