QtMobility Reference Documentation

QGalleryIntersectionFilter Class Reference

The QGalleryIntersectionFilter class provides a filter which matches the intersection of two or more meta-data filters. More...

 #include <QGalleryIntersectionFilter>

This class was introduced in Qt Mobility 1.1.

Public Functions

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 )

Related Non-Members

QGalleryIntersectionFilter operator&& ( const QGalleryIntersectionFilter & filter1, const QGalleryIntersectionFilter & filter2 )

Detailed Description

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.

Member Function Documentation

QGalleryIntersectionFilter::QGalleryIntersectionFilter ()

Constructs an empty intersection.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter::QGalleryIntersectionFilter ( const QGalleryMetaDataFilter & filter )

Constructs an intersection filter from a meta-data filter.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter::QGalleryIntersectionFilter ( const QGalleryUnionFilter & filter )

Constructs an intersection filter from a union filter.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter::QGalleryIntersectionFilter ( const QGalleryIntersectionFilter & filter )

Constructs a copy of an intersection filter.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter::~QGalleryIntersectionFilter ()

Destroys an intersection filter.

void QGalleryIntersectionFilter::append ( const QGalleryMetaDataFilter & filter )

Appends a meta-data filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::append ( const QGalleryUnionFilter & filter )

Appens a union filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::append ( const QGalleryIntersectionFilter & filter )

Appends the contents of an intersection filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::clear ()

Clears all the filters from an intersection.

This function was introduced in Qt Mobility 1.1.

int QGalleryIntersectionFilter::filterCount () const

Returns the number of filters in an intersection.

This function was introduced in Qt Mobility 1.1.

QList<QGalleryFilter> QGalleryIntersectionFilter::filters () const

Return the filters contained in an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::insert ( int index, const QGalleryMetaDataFilter & filter )

Inserts a meta-data filter into an intersection at index.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::insert ( int index, const QGalleryUnionFilter & filter )

Inserts a union filter into an intersection at index.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::insert ( int index, const QGalleryIntersectionFilter & filter )

Inserts the contents of an intersection filter into an intersection at index.

This function was introduced in Qt Mobility 1.1.

bool QGalleryIntersectionFilter::isEmpty () const

Returns true if an intersection does not contain any filters, and returns false otherwise.

This function was introduced in Qt Mobility 1.1.

bool QGalleryIntersectionFilter::isValid () const

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.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::prepend ( const QGalleryMetaDataFilter & filter )

Prepends a meta-data filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::prepend ( const QGalleryUnionFilter & filter )

Prepends a union filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::prepend ( const QGalleryIntersectionFilter & filter )

Prepends the contents of an intersection filter to an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::remove ( int index )

Removes the filter at index from an intersection.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::replace ( int index, const QGalleryMetaDataFilter & filter )

Replaces the filter at index in an intersection with a meta-data filter.

This function was introduced in Qt Mobility 1.1.

void QGalleryIntersectionFilter::replace ( int index, const QGalleryUnionFilter & filter )

Replaces the filter at index in an intersection with a union filter.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter & QGalleryIntersectionFilter::operator<< ( const QGalleryIntersectionFilter & filter )

Appends a filter to an intersection.

This function was introduced in Qt Mobility 1.1.

QGalleryIntersectionFilter & QGalleryIntersectionFilter::operator= ( const QGalleryIntersectionFilter & filter )

Assigns the value of filter to another intersection filter.

This function was introduced in Qt Mobility 1.1.

Related Non-Members

QGalleryIntersectionFilter operator&& ( const QGalleryIntersectionFilter & filter1, const QGalleryIntersectionFilter & filter2 )

Returns a gallery filter matches the intersection of filter1 and filter2.

This function was introduced in Qt Mobility 1.1.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.