The QGalleryProperty class provides an identifier for a gallery property. More...
#include <QGalleryProperty>
| enum | Attribute { CanRead, CanWrite, CanSort, CanFilter } |
| flags | Attributes |
| QGalleryProperty ( const char * name ) | |
| QString | ascending () const |
| QString | descending () const |
| QString | name () const |
| operator QString () const | |
| QGalleryMetaDataFilter | operator< ( const QVariant & value ) const |
| QGalleryMetaDataFilter | operator<= ( const QVariant & value ) const |
| QGalleryMetaDataFilter | operator== ( const QVariant & value ) const |
| QGalleryMetaDataFilter | operator> ( const QVariant & value ) const |
| QGalleryMetaDataFilter | operator>= ( const QVariant & value ) const |
The QGalleryProperty class provides an identifier for a gallery property.
This enumeration describes the attributes of a property.
| Constant | Value | Description |
|---|---|---|
| QGalleryProperty::CanRead | 0x01 | The value of this property can be read. |
| QGalleryProperty::CanWrite | 0x02 | The value of this property can be written. |
| QGalleryProperty::CanSort | 0x04 | The value of this property can be used to sort items. |
| QGalleryProperty::CanFilter | 0x08 | The value of this property can be used in a filter. |
The Attributes type is a typedef for QFlags<Attribute>. It stores an OR combination of Attribute values.
Constructs a property from a string literal name.
Returns a sort key which indicating items should be sorted a property in ascending order.
Returns a sort key which indicating items should be sorted a property in descending order.
Returns the name of a property.
Returns the name of a property.
Returns a gallery filter which tests if a property is less than a value.
Returns a gallery filter which tests if a property is less than or equal to a value.
Returns a gallery filter which tests if a property is equal to a value.
Returns a gallery filter which tests if a property is greater than a value.
Returns a gallery filter which tests if a property is greater than or equal to a value.