Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | List of all members
Tp::AndFilter< T > Class Template Reference

The AndFilter class provides a generic filter object to be used in conjunction of other filters. More...

#include <TelepathyQt/AndFilter>

Inherits Tp::Filter< T >.

Public Member Functions

virtual ~AndFilter ()
 
virtual bool isValid () const
 
virtual bool matches (const SharedPtr< T > &t) const
 
QList< SharedPtr< const Filter< T > > > filters () const
 
- Public Member Functions inherited from Tp::Filter< T >
virtual ~Filter ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

static SharedPtr< AndFilter< T > > create (const QList< SharedPtr< const Filter< T > > > &filters=QList< SharedPtr< const Filter< T > > >())
 

Additional Inherited Members

- Protected Member Functions inherited from Tp::Filter< T >
 Filter ()
 

Detailed Description

template<class T>
class Tp::AndFilter< T >

The AndFilter class provides a generic filter object to be used in conjunction of other filters.

The AndFilter will match if all of its given list of filters matches their criteria.

Constructor & Destructor Documentation

template<class T >
virtual Tp::AndFilter< T >::~AndFilter ( )
inlinevirtual

Member Function Documentation

template<class T >
static SharedPtr<AndFilter<T> > Tp::AndFilter< T >::create ( const QList< SharedPtr< const Filter< T > > > &  filters = QList<SharedPtr<const Filter<T> > >())
inlinestatic
template<class T >
virtual bool Tp::AndFilter< T >::isValid ( ) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
virtual bool Tp::AndFilter< T >::matches ( const SharedPtr< T > &  t) const
inlinevirtual

Reimplemented from Tp::Filter< T >.

template<class T >
QList<SharedPtr<const Filter<T> > > Tp::AndFilter< T >::filters ( ) const
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7