QtMobility Reference Documentation

QGalleryUnionFilter Class Reference

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

 #include <QGalleryUnionFilter>

This class was introduced in Qt Mobility 1.1.

Public Functions

QGalleryUnionFilter ()
QGalleryUnionFilter ( const QGalleryMetaDataFilter & filter )
QGalleryUnionFilter ( const QGalleryIntersectionFilter & filter )
QGalleryUnionFilter ( const QGalleryUnionFilter & filter )
~QGalleryUnionFilter ()
void append ( const QGalleryMetaDataFilter & filter )
void append ( const QGalleryIntersectionFilter & filter )
void append ( const QGalleryUnionFilter & filter )
void clear ()
int filterCount () const
QList<QGalleryFilter> filters () const
void insert ( int index, const QGalleryMetaDataFilter & filter )
void insert ( int index, const QGalleryIntersectionFilter & filter )
void insert ( int index, const QGalleryUnionFilter & filter )
bool isEmpty () const
bool isValid () const
void prepend ( const QGalleryMetaDataFilter & filter )
void prepend ( const QGalleryIntersectionFilter & filter )
void prepend ( const QGalleryUnionFilter & filter )
void remove ( int index )
void replace ( int index, const QGalleryMetaDataFilter & filter )
void replace ( int index, const QGalleryIntersectionFilter & filter )
QGalleryUnionFilter & operator<< ( const QGalleryUnionFilter & filter )
QGalleryUnionFilter & operator= ( const QGalleryUnionFilter & filter )

Related Non-Members

QGalleryUnionFilter operator|| ( const QGalleryUnionFilter & filter1, const QGalleryUnionFilter & filter2 )

Detailed Description

The QGalleryUnionFilter class provides a filter which matches the union of two or more meta-data filters.

A union filter represents the union of a list of gallery filters. Filters can be added to an union using either the append(), prepend(), or insert() functions, or using the << operator.

Union filters can also combining two gallery filters with the && operator.

See also QGalleryFilter and QGalleryMetaDataFilter.

Member Function Documentation

QGalleryUnionFilter::QGalleryUnionFilter ()

Constructs an empty union.

This function was introduced in Qt Mobility 1.1.

QGalleryUnionFilter::QGalleryUnionFilter ( const QGalleryMetaDataFilter & filter )

Constructs a union filter from a meta data filter.

This function was introduced in Qt Mobility 1.1.

QGalleryUnionFilter::QGalleryUnionFilter ( const QGalleryIntersectionFilter & filter )

Constructs a union filter from an intersection filter.

This function was introduced in Qt Mobility 1.1.

QGalleryUnionFilter::QGalleryUnionFilter ( const QGalleryUnionFilter & filter )

Constructs a copy of a union filter.

This function was introduced in Qt Mobility 1.1.

QGalleryUnionFilter::~QGalleryUnionFilter ()

Destroys a union filter.

void QGalleryUnionFilter::append ( const QGalleryMetaDataFilter & filter )

Appends a meta-data filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::append ( const QGalleryIntersectionFilter & filter )

Appends an intersection filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::append ( const QGalleryUnionFilter & filter )

Appends the contents of a union filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::clear ()

Clears all the filters from a union.

This function was introduced in Qt Mobility 1.1.

int QGalleryUnionFilter::filterCount () const

Returns the number of filters in a union.

This function was introduced in Qt Mobility 1.1.

QList<QGalleryFilter> QGalleryUnionFilter::filters () const

Returns the filters contained in a union.

This function was introduced in Qt Mobility 1.1.

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

Inserts a meta-data filter into a union at index.

This function was introduced in Qt Mobility 1.1.

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

Inserts an intersection filter into a union at index.

This function was introduced in Qt Mobility 1.1.

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

Inserts the contents of a union filter into a union at index.

This function was introduced in Qt Mobility 1.1.

bool QGalleryUnionFilter::isEmpty () const

Returns true if a union contains no filters, and false otherwise.

This function was introduced in Qt Mobility 1.1.

bool QGalleryUnionFilter::isValid () const

Returns true if the filter is a valid union filter.

An invalid filter can be obtained by casting a non QGalleryFilter::Union type QGalleryFilter to QGalleryUnionFilter.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::prepend ( const QGalleryMetaDataFilter & filter )

Prepends a meta-data filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::prepend ( const QGalleryIntersectionFilter & filter )

Prepends an intersection filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::prepend ( const QGalleryUnionFilter & filter )

Prepends the contents of a union filter to a union.

This function was introduced in Qt Mobility 1.1.

void QGalleryUnionFilter::remove ( int index )

Removes the filter at index from a union.

This function was introduced in Qt Mobility 1.1.

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

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

This function was introduced in Qt Mobility 1.1.

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

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

This function was introduced in Qt Mobility 1.1.

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

Appends a filter to a union.

This function was introduced in Qt Mobility 1.1.

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

Assigns the value of filter to another union filter.

This function was introduced in Qt Mobility 1.1.

Related Non-Members

QGalleryUnionFilter operator|| ( const QGalleryUnionFilter & filter1, const QGalleryUnionFilter & filter2 )

Returns a gallery filter which matches the union 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.