The QGalleryTypeRequest class provides an interface for requesting the properties of a type from a gallery. More...
#include <QGalleryTypeRequest>
Inherits QGalleryAbstractRequest.
QGalleryTypeRequest ( QObject * parent = 0 ) | |
QGalleryTypeRequest ( QAbstractGallery * gallery, QObject * parent = 0 ) | |
~QGalleryTypeRequest () | |
bool | autoUpdate () const |
bool | isValid () const |
QString | itemType () const |
QVariant | metaData ( int key ) const |
QVariant | metaData ( const QString & property ) const |
QGalleryProperty::Attributes | propertyAttributes ( int key ) const |
int | propertyKey ( const QString & property ) const |
QStringList | propertyNames () const |
QVariant::Type | propertyType ( int key ) const |
QGalleryResultSet * | resultSet () const |
void | setAutoUpdate ( bool enabled ) |
void | setItemType ( const QString & itemType ) |
void | setPropertyNames ( const QStringList & names ) |
void | itemTypeChanged () |
void | metaDataChanged ( const QList<int> & keys ) |
void | resultSetChanged ( QGalleryResultSet * resultSet ) |
void | typeChanged () |
virtual void | setResponse ( QGalleryAbstractResponse * response ) |
The QGalleryTypeRequest class provides an interface for requesting the properties of a type from a gallery.
This property holds whether a the results of a request should be updated after a request has finished.
If this is true the request will go into the Idle state when the request has finished rather than returning to Inactive.
Access functions:
bool | autoUpdate () const |
void | setAutoUpdate ( bool enabled ) |
This property holds the type a request should return the properties of.
Access functions:
QString | itemType () const |
void | setItemType ( const QString & itemType ) |
Notifier signal:
void | itemTypeChanged () |
This property holds a list of names of meta-data properties a request should return values for.
Access functions:
QStringList | propertyNames () const |
void | setPropertyNames ( const QStringList & names ) |
This property holds whether the request currently holds valid type information.
Access functions:
bool | isValid () const |
Notifier signal:
void | typeChanged () |
Constructs a new gallery type request.
The parent is passed to QObject.
Contructs a new type request for the given gallery.
The parent is passed to QObject.
Destroys a gallery type request.
Signals that the itemType property has changed.
Returns the value of a meta-data property identified by key.
Returns the value of a meta-data property.
Signals that the values of meta-data properties identified by keys have changed.
Returns the attributes of the property identified by key.
Returns the key of property.
Returns the type of the property identified by key.
Returns the result set containing the meta-data of a type.
Signals that the resultSet containing the meta-data of a type has changed.
Reimplemented from QGalleryAbstractRequest::setResponse().
Signals that the properties of a type have changed.