The QGalleryIntersectionFilter class provides a filter which matches the intersection of two or more meta-data filters. More...
#include <QGalleryIntersectionFilter>
QGalleryIntersectionFilter () | |
QGalleryIntersectionFilter ( const QGalleryMetaDataFilter & filter ) | |
QGalleryIntersectionFilter ( const QGalleryUnionFilter & filter ) | |
QGalleryIntersectionFilter ( const QGalleryIntersectionFilter & filter ) | |
~QGalleryIntersectionFilter () | |
void | append ( const QGalleryMetaDataFilter & filter ) |
void | append ( const QGalleryUnionFilter & filter ) |
void | append ( const QGalleryIntersectionFilter & filter ) |
void | clear () |
int | filterCount () const |
QList<QGalleryFilter> | filters () const |
void | insert ( int index, const QGalleryMetaDataFilter & filter ) |
void | insert ( int index, const QGalleryUnionFilter & filter ) |
void | insert ( int index, const QGalleryIntersectionFilter & filter ) |
bool | isEmpty () const |
bool | isValid () const |
void | prepend ( const QGalleryMetaDataFilter & filter ) |
void | prepend ( const QGalleryUnionFilter & filter ) |
void | prepend ( const QGalleryIntersectionFilter & filter ) |
void | remove ( int index ) |
void | replace ( int index, const QGalleryMetaDataFilter & filter ) |
void | replace ( int index, const QGalleryUnionFilter & filter ) |
QGalleryIntersectionFilter & | operator<< ( const QGalleryIntersectionFilter & filter ) |
QGalleryIntersectionFilter & | operator= ( const QGalleryIntersectionFilter & filter ) |
QGalleryIntersectionFilter | operator&& ( const QGalleryIntersectionFilter & filter1, const QGalleryIntersectionFilter & filter2 ) |
The QGalleryIntersectionFilter class provides a filter which matches the intersection of two or more meta-data filters.
An intersection filter represents the intersection of a list of gallery filters. Filters can be added to an intersection using either the append(), prepend(), or insert() functions, or using the << operator.
Intersection filters can also combining two gallery filters with the && operator.
See also QGalleryFilter and QGalleryMetaDataFilter.
Constructs an empty intersection.
Constructs an intersection filter from a meta-data filter.
Constructs an intersection filter from a union filter.
Constructs a copy of an intersection filter.
Destroys an intersection filter.
Appends a meta-data filter to an intersection.
Appens a union filter to an intersection.
Appends the contents of an intersection filter to an intersection.
Clears all the filters from an intersection.
Returns the number of filters in an intersection.
Return the filters contained in an intersection.
Inserts a meta-data filter into an intersection at index.
Inserts a union filter into an intersection at index.
Inserts the contents of an intersection filter into an intersection at index.
Returns true if an intersection does not contain any filters, and returns false otherwise.
Returns true if the filter is a valid intersection filter.
An invalid filter can be obtained by casting a non QGalleryFilter::Intersection type QGalleryFilter to QGalleryIntersectionFilter.
Prepends a meta-data filter to an intersection.
Prepends a union filter to an intersection.
Prepends the contents of an intersection filter to an intersection.
Removes the filter at index from an intersection.
Replaces the filter at index in an intersection with a meta-data filter.
Replaces the filter at index in an intersection with a union filter.
Appends a filter to an intersection.
Assigns the value of filter to another intersection filter.
Returns a gallery filter matches the intersection of filter1 and filter2.